Unable to insert values into multi row variable set in ATF

SangyM
Tera Contributor

Hi Guys,

 

So, here i am trying to place RMA Order. So, we have a multi-row variable set.

While using set variable field(SP), unable to insert any values. It is showing the following error instead.

SangyM_0-1753179256574.png

 

SangyM_1-1753179256839.png

 

 

 

SangyM_2-1753179256834.png

 

 

But, in the test runner I can see my asset is present (ASUS Automation RMA Asset)

SangyM_3-1753179256582.png

Tried the component UI steps, but since it is showing a pop-up so its not able to scrap the fields through ATF. Any solutions please? (FYI : Quantity field is not editable, can't be set as its default)

4 REPLIES 4

Brian Lancaster
Tera Sage

Your screenshots are not showing. Did you add a test step called "Add row to multi-row variable set (SP)" before you tried to use the "Set Variable Values(SP)"?

I did some testing in my PDI so it looks like you have to add a row then save it then add another row and save it. Example below using the Corporate Mobile Devices - Bulk Orders catalog item that is available in the PDI.

 

BrianLancaster_0-1753294286120.png

 

Hey Brian,

I have tried to add row to multi-row variable set(SP) step but as soon as I add that it hit with the below error :

This step failed because the client error 'sc_cart_item: Insertion/Updation was aborted:Validation failed for variable Quantity: Enter a non-zero number for quantity: no thrown error' was detected on the page being tested

 

Even before setting any variable values. Keeping in mind that for this my catalog Item is Asset RMA Order and variable set as RMA Assets

Can you provide a screenshot of the test steps as you have the configured?

Still not working. It is giving error in adding multi row variable step itself.

For better screenshots please refer to this

https://www.servicenow.com/community/sysadmin-forum/unable-to-insert-values-into-multi-row-variable-...