Micro Focus QTP (UFT) Forums

Full Version: Press the Skip button on the dialog box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
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
Can you please try with below code before line 210 -

"On Error Resume Next"