ATF testing for dependent drop down values
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2023 11:59 AM
In a form, I have input fields and 2 drop down fields(let's say name and subname)
1)name has 3 drop down values (a,b,c);
2)subname has 1 drop down value(x)
if any of the choices (a or b or c ) is selected from name field,then x has to be set in the subname field
Please suggest a way to do in ATF ?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2023 12:20 AM
HI @admin11345_
If you need to validate, you can use Field value Validation step.
First set Name as a, and add field value validation step to check Subname is x.
You can do this for other values too.
If the drop down is too many, you can use parameterized testing.
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel