Need help in ATF

kkesavan
Tera Contributor

Hello guys,

 

I have a label called "Gender" with 2 dropdowns, "Male" & "Female". Now I have multiple dropdown combos for the different fields, If I select Male, a set of fields will be displayed and If I Select Female, a set of fields will be displayed.

 

Can I achieve this in one single test? I wanted to create test steps for this; please help me out how can I achieve this in #ATF #servicenow

 

5 REPLIES 5

Dr Atul - LNG
Tera Patron

No mate, need to write in different test cases

Oh... I saw somewhere we can achieve this by using Parameterized testing🤔 not sure

 

Thanks

@Shaqeel any help here

HI @kkesavan 

 

It can be easily achieved using Parameterized testing.

You can refer any YouTube tutorials for this, there are many.