Jump to content
UBot Underground

IF popup THEN pause ?


Recommended Posts

Hello all,

 

Do you know of a way to "catch" a popup event ?

 

My script is running accross multiple websites and sometimes there is a popup showing up because the description was too short, or the name was too short, whatsoever <_< .

 

Is there a way to create an IF (popup event occurs) THEN pause ?

 

Cheers,

Link to post
Share on other sites

Your bot is continuing with a live popup?

 

Hi JohnB,

 

Sorry I wasn't clear enough :) :

- No my Bot stops when the popup is there

- But if I click the Popup button "OK" then it will continue the script

 

What I need is :

- The popup from the website comes

- I click the button of the popup (Or I do it with Ubot but I don't know how since this popup will rarely comes, probably 10% of the time)

- Ubot pauses so I can change the form according to what the popup said (description too short, whatsoever)

 

So actually I would like Ubot to "know" that there has been a popup to change the workflow in this case.

 

Hope it's clear now !

 

Cheers,

Link to post
Share on other sites
  • 2 weeks later...

Hi Guys,

 

Sorry to update this thread but I really need a solution and couldn't find any.

 

The problem is with the following workflow :

- The bot fill a form

- The bot click a "Submit" button

- The website opens a popup displaying an error message

- The bot stops due to the popup

- But if I click on the "OK" button of the popup the bot will continue (and I can't fix what the popup mentions as "invalid" data entry)

 

So what I need is a way to monitor, during the bot execution, if a popup appears / is clicked by me, and in this case add a "pause" so I can make the change.

 

Any idea how I could do this ? Any way to "detect" something pops up ?

 

Thanx a lot, :rolleyes:

 

Cheers,

Link to post
Share on other sites

I am not sure if this would work, but it may be worth a try. At the point where the popup occurs throw in:

 

If--->Click Dialog Button

 

Then--->Pause Script

 

You would be telling the bot to close the dialog AND pause after doing so...The drawback is you won't have any time to read the popup.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...