Set Variable Values (SP) is not setting the value on the form

SuchiP
Tera Expert

I am having an order guide.

I am setting a field value with the 'Set Variable Values (SP) ' step. The field is a dropdown list.

While running the test, it successfully sets the value, i.e., the step executed successfully, but it's not in the field while checking in the Client Test Runner.

 

I want to set the value with Set Component Values (Custom UI) step,, but the field is not getting retrieved with Custom UI.

Field type- Custom component <select2>(Showing in manual page inspector)

 

7 REPLIES 7

@SuchiP 

then are you sure the 2nd variable loads all the options by the time the step runs?

try to give some extra timeout for that Set Variable Values (SP) step

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

In the steps where I am setting the variable value, it is successful.

I have already given extra timeout.

I am keeping the Client Test Runner open to verify the field value. However, I can see that the dropdown is not being selected. Since this field is mandatory, I am unable to submit the order guide.

22:00:08
Set Variable Values (SP)
 
Success
Successfully set field '

 

@SuchiP 

Sorry but you will have to investigate and debug further

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