We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to create an ATF test step to Click 'ADD' button and then select fields from the pop up window?

sarathsr
Tera Contributor
 
1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@sarathsr 

this is a MRVS variable set on catalog form

You can use the OOTB "Add row to multi-row variable set (SP)" step

Once you add this step you can then specify which variable will have which value when ATF runs

AnkurBawiskar_0-1764575511162.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron

@sarathsr 

this is a MRVS variable set on catalog form

You can use the OOTB "Add row to multi-row variable set (SP)" step

Once you add this step you can then specify which variable will have which value when ATF runs

AnkurBawiskar_0-1764575511162.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@sarathsr 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar I am able to select the variables from the pop up now. But the selected values are not being added to the main page.

sarathsr_0-1765775469199.png

Can you pls help me on this?

 

@sarathsr 

seems some mandatory variable within MRVS is not populated and hence onSubmit is stopping from adding row

did you check that manually?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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