find operations timeout multiple factor
Posted: Thu Jul 10, 2014 3:07 pm
Hello!
Ranorex 5.0.3
Win7 64Bit
I have problem with "Global settings" option - "The factor that all timeouts of find operations are multipled with". Actually, i don't understand how it works, because when i set it to "2,00", this code just don't work:
And the most interesting thing is that when i set "The factor that all timeouts of find operations are multipled with" back to 1,00 - everything works just fine.
I have 2 questions:
1. How the "The factor that all timeouts of find operations are multipled with" setting works for waitforexists method? What timeout "WaitForNotExists(1000)" will use, if i set this setting to "2,00"?
2. Whats wrong with my code, why the "The factor that all timeouts of find operations are multipled with" setting stucks my test execution?
Ranorex 5.0.3
Win7 64Bit
I have problem with "Global settings" option - "The factor that all timeouts of find operations are multipled with". Actually, i don't understand how it works, because when i set it to "2,00", this code just don't work:
try { repo.Explorer.ServerInfo.WaitForNotExists(1000); repo.Messages.SimpleError.SelfInfo.WaitForExists(10000); WarnIgnore(); } catch (Exception) {}the test execution stuck on WaitForNotExists(1000) code, even after 1000ms timeout is over, it looks like ranorex still tries to wait-for-not-exist the "ServerInfo" item.
And the most interesting thing is that when i set "The factor that all timeouts of find operations are multipled with" back to 1,00 - everything works just fine.
I have 2 questions:
1. How the "The factor that all timeouts of find operations are multipled with" setting works for waitforexists method? What timeout "WaitForNotExists(1000)" will use, if i set this setting to "2,00"?
2. Whats wrong with my code, why the "The factor that all timeouts of find operations are multipled with" setting stucks my test execution?