How do I change the timeout for a NotExists validation? : Automation Tools

How do I change the timeout for a NotExists validation?

Ranorex Spy, Recorder, and Studio.

How do I change the timeout for a NotExists validation?

Postby JoshuaPereyda » Wed Mar 23, 2011 2:26 am

One action I confirm is that Internet Explorer closes on clicking a certain button.

My Validate event has Action="NotExists" and targets my WebDocument object. The Path for that object is "/dom[@domain='myUrl.example']".

The validation works, but takes 20 seconds or something to finish. It would be preferable if I could change the timeout to 5 seconds or something. Does anybody know how to do this?
JoshuaPereyda
 
Posts: 7
Joined: Wed Mar 23, 2011 2:20 am

Re: How do I change the timeout for a NotExists validation?

Postby Support Team » Wed Mar 23, 2011 11:23 am

Hi,

if you make a validation on an Adapter you have to set the Seach Tiemout of this Adapter.
So, in your case, you have to set the Search Timeout of your WebDocument in your Repository.
That means on the other side if you are searching in this WebDocument it might come to problems, cause of this short Search Timeout.
So if you are searching on this Adapter und additionally want to validate it the best approach is to hold to seperate WebDocument items in you Repository, one for validating (shorter Search Timeout) and the other for searching (longer Search Timeout).

Regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4844
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: How do I change the timeout for a NotExists validation?

Postby JoshuaPereyda » Wed Mar 23, 2011 4:35 pm

Cool, that worked very well! Thank you! I also learned how to make a new Adapter.
JoshuaPereyda
 
Posts: 7
Joined: Wed Mar 23, 2011 2:20 am


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests