Page 1 of 1

How to skip delay?

Posted: Wed Jan 23, 2013 2:37 pm
by AutomationTester
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? :?

Re: How to skip delay?

Posted: Wed Jan 23, 2013 3:54 pm
by omayer

Code: Select all

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