How can i click on "OK" or "CANCEL" buttons on alert box sing ATF steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 07:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2020 08:36 PM
Hi Brahah,
Please check 3 things which might solve your issue:
1. If you can inspect it manually, you literally can use it in ATF.
2. Set time out for your test step
3. Last but not least, delete runner and test on a new runner
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Cuong Phan
DXC Consultant.
Cuong Phan
ServiceNow Technical Lead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2020 08:44 PM
Hi Bharath,
Since the confirm, prompt and alert boxes are javascript boxes; ATF won't recognize them as ATF test runner doesn't recognize those.
This has been confirmed with ServiceNow earlier by me and it is not supported.
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