Page 1 of 1

Access timeout factor

Posted: Mon Sep 03, 2012 6:36 am
by Christoph
Hi,

Is is possible to access the "factor that all timeouts of find operations are multiplied with" by code? (see screenshot) (I'm sure it is possible, I just don't know where to find it). I do not want to change that value, I just want to know that value.

What I'd like to achieve is this: I'm writing a function that performs some actions where it has to wait. I'd like to supply a timeout value how long the function is "willing" to wait before it returns a "failure". Now I thought I would multiply the supplied timeout value with the "factor that all timeouts of find operations are multiplied with" so that the timeout would also increase if I increase that settings.

Thanks for any help.

Christoph

Re: Access timeout factor

Posted: Mon Sep 03, 2012 7:30 am
by artur_gadomski
As far as I know it's SpeedFactor in Delay class:
http://www.ranorex.com/Documentation/Ra ... _Delay.htm

Re: Access timeout factor

Posted: Mon Sep 03, 2012 7:57 am
by Support Team
Hello Christoph,

You can access the setting "factor that all timeouts of find operations are multiplied with" within the code using the following line:
Ranorex.Core.Configuration.Current.Adapter.TimeoutFactor
Regards,
Bernhard
Ranorex Support Team