Popups

HI,
I am doing a web scrapping.
I need to fill 10 fields and click on Save button.
Based on the values entered, if there is any issue, based on the type of issue, 5 variants of message box/popups will be shown.
As of now, I have ElementExists activity for each type of message. This will hit the performance.
I need to capture the message box and write to the log file.
Is there any thing can be done, just to check any Popup has come and if it is yes, read the text of it(rather than working with 5 element exists activities)??

Regards,
Viswanath

@Viswanath_Vankadari
1)Check a common selector available for all the Message box/popups
2) Then Use the element exist activity with the above selector in the while/Dowhile loop along with a condition/Incremental so that it doesn’t go to infinite loop
3) Also capture the content in the message box using “Get Full Text” activity with common selector for all message box content and write that value to the log

Let me know if this helps

1 Like

Thanks elina…it works.

Regards,
Viswanath

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.