How do I set a variable value on the catalog task interface using ATF?

Ravish Shetty
Tera Guru

Hi all,

 

I am creating an end to end ATF test case where the user is submitting a laptop request, the request gets approved and fulfilled.

We have a test step in the middle of the fulfillment process where the fulfillment team enters the serial number of the laptop in the variable editor field of the Catalog task. I am looking for help on automating this step. 

Somehow, the Custom UI step is not able to pull all the elements of this page.

 

find_real_file.png

 

Thanks,

Ravish

12 REPLIES 12

Thanks, I think this could be an underlying design issue where the fulfillment team uses these variables to update some details after the ticket gets created. I am not sure if ServiceNow wants someone to edit the variables in such fashion. For now, i am using the run server script as a workaround to update these variables.

@Ravish Shetty 

As per my previous screenshots I was able to update the Variable Value on SC Task from the variable editor.

Can you share your test step

Regards
Ankur

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

@Ravish Shetty 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

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

@Ravish Shetty 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

 

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

@Ravish Shetty 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

 

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