Validating Dropdown fields on any forms in ATF?

Steve7
Mega Contributor

Hi,

On any form ATF test, is there a test step to validate two or more fields values for dropdown fields?

I'm aware we could choose the test "Form>Field Values Validation" or "Server>Record Validation" but this only confirms values on a specific form, unlike my target of all field values on a dropdown field. 

Eg. "Urgency" on the Incident form has values "1 - High", "2 - Medium" and "3 - Low". I am looking for a test that confirms all three values show up in the Urgency field (outside of making 3 separate forms)

Thanks,

1 ACCEPTED SOLUTION

Masha
Kilo Guru

If I understand your question correctly, you should be able to set the values of the dropdown and validate the values one by one on the same form to ensure that they 'show up'. Or use a parameterized data set in a parameterized test (which introduces its own limitations to the test as a whole).

 

View solution in original post

2 REPLIES 2

Masha
Kilo Guru

If I understand your question correctly, you should be able to set the values of the dropdown and validate the values one by one on the same form to ensure that they 'show up'. Or use a parameterized data set in a parameterized test (which introduces its own limitations to the test as a whole).

 

Steve7
Mega Contributor

This is the best approach because if the value isn't valid, then the test should fail, hence what we would like to test in ATF. Thank you.