"Go to Portal" button in ATF - 2nd try.

OMT
Tera Expert

Hi, 

i'm posting this question again, because i'm still not able to test this, and it would be great if it is possible. 


does anyone know, if it is possible to test the "Go to Portal" button in ATF. 
What i need is to write Test where i will impersonate itil user and then i need to click this button and check if Portal Page is opened


6 REPLIES 6

@OMT 

unless you add steps to visit that homepage you cannot add the Custom UI step

please share the steps you added so far

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

It is clear for me, that it is not possible to check if something is on homepage unless i add steps to visit hp, but my problem is that i cannot open home page. Open a new form, or open an existing form helps not. Currently i tried with server side script : 
First impersonate user, than server side script:
''
(function(outputs, steps, params, stepResult, assertEqual) {
// add test script here
var url = 'https://xyz.service-now.com/nav_to.do?uri=%2Fhome.do%3F';

//action.setRedirect(url);
gs.setRedirect(url);
''

and then open an existing record, and it helps not too.