We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

run server side script to open the URL in ATF test runner

admin11345_
Tera Contributor

Hi @Ankur Bawiskar ,

 

I have to write a run server side script in ATF.

step 1)record query
step 2)open an existing record
step 3) run server side script where I need to take the sys_id which I got through step 2 and embed the sys id with URL and open that URL. so that the screen gets captured in ATF test runner.
for eg:) url = 'htps://www.abcdef.com/hcgab/sys_id=';
sys_id which got through step 2 is '123456'

the final URL should be htps://www.abcdef.com/hcgab/sys_id=123456 and page should be captured in test runner

How to write the server side script for it ?

0 REPLIES 0