How to skip delay?

Ranorex Spy, Recorder, and Studio.
AutomationTester
Posts: 30
Joined: Mon Jan 21, 2013 1:31 pm

How to skip delay?

Post by AutomationTester » Wed Jan 23, 2013 2:37 pm

Hai All,

I set a delay of 10 seconds for searching an element.Even after the element is visible, the delay is still going on for 10 seconds. How to skip the delay once after the element is visible? :?

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: How to skip delay?

Post by omayer » Wed Jan 23, 2013 3:54 pm

Code: Select all

      public void SelectPyType(string _pyType )
     {
         WebDocument web = "/dom[@caption='xx']";
         InputTag pyType = web.FindSingle(".//input[@name='txt1' ]",3000);
          pyType .Click();
       }
Tipu