Test Case Management


Generate test cases

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

  2. Click 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 Create button to generate cases.

Create a test case

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

  2. Fill case name and case description.

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

Edit test case

Edit test suite info

  1. Click button on the right of suite name.

  2. Update suite name.

  3. Click Update button.

Edit test case info

  1. Click button on the right of case name.

  2. Edit test case name and description.

  3. Click Update button.

Add a case step

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

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

  3. Click 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 case step.

  4. Click Edit button.

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

Add Post Script

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

Adjust the order of case step.

  1. Select the case step you want to move.

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

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

Copy case steps

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

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

Copy/Cut case steps with group commands

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

Notes

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

Cut case steps

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

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

Paste case steps

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

  2. Choose the test case step position 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 delete link.

Delete a test case

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

Compare different historical versions of test case

  1. Click 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 full screen button at the upper right corner of comparison page, you will maximize the comparison page. At the bottom left corner, update, delete and new steps are shown as legends with different backgroup and we also highligh the line of code changed on bottom left. Just hover the mouse to the yellow highlighted case step, the tooltip will tell you the changes.

Restore a specific version of test case

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

  2. Click Restore button to restore the version.

    Note:

    If a custom command is created inside current project, is used by other test cases and will be changed by the version to be restored, warning message like below will be shown. Click OK, 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 other project, and will be changed by the version to be restored, warning message like below will be shown. Click OK, 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 a time with a group test case. Let us start with creating a group test case.

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

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

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

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

  5. Click 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 Add button. Select the target test cases to the group test case from the opened modal.

Categories:

Updated: