Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Press the Skip button on the dialog box
#1
Not Solved
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


Attached Files
.pdf   Press the Skip button on the dialog box.pdf (Size: 129.42 KB / Downloads: 159)
Reply
#2
Not Solved
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.
Thanks,
SUpputuri
Reply
#3
Not Solved
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
Reply
#4
Not Solved
Can you please try with below code before line 210 -

"On Error Resume Next"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,522 09-16-2018, 03:48 PM
Last Post: vijilesh
  Automating save dialog box in windows using UFT shipu 0 4,788 01-16-2015, 07:54 PM
Last Post: shipu
  How to skip a For count? mv8167 2 2,511 10-23-2013, 07:06 PM
Last Post: mv8167
  QTP not clicking on Yes button in the IE pop up dialog adityasrinivasb 2 9,636 09-29-2013, 11:01 PM
Last Post: prashantrawat101@gmail.com
  QTP 11 - Chrome 24. Dialog box is identifying as Win object. Kannan R 0 3,096 08-13-2013, 08:10 PM
Last Post: Kannan R

Forum Jump:


Users browsing this thread: 2 Guest(s)