Record and Replay a Test Case
Record a Test Case
-
Click the Edit button on the right of the suite name.
-
Click the Record button on the right of the suite name. You will enter record mode.
-
In the Debug step which has in front of it, the process will be stopped. If you need to resume, you can click .
-
Record according to the process diagram execution flow, you can see each step you have done in the toolbar.
-
Click the button to finish the recording. The operations you have done are shown in the case step list table.
Replay a Test Case
-
Click the Record button on the right of the case name to replay it.
-
Click the button to finish the replay.
-
In the Debug step which has in front of it, the recording will be stopped. You need to click the button to resume.
-
Click the Exit Edit button on the right of the suite name.
Notes:
If you need to record some test steps, you can add a debug command where you need to record. When replaying to the debug command, you can record your case steps.
Here are the descriptions of the plugin buttons:
Button | Description | Can click while running |
---|---|---|
Run test case until the break point step. | False, can click on debug steps. | |
Skip all break points. | True | |
Enable all break points. | True | |
Disable recording case steps. | False, can click on debug steps. | |
Enable recording case steps. | False, can click on debug steps. |
Record a Test Case with a Group Command
-
Preparation
-
Prepare the group commands that you want to add into the test case. Refer to Create a Group Command in Group Command Management. Here is the group command that is ready to be used as an example.
-
Add the group command to the test case. Refer to Use a Group Command in Group Command Management.
-
Add a debug command following the group command, in case you would like to record after the group command. Take case2 of Standard HR Open New Position as an example. After finishing the preparation, the case step list will be like the one shown in the following screenshot.
-
-
The recording operation refers to Record a Test Case.
Replay a Test Case with a Group Command
Refer to Replay a Test Case.