Question

How to handle popup box in a web page

  • 21 June 2023
  • 1 reply
  • 393 views

Badge +1

Hi Sir/Madam,

Very Good Day to you.

Could you please help me.

1.I have a customized  web page

2.I need to search something in the textbox of that page.

3.If search result found, then my BOT can perform next task, but when search result NOT FOUND, then the webpage shows a popup that "no record found" with OK button.

 

But my the capture action can not capture the object "OK" button of that POPUP box, So BOT can not click on OK button.

Could you please guide, how to handle the POPUP message ? (can it be done by exception handling ?)


1 reply

Userlevel 5
Badge +9

@bubunyellow 

Try to use Active Window action to perform a click on pop-up message.

Regards

Reply