Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to insert value into Prompt box in ATF (Automated Testing Framework) ( is it possible OR Not )

chanikya
Kilo Sage

Hi,

when i click on UI action it will displays one Prompt box for user input, Now how can i pass value into Prompt box  In ATF.

Any suggestions recommended .

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@chanikya 

Javascript prompt boxes, alert and confirm box cannot be tested via ATF

Regards
Ankur

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

View solution in original post

20 REPLIES 20

No you can write the code in client side script

which one i have to select

 

find_real_file.png

Click the UI action.

i think we don't have chance to mention script there, by using this hopfully we only access Buttons

find_real_file.png

Hi Chanikya,

Did you get workaround for this i.e. prompt box input in ATF?

If yes then what steps were taken

Regards

Ankur

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