Visibility of Service Offering in Service Portal with ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi,
in Service Portal, I want to test with ATF whether the Service Offering is visible to subscribed users or not.
First, I want to test with a subscribed user to confirm that they can see it, and then test with another user to verify that they cannot.
The problem is that I can't verify that a user who is not subscribed cannot see the Service Offering.
Does anyone have an idea how I could achieve this?
I've tried various approaches, like using the Click Component and then asserting that the text is not on the page, but it doesn’t find the component to click on to be able to open the Service Offering list with the availiable SOs in the portal page Create Ticket.
My last idea was to write a test using a user who shouldn’t be able to see it, and then try setting variable values (SP), so the test would fail if they can’t see it — but I would prefer a better solution that allows me to also test subscriptions by department, group, and to create negative checks.
Does anyone have any ideas on how to achieve this? Is it also possible to mark test as "passed" even if it is not to be able to do the other steps in the test?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
not possible to test reference qualifier using ATF.
check this link and it requires login to now support portal
KB0726342 "Set Field Values" in ATF and reference qualifiers are not supported
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Not able to open this link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@OMT - You can check field visibility via Test Step - 'Variable State Validation (SP)'. Please check below screenshot for reference. You can add which fields should be visible in Visible field