ATF to test catalog item with dynamically populated drop down list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2019 07:47 AM
I'm trying to create an ATF to validate a catalog item with a dynamically populated drop down (B) which is populated when the user selects a value from another drop down (A) on the form. The "Set Variable Values" step does not appear to allow anything like this.
1. User selects choice list value from Drop down (A)
2. onChange (A) Client script fires and calls AJAX script include that retrieves values from a table and client script dynamically populates Drop Down (B).
Is there a way to create an ATF to test this form? I can easily set the value for drop down (A), but since there is no fixed choice list for drop down (B) I don't have the ability to set (B). Is there a way to add javascript to the ATF set variable field for (B) to call my script include manually in the test step (javascript: new ...)
Thanks.
- Labels:
-
Automated Test Framework
- 1,484 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 12:40 AM
I have the same issue.
Did you solve it ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 04:48 AM
No, I did not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 10:41 AM
Hi,
please have a look on below blog; it might help
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
03-15-2022 02:41 PM
I've same problem.
Did you solve this issue ?