- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 11:33 PM
Hi,
when i click on UI action it will displays one Prompt box for user input, Now how can i pass value into Prompt box In ATF.
Any suggestions recommended .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2020 04:19 AM
Javascript prompt boxes, alert and confirm box cannot be tested via ATF
Regards
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
12-17-2019 06:48 PM
Hi,
Nope. It seems this cannot be tested since the javascript popups are browser specific an ServiceNow client test runner won't be able to detect this
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-26-2020 01:54 AM
Hi,
I am also facing the same issue. Any update on this in Orlando version?
If yes, please share the details.
Thanks and regards,
Neha Deshpande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 11:46 AM
The only way I have been able to work around this is to build in atf into the design of the catalog item or code. This way you can use a test step to set a hidden value and bypass the thing that is blocking you.
For example we have a variable set called "ATF Bypass" that we add to our catalog items when we want atf to bypass prompts. We then update any client scripts to check for the atf_bypass variable. Finally make sure atf has a step to set the atf_bypass flag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 10:12 PM
it would be nice if you share the steps so that it benefits members
Regards
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
12-29-2020 04:19 AM
Javascript prompt boxes, alert and confirm box cannot be tested via ATF
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader