Validation of the duration of a search

Ask general questions here.
dkohlenberg
Posts: 3
Joined: Tue Mar 19, 2013 10:11 am

Validation of the duration of a search

Post by dkohlenberg » Wed Apr 09, 2014 8:39 pm

Hello,

how can i validate the duration of a search. For Example: Search of Customers in an Database. If the Search needs longer then 5sec, then Valitation ist false.

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: Validation of the duration of a search

Post by mzperix » Thu Apr 10, 2014 5:00 pm

Hi dkohlenberg,

Do you have some kind of element on page that shows the system is searching?

If yes, then you can just put a Wait For Not Exists action into the recording with 5s Timeout.

If no, then look what element is appearing always after a search, and put a Wait For Exists action on it with 5s timeout.

See attached screenshot.

Hope this helps,
Zoltán
You do not have the required permissions to view the files attached to this post.