Unable to set values through ATF test step.

Vikas5
Kilo Explorer

We have three different choice fields in our Incident form and only when we select one value in field no. 1 then only it shows some corresponding choice values in fields no. 2 and when we select one value in field no. 2 then only it shows some choice values in field no. 3. 

All these 3 fields choice values are managed through Client script, this is the reason when i am trying to set field no. 1 2 and 3 through ATF test steps it just shows me there one value which is "NONE". hence unable to set fields value. 

 

Please suggest way to resolve this .

1 REPLY 1

Daniel Draes
ServiceNow Employee
ServiceNow Employee

Did you try to set field by field in extra steps in your test? This should allow the related fields to load their choices. You might need to add an artificial wait/sleep inbetween.