popup at runtime

10 views
Skip to first unread message

ggar...@gmail.com

unread,
May 26, 2017, 3:01:41 AM5/26/17
to testng-users
Hi,

Is it possible like the moment I click on run button to run my program, a popup should come and ask to input browser. If I input firefox, my program should run in firefox browser or if I input Chrome, it should run in Chrome browser?

Mrunal Gosar

unread,
Jun 4, 2017, 11:35:41 AM6/4/17
to testng-users
Well you can include swing in your automation project and pop-up a small window before the test runs. Or a better solution is to accept the input from command line when the test runs so that you can run your tests on server as well.
Reply all
Reply to author
Forward
0 new messages