ATF test to validate the values of a drop-down field

Walid_
Tera Contributor

Hello all,

I am trying to write ATF test steps and I have a requirement to test the values of a field on a Form. This field is a drop-down list.

What I would like to do is validate which options are available in this drop-down (check what the list contains) as part of an automated test.

Is there a way in ATF to verify the list of values for a drop-down field against an expected set of values or a condition?

If anyone has some ideas or has done something similar before, I’d really appreciate your help.

Thanks in advance.

3 REPLIES 3

Shaqeel
Mega Sage

Hi @Walid_ 

 

You could only validate the values in that field using Field Value validation.

There is no other way to validate the others without setting the value.


***********************************************************************************************************************
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

Walid_
Tera Contributor

Thank  @Shaqeel , appreciate the clarification!

Walid_
Tera Contributor

Thanks @Shaqeel , appreciate the clarification!