Search timeout

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 27
Joined: Mon Jan 13, 2014 3:45 pm

Search timeout

Post by rholdberh » Thu May 22, 2014 10:21 am

i am tryint to specify search timeout fot the element not to exist:

Code: Select all

            Duration duration = new Duration(100);
            repo.IDM.NewDocumentTab.RifghtContainer.VersionsTab.VersionRowInfo.SearchTimeout = duration;
                todo bla bla bla
So logically Ranorex should look fot the lement fot 100 ms, but it still looking defaultly for 2,2 minutes. Can someone help me with this?

Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Search timeout

Post by krstcs » Fri May 23, 2014 1:42 pm

You must remember that the search timeout that Ranorex will use is the ADDITIVE value of ALL objects in the path. So in your case Ranorex will take the timeouts for all four of the parent objects in your object group: IDM, NewDocumentTab, RightContainer and VersionsTab.

In order to change the whole duration of the search, you will need to change each object's search timeout.

Shortcuts usually aren't...