How can I create an ATF test step for a field that has a dependency (i.e., another field).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2018 01:04 PM
When creating a manual test step for a Service Catalog item (Create a New Incident), the records of a reference field on the form depend upon the selected value of a drop down on the same form. In ATF this cannot be performed when filling out variable values for a record producer. When attempting to create the step for ATF, no records are displayed in the pop-up window list and any manual entry is an Invalid Input considering the window has no records.
Side note: ATF steps using a reference field are able to be created successfully when there isn't a dependency.
Is there a work around to this issue?
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2020 07:46 AM
Hi Carolien,
I'm not certain what you mean when you say that the Variables Choice List doesn't appear.
If you mean that this field doesn't appear in your Test Run Data Set:
Then in the variable definition, you need to set the choice type to Dropdown with -None-
If the choice field doesn't appear on the variable definition, then you need to update the layout for the variable defintion.
If the issue is that the choice list is empty as in the first image above, then you need to add the choice options.
- Open a Test Run Data Set that has the variable, right click the variable and click Configure Choices.
The Configure Parameter Choices dialog appears. - Use the Enter new item field to add choices to the list.
- When you've add all your choices, click Save.
I know that I probably went into more detail than necessary. I hope this helped.
If it didn't, please add a screen shot of the layout that is missing the Choice List.
Also, let me know if you have other questions.
Thanks,
Cody
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2020 01:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 02:21 AM
This can be done by making in 2 steps of set field values. Suppose abc & def fields are dependant. set abc field value in first step and set def field value in next step. it will work absolutely.