How to automate Browser Pop Up
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to automate Browser Pop Up
How can we automate browser pop up displayed like:
I can create object of this pop up but can't create it for the Remember checkbox and Allow/Block button. So, how can i automate it??
- Labels:
-
Script Tests
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What browser are you using?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This one is Firefox
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you executed all these setup instructions?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @dikshika114 -
Often times in situations like this I use the keyboard - typically sending keys to the pop up might allow for you to navigate to the checkbox (using arrows) then hit the enter key to check the box.
Another option would be to use the OCR feature in TestComplete to recognize the text: https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/ocr/about.html
Let me know if you have questions.
Emma
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check handle JavaScript Popups. May it can help.
PS: Do the precondition first as Marsha_R said.
Handle JavaScript Popups and Browser Dialogs | TestComplete Documentation (smartbear.com)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks everyone, great job here!
Hi @dikshika114, please let the Community know if the suggestions helped and mark the best reply as a Solution!
Sonya Mihaljova
Community and Education Specialist
