Failure in setting MRVS variable values in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 06:17 PM
Hi
I'm preparing an ATF test for one of our catalogue items which has the mandatory MRVS. In the test, I added these three steps: -
- Add row to multi-row variable set (SP)
- Set Variable Values (SP)
- Save current row of multi-row variable set (SP)
But it is failed to set one of the variable values. The failure message is 'FAILURE: Unable to set field 'Country' to value 'Thailand'. Value 'Thailand' is not currently a valid choice.' That particular variable 'Country' is a look-up select box referenced to the Country table. The other two variables in that MRVS are the date fields.
Could any of you assist me in resolving this?
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 08:26 PM
are you setting the county name or reference of that country record from country table. try with reference.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 08:52 PM
Hi @AshishKM
The 'core_country' table is used as the lookup from table in that MRVS. Are you suggesting to change the variable type from the lookup select box to the reference in the catalogue item?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 09:27 PM
yes , u can try with reference type.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 08:26 PM
Hi @Mi Mi
Country is a reference field in your MRVS so it should be expecting a sys_id of the country record from core_country table. Can you please give the sys_id of the country "Thailand" and retry setting the variable value ?
You can find the sys_id of the country "Thailand" by navigating to "core_country" table, searching for Thailand and copying the sys_id by right clicking on Thailand record and selecting copy sys_id.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 08:49 PM
Hi @Amit Verma
Thank you for your reply.
The 'core_country' table is used as the lookup from table in that MRVS. How can I add the country sys_id in the test step?