Verify values in a dropdown field using ATF

GRN
Kilo Contributor

Using ATF, I'm writing a test step where I should verify that a dropdown field (For eg; Category) has specified values present. Any suggestions on how I should do this?

4 REPLIES 4

Aman Singh_
Kilo Sage

Hi,

 

Refer to the Article: https://community.servicenow.com/community?id=community_blog&sys_id=c0a1cba3dbac9410190dfb243996199c

 

Please mark Correct/helpful if applicable, thanks!!

Aman

GRN
Kilo Contributor

Thanks for your response. You gave me more information than I actually needed!!

However, I have only one dropdown field named Category and I am trying to add a test step to verify its values. (When I went over the Parameterization example that you provided, I notice that it shows the dependency between Category and Sub-category field)

So, just for Category field alone, would I be able to write a single test step in which I could validate the field has the expected values in the dropdown?

This article has been archived. Can you help to answer this again