Press the Skip button on the dialog box - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Press the Skip button on the dialog box (/Thread-Press-the-Skip-button-on-the-dialog-box) |
Press the Skip button on the dialog box - mv8167 - 12-03-2011 Here and there my code stops here. Not always, but even if the link is visible, it hangs. On line 211 see PDF Next page-> I get the message box: see PDF This message box only appears 50% of the time. Either, I need to find a way to fix the Click, or, how can I automate to press the Skip button on the dialog box? Any thoughts RE: Press the Skip button on the dialog box - supputuri - 12-04-2011 hi, I would rather think more about the objects uniqueness than clicking on the "Skip" button. If at all you want to use theoption of clicking on the skip button then here is an option. 1) Navigate to File --> Settings --> Run 2) Select "Proceed to next step" option for When error occurs during run session . 3) Click on Save. RE: Press the Skip button on the dialog box - mv8167 - 12-05-2011 Supputuri thx I too would rather think more about the objects uniqueness than clicking on the "Skip" button. But, everything I have tried does not work any better in finding the Go button. The previous If locates that the text button is found 100% of the time. But selecting causes 50% to fail. Thx for the idea. I had thought of this also but it severly slows down my script speed to all of the overhead in checking for such negative results. I will keep trying to figuire out a better method. thx RE: Press the Skip button on the dialog box - prasant - 12-06-2011 Can you please try with below code before line 210 - "On Error Resume Next" |