Test Case Management


Generate Test Cases

  1. In the left-side menu bar, click the + button on the right of the project name.

  2. Click the Artifact Type field, you can see five kinds of artifacts: Process, User Interface, Service, Case Type and Build from Scratch. Choose User Interface or Service to generate a unit test case, choose Process to generate a BPD test case, choose Case Type to generate a case test case, and choose Build from Scratch to generate an empty test case folder.

  3. Choose process items.

  4. Click the Create button to generate cases.

Create a Test Case

  1. Click the + button on the right of the suite name.

  2. Fill in the case name and case description.

  3. Click the Add button. You can see the new test case shown in the left-side menu bar. When your mouse hovers over the button, you can see the description of the test case.

Edit Test Case

Edit Test Suite Info

  1. Click the button on the right of the suite name.

  2. Update the suite name.

  3. Click the Update button.

Edit Test Case Info

  1. Click the button on the right of the case name.

  2. Edit the test case name and description.

  3. Click the Update button.

Add a Case Step

  1. Select the test case step position where you want to insert. In the popup menu, choose the Add link to insert.

  2. Choose the command you want to add and add a comment for the command if necessary. Different commands have different parameters. More details, see API reference. Fill out the form to add a case step.

  3. Click the Add button.

Edit a Case Step

  1. Select the case step you want to edit.

  2. In the popup menu, click the edit link.

  3. Update the case step.

  4. Click the Edit button.

  5. Click the Exit Edit button on the right of the suite name.

Add Post Script

In some user interface test cases, you may need to request data from the server. If the response time is too long, it will cause a timeout exception and make the test case fail. In this case, you need to add case steps to wait for the loading indicator to be hidden. We provide a post script for you to do this in bulk. More Details

Adjust the Order of Case Steps

  1. Select the case step you want to move.

  2. In the popup menu, click the MoveUp or MoveDown link to adjust the order of a case step.

  3. Click the Exit Edit button on the right of the suite name.

Copy Case Steps

  1. Click the Edit button on the right of the suite name.

  2. Select the case steps to be copied, and in the popup menu, click the Copy link.

Copy/Cut Case Steps with Group Commands

  1. Click the Edit button on the top right of the case editor table.
  2. Select the case steps with group commands, then click the Copy link in the popup menu.

Notes

You could only paste the copied case steps with group commands into test cases. If you paste the case steps into group commands, you will get a warning:

Cut Case Steps

  1. Click the Edit button on the right of the suite name.

  2. Select the case steps to be cut, and in the popup menu, click the Cut link.

Paste Case Steps

  1. Click the Edit button on the right of the suite name.

  2. Choose the test case step position where you want to paste, then click the Paste link. The copied/cut case steps will be inserted before the editing case step.
    .

Delete a Case Step

Select the test case steps in the test case step table. In the popup menu, click the Delete link.

Delete a Test Case

Click the button in the test case list from the left-side menu.

Compare Different Historical Versions of Test Case

  1. Click the version number button next to the case name.

  2. Select any two versions.

  3. Then the Compare button will be shown. Click it. You will enter the comparison page.

  4. Click the full-screen button at the upper right corner of the comparison page, you will maximize the comparison page. At the bottom left corner, updated, deleted, and new steps are shown as legends with different backgrounds, and we also highlight the line of code changed on the bottom left. Just hover the mouse over the yellow highlighted case step, and the tooltip will tell you the changes.

Restore a Specific Version of Test Case

  1. Click the version number to see the details of a version.

  2. Click the Restore button to restore the version.

    Note:

    If a custom command is created inside the current project, is used by other test cases, and will be changed by the version to be restored, a warning message like the one below will be shown. Click OK, and the custom command will be restored. And other test cases that use this custom command will also be changed.

    If a custom command is shared by another project and will be changed by the version to be restored, a warning message like the one below will be shown. Click OK, and the custom command will not be restored, but other commands will be restored normally.

Create a Group Test Case

A group test case means you could run more than one test case sequentially at a time with a group test case. Let us start with creating a group test case.

  1. In the left-side menu bar, click the + button on the right of the project name.

  2. Click the Artifact Type field, select Build from Scratch, and input the Suite Name field.

  3. In the left-side menu bar, click the + button on the right of the MyGroupTestCases test suite, then select Create Group Test Case.

  4. Input the Group Test Case Name and Group Test Case Description fields, then click the save button.

  5. Click the edit button on the top-right of the test case editor table to enable editing.

  6. Right-click on the test case editor table and click the Add button. Select the target test cases to add to the group test case from the opened modal.

Categories:

Updated: