How to check field state validation in ATF testing?

bumineela balan
Tera Contributor

In ATF testing, We need to test for one catalog item and the requirement is like ., There is one field called "group" and the another field called "market" .The "market" field should be visible only when we select for a a specific group in group field.Otherwise the "market" field should not be visible.

How to achieve this step test  in atf testing.

Thanks in advance!

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you cannot achieve this kind of dependency directly.

you will have to create 1 test for the scenario i.e. you set a particular group in group variable and then in next step you validate if the other variable is visible or not.

Then you will have to create 1 other test for the other scenarios as well.

Regards
Ankur

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

@bumineela balan 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

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

SumanthDosapati
Mega Sage
Mega Sage