- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 12:33 PM
I wrote a ATF for the test steps to check the impersonate User won't able to see the record in ServiceNow. I followed the steps 1. Impersonate 2. Open an Existing record. When I run the test the user can't able to see the record because of the ACL but I want the ATF to pass as a result which is currently not happening. is there a way I can modify the test steps for my requirement?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 03:30 AM
Hi @Kri
Oh man,
You need to open the case list table before validation.
you can use Navigate to module.
and then validate the record.
Regards
Shaqee
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 12:22 AM
Hi @Kri
You want to validate that the impersonator is not able to view certain record, it is working as expected as the record is not present for that impersonated used.
You can do thing though.
1. Impersonate.
2. Navigate to module (for the list view)
3. Validate record present in the list
and change to assert type to record in not present.
This way you will get the test to pass.
*************************************************************************************************************
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
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 02:00 AM
I'm getting a error output FAILURE: The 'Case' list could not be found on the currently open page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 02:17 AM
Hi @Kri
Kindly share the screenshot of the step.
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 02:46 AM - edited ‎10-21-2024 03:12 AM