The CreatorCon Call for Content is officially open! Get started here.

ATF testing for dependent drop down values

admin11345_
Tera Contributor

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

Shaqeel
Mega Sage
Mega Sage

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