After the Fabasoft app.test Player has been started, the progress of the running test, sequence or use case is shown in the "Test State" view. In this view you can break, continue or terminate a test and you always have an overview of the test (which execution is currently executed, how many errors have occurred till now, how many statements are still left etc.).
All buttons that are needed to control the Fabasoft app.test Player are located in the top right corner of the "Test State" view.
Remove all terminated jobs
Click the "Remove all terminated jobs" button to delete all terminated tests, sequences and use cases from the "Test State" view (the execution of the test file has finished or has been canceled by the user).
This button is enabled if the Fabasoft app.test Player has stopped. By clicking this button you can skip the current statement (that would be executed when resuming the test run). This is useful if an error occurred and you want to continue the test run.
By clicking "Resume" the execution of a test, sequence or use case, which has been suspended, can be continued again.
The "Suspend" button suspends the execution of the currently selected test, sequence or use case in the "Test State" view. After a file execution has been stopped by using the "Suspend" button it can be continued by clicking "Resume".
The "Terminate" button offers the possibility to stop the execution of a test, sequence or use case completely.
Clicking the "On Breakpoint" button opens a menu. In this menu you can choose what should happen if a breakpoint occurs (breakpoints can be set in the Fabasoft app.test Recorder). If "Continue" is selected, breakpoints are ignored. By selecting "Break" the Fabasoft app.test Player stops each time a breakpoint is reached. The execution of the file must then be continued manually by the user (by clicking "Resume").
Clicking the "On Error" button displays a menu. In this menu you can choose what should happen if an error occurs. If "Continue" is selected, the execution of the test, sequence or use case continues with the next statement. Errors are listed in the report that is created when the file execution has finished. By selecting "Break" the Fabasoft app.test Player stops each time an error occurs and must be continued manually by the user. The third possibility is to select "Cancel". In that case the test, sequence or use case stops completely, i.e. it is terminated.
In the "Test State" view you can also see the elements of the test which means at what position in the test the Fabasoft app.test Player is currently running. All elements that are located in the test are also displayed in the "Test State" view:
The name of the test is displayed beyond the current state of the test run:
The name of the sequence currently executed is displayed beyond the test name:
The name of the current use case is displayed beyond sequence name:
If an execution (see chapter “Execution Statement”) is currently carried out, it is also shown in the "Test State" view (including all options):
If a set statement (see chapter “Set Statement”) is carried out, it is displayed (the parameter name as well as the value it is set to - parameter references are resolved):
If a validation (see chapter ) is currently executed, its condition is displayed (all parameters that occur in the condition are resolved before they are displayed):
If the context is switched (see chapter “Insert Context Switch”) while the test is executed, it is also displayed in the "Test State" view (the client type and the location as well as the option - is an option exists):
If an error occurs while running a test file, it is also displayed (If On Error: Break is switched on):
This information can be found in the first line of the "Test State" view:
<test name>, Scope:<scope> (<state>) [total: <number>, worked: <number>, skipped: <number>] [ok: <number>, warnings: <number>, errors: <number>]
At the beginning of the line you can find the name of the currently executed test and the scope that is used for the current test run.
The current execution state is shown inside the first brackets. The following states are possible:
Note: If an error occurs, you can open the corresponding file by double clicking the error in the "Test State" view. The test file opens in the "Editor Area" view and the line where the error occurred is selected. Please note that the selection might not be correct if you have edited the file while running it in the Fabasoft app.test Player (because the statement is selected by its line number).
In the square brackets you can find information about the statements in the test, how many have already been executed, how many were successful etc.