...
1- In order to test and debug a test case you have written, click Download Local Player button under your username.
Alternatively, you can directly navigate to the test case you want to run and click Run now.
2- Once the executable file is downloaded, double click on it to set up the application.
...
9- Once the application starts, the indicator on Subject7’s website will turn to green and you can run your test cases locally now. If it does not change to green, refresh your page or make sure that the application is running.
10- To close the connection, simply close the application from your hidden icons menu on the bottom right corner of your screen. You can do so by right clicking on it and selecting Exit.
...
*Enabling Subject7 Player automatic start:
*Disabling Subject7 Player automatic start:
Local Run (Local Execution)
...
2- As the Test Case is running, it will update the status of each step in the Status field shown below by providing (pass, fail, or fail_skip). The overall status is shown in the bottom left corner of the screen in addition to the execution time.
3- When a test case is run locally, a watch window (Variables) will appear on the right side of the screen that shows all of the variables and their values as test case is executing. The following is a list of system variables:
...
You can drag and drop any variable on the watch window to your convenience as long as the test case execution is paused/finished. The below is an example that shows dragging and dropping variables.
4- As your test case is running, the play button will be greyed out while the pause and stop buttons will active. In the middle of execution of a test case, you can click the pause button to pause the execution. Now, you can click on the play button anytime you like to resume the execution. While test case is paused, you can make changes to the test case, save your changes, and resume the execution.
5- When in pause status or when the test case has been executed to the end, you can click on the test case step number to set the cursor to the step you would like to re-execute (the arrow next to the step will turn green when you click it). You can simply hit the play button to resume your test case from where the green step is.
6- At any time during the execution of a test and after you hit the pause button, you can edit the test case to resolve the error(s) encountered during your local test run or make any modifications, then click on the step number that you just fixed to run it again, and hit the play button. You can repeat the above steps until you have a working Test Case.
reset your player. This will in turn close the browser that was launched earlier as well as the watch window (Variables) on the right side.
7- When your Test Case execution is completed, you can hit stop toInfo | ||
---|---|---|
| ||
In case timestamp field in data templates is checked, clicking Stop will refresh the timestamp on your local run. |
...
8- You can also put breakpoints in your test case by hovering over over the step to show the additional step controls
9- Afterwards, hover over the arrow of the additional step controls and select Set Breakpoint
10- The color of A red breakpoint icon will appear on the step will change to red. When you execute the test case, it will stop at the break point automatically. Your breakpoints will be saved when you save your test case .
...
title | Tip |
---|
...
and are
...
displayed only to
...
you.
11- In case you are executing a test case and need to make changes to specific steps before continuing, step over feature makes it easy for you to debug your test case step. Add a break-point at the step where you need the execution to stop, or play your test case and pause wherever you like.
...