I am creating selenium test to test a web app. I also want to be able to use these test cases as a way for non technical users to automate the first few steps of the process. ~Is this possible?
Asked
Active
Viewed 83 times
0
-
What `process`? You mean test pre-conditions or test start? You can create simple GUI so that user can perform actions just clicking buttons or sending parameters to appropriate input fields. Look toward something like `TCL` – Andersson Dec 15 '16 at 11:11
2 Answers
3
If you are using testng, generate command to run XML from the command line and then copy the same command to .bat or .cmd file. By a click any user can run those tests/suite.

Girish Bellamkonda
- 491
- 1
- 8
- 17
2
Of course you can, Selenium automates browsers, it is not a 'test library' you can use it in any program. Just write java program where you use selenium.
You can also write tests (in JUnit or TestNG or any other test runner) and run tests programmatically.

mackowski
- 366
- 5
- 15