We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

chanikya
Mega 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

@chanikya 

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

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader