ATF test for to validate reference table of a variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 02:03 AM
Hi Team,
We need to write a test case for validate variable's reference table. We have a reference field named as field1 reference to particular table, later we changed the reference table to another table. We need to validate this with ATF test case. What step Do I need to use here to test reference table for a variable. Kindly, help on this to achieve.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 03:40 AM
you cannot test this using ATF.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 12:51 AM
Hi @abed123
You can try with only one way:
You can set the field with the record of current table, and if the step pass that will imply that the field is using correct reference table.
Regrds
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel