Execution from Script page
TestNG and JUnit tests can also be executed right in the Scripts IDE page that will run the script right on current client machine (make sure you have Agent installed on it). This can be very useful for creating/doing modifications to a script and then running a quick validation of it without running through full Execution.
- Click on Scripts tab and open a script file which contains TestNG/JUnit code.
- Click on ‘Run TestNG/JUnit Test Case in opened script’ button (green play arrow).
- Check the check-box for a test you want to execute right now (only one can be selected at a time).
- Click on ‘OK’ button.
- Test case runs through and results appears on the bottom ‘Output’ pane.