ATF to test catalog item with dynamically populated drop down list

bjonesy
Tera Contributor

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.

6 REPLIES 6

Yael2
Tera Contributor

I have the same issue.

Did you solve it ?

Thanks

bjonesy
Tera Contributor

No, I did not.

Hi,

please have a look on below blog; it might help

ATF Parameterized Tests

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I've same problem.

Did you solve this issue ?