Which step of ATF can be used to validate the field values of the service portal screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 06:45 PM
hello everone!
Which step of ATF can be used to validate the field values of the service portal screen?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 07:01 PM
Hi @zx ,
If you want to validate a particular field value visibility on portal or any custom screen you can go with Assert Text on Page (Custom UI)
You can statically provide a value & this step will check whether the value provided is visible on the screen or not.
Additional documentation & steps on How to use Assert Text on Page (Custom UI)
- If a timeout is specified, the Client Test Runner will check for the presence or absence of the text every second until the timeout has been reached.
- In order to use this step you must have already opened a custom UI page. This step can be used in any order with the "Set Component Values" and "Component Value Validation" steps.
- To assert the value of inputs, use the "Component Value Validation" step.
Please mark it as "Accept as Solution" and "Helpful". if this solution helped you.
If not, please let me know what was the issue that you're facing so that I can provide you with a solution for it.
Thanks & Regards,
Madhan Somesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 07:15 PM
Hello @zx ,
Also please consider that for the Assert Text on Page (Custom UI) to work your previous step must be Open Service Portal Page from where you need to define the portal,page & query parameters as below
This will fulfill your requirement & I hope it helped you.
Please mark it as "Accept as Solution" and "Helpful". if this solution helped you.
Thanks & Regards,
Madhan Somesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 07:09 PM
Hi @zx ,
Please let me know if this worked for you or do let me know the issue you're facing so that I can help you with it.
Please mark my reply as "Accept as Solution" & "Helpful" if this helped you.
Thanks & Regards,
Madhan Somesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 08:10 PM
Please share some screenshots of the form which needs to be tested
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader