ATF Test - cheking if an item is not show on a portal page

raguna
Tera Contributor

I'm working with ATF tests on portal and I'm trying to find a way to check if an item on a service portal page is possible to check that it's not on the page because I want to assert that the user that is impersonated cannot view this item.

 

is there any way to achieve it in that way?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@raguna 

this doesn't sound like a valid ATF scenario.

But to verify you can visit to portal page with that user and try to use Assert Text on Page (Custom UI)

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@raguna 

this doesn't sound like a valid ATF scenario.

But to verify you can visit to portal page with that user and try to use Assert Text on Page (Custom UI)

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader