Page 1 of 1

Throw exception time [Customer ID: RX714188 INNOVID]

Posted: Thu Aug 22, 2013 6:02 pm
by amirb
Hello,

I'm encountering a scenario when i using the Exist() method to check if a certain repository item exist.
The expected is being thrown only after 1 minute.
Is it possible to change the throw exception time to be lower (like 20 seconds) using some Ranorex IDE configuration or code? and if so can you please provide an example?

Best Regards
Amir Buchvalter
Innovid.com

Re: Throw exception time [Customer ID: RX714188 INNOVID]

Posted: Thu Aug 22, 2013 9:07 pm
by kmck
Hello Amirb,

The Exists method takes the path and search timeout. There are a few other options in the API that allow for exception to throw on fail, Booleans, etc. I've noticed that I've also had to lower the repository item's search timeout in order to get the exist method search timeout to run faster.

Exists Method(path, searchTimeout) - http://www.ranorex.com/Documentation/Ra ... sts_14.htm