- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 08:18 AM
Colleagues, I wish you and your families well in this time of global crisis, and I choose to stay at home to protect our parents and grandparents.
Today's challenge might be simple for some of you but not for me. I am creating the automated test framework (ATF) test steps for one of my applications, I have a form that pops up a form for a related table, and a UI Policy that alerts the user if he/she does not set a field value above a certain number.
I want to trigger the alert and then click the alert OK button to return to the popup form and continue setting field values, but I do not know how to activate the alert's OK button within ATF, I apologize for my ignorance and continue my research. I will post the answer here if I find it before someone else posts the correct answer. Thank you in advance!
Kind Regards,
Woody
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 08:21 AM
Hi,
Unfortunately ServiceNow's ATF framework cannot detect browser pop-ups such as alert, confirm, prompt etc
I had confirmed this couple of months back with ServiceNow and it is not possible.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 08:21 AM
Hi,
Unfortunately ServiceNow's ATF framework cannot detect browser pop-ups such as alert, confirm, prompt etc
I had confirmed this couple of months back with ServiceNow and it is not possible.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 09:06 AM
Thank you Ankur, I wish you well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 05:22 AM
You can use GlideModal or GlideModalForm.
KB0786683 and KB0784468
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 05:36 AM
We have an existing article that might help you, in case you are not aware. You can find it here!KB0786683