Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Adding a Test Case 

On the Test Case module toolbar, click on the New button.

The Add Test Case screen has the following fields on it.

  • Summary: Enter the name of the test case.
  • Priority: Select an option from the list.
  • Labels: You can select multiple options from the list.
  • Status: Select an option from the list, which contains values like New, Approved, In Progress, Ready to Review, etc. The list is customizable.

...

  • User can add more list values from Customization > Lists and Drop-downs.
  • Use Case (Test Case State): Tester writes a test case based on requirement specifications and assigns this test case to the Testing Lead with

...

  • status “New”. The Testing Lead then reviews the test case and assign

...

  • status “Reviewed” or “Ready”, if the test case is written properly.

  • Owner: The drop-down list contains QMetry users having rights on the current Project. Select the owner of the test case who will be executing it.
  • Test Case Category: Select an option from the list e.g. Regression, Performance, Security.
  • Estimated Time (In Minutes): Mention

...

  • estimated execution time of the test case in minutes.
  • Description: Enter a description regarding the test case. Test Case Description can be added either of the following formats:
      • Plain Text

...

      • Rich Text:

...

      • Use of Rich Text Editor allows users to apply text formatting for Test Case Description and reduces the chances of missing important details

...

B. Users can paste the HTML/XML content into the Source editor of the "Large Text" field type and it auto-renders the code to show the text outputs on the screen.

...

Use Case: An organization is using Rich text for the Description field, in which they copy-paste the content from their source in HTML/XML format.

...

      • .

      Note:

...

    •  To enable

...

    • rich text editor, the Enable Rich Text parameter should be enabled for the Project (Projects > Project / Release / Cycle)

...

    • .

Image Removed

...

Testing Type: You can see this field on test case detail page once a test case is created. The field shows how the test case was created in QMetry: Manual or Automated. If a test case is created through UI or imported from Excel, then it is identified as a manual test case. Test Cases which are created through Automation APIs are identified as Automated test cases. The Testing Type field remains read-only.

  • User

...

  • Defined Fields: If UDFs are added for the test case module, then they are displayed on the Create Test Case screen

...

  • .

Adding Test Case Steps

You can add test steps that are to be executed under the test case. View, Create, Edit and Delete rights for Test Case are allocated to user roles from Customization > Roles. Users can perform an operation as per the permission granted to their user roles.

Image Added


Steps:

  1. Go to the Steps section on the Create Test Case screen.
  2. Follow either of the following ways to add a test step:
    1. Hover the mouse over Step Description cell and click on the Edit icon (pencil). You can

...

    1. move using TAB on the keyboard.
    2. Click on the "+" icon at

...

    1. right and select the Insert Row

...

    1.  option.
    2. Click on the settings icon for the test step and select the Insert Row

...

    1.  option.

A blank row is added on the grid with

...

auto-generated Step number. Enter Step Description, Input Data

...

and Expected Outcome in respective fields by clicking in the cell.

Repeat the same process to add other steps.

Image Removed

Rich Text Editor for Steps


There are two formats in which you can add test steps:

  • Plain Text

...

  • Rich Text

...

  • : Users can beautify Test Case Steps using the rich text editor. Use of Rich Text Editor allows users to apply text formatting for test steps and reduces chances of missing important details within the step.

Note:

...

 To enable rich text editor, the Enable Rich Text parameter should be enabled for the Project (Projects > Project / Release / Cycle).

...

Image Removed

Show/Hide and Re-arrange Test Step Columns

Users can opt to show/hide test steps columns (Input Data, Expected Outcome) and arrange the test steps columns on test case create screen and the Steps tab on the test case detail page.

You can organize the test steps columns in the panel through drag and drop operation. You can also opt to hide/show Input Data and Expected Outcome columns on the screen.

...

Any changes in the test steps column arrangement will reflect in other places where the test steps panel is used. For example, column arrangement changes on the Execution screen will reflect in the following places.

  • Test Case Create page

  • Test Case Detail Page

  • Create New Version page

  • Exploratory testing

Edit entered steps

A. Click in the cell to modify the steps. It opens test case details page in editable mode. Just click the cell you want to edit the details of.

B. Click on the Edit icon for the step.

...

Image Removed

The step section opens in the expanded view.

You can switch between Step Description, Input Data, and Expected Outcome. To go back to the Step Description section, click on the Move to Step button.

You can use the Previous Step and Next Step buttons to navigate to the previous/next steps.

Use the New Step button to add a new step next to the current step.

...

Image Removed

Click on the cog icon.

It allows you to perform the following actions on the Steps grid:

  • Insert Row

  • Insert Shareable Test Case

  • Remove Row

  • Duplicate Row

  • Move: Select Index to move the step to.

Click on the Create button to save the test case.

When you open the test case detail page, the Test Case Folder Path displays the path up to the folder the test case lies within.

Removing Test Case Steps

  1. Open the test case details page in editable mode.

  2. On the Test Case Step(s) grid, click the Con icon for the step you want to remove.

  3. Select Remove Row.

Changing Order of Test Case Steps

While executing test suite, the test case steps appear in the same sequence as you arranged them here for the test case.

You can easily change the order of test case steps through the following way:

...

On the Steps tab, click on the Con icon at right and select Move.

...


Image Added

Click on the action menu icon.


Image Added

It allows you to perform the following actions on the Steps grid:

  • Insert Row
  • Insert Shareable Test Case
  • Remove Row
  • Duplicate Row
  • Move: Select Index to move the step to.


Click on the Create button to save the test case.

When you open the test case detail page, the Test Case Folder Path displays the path up to the folder the test case lies within.

Editing Test Case Steps

  1. Click in the cell to modify the steps.
  2. The cell opens in editable mode.
  3. It opens test case details page in editable mode.
  4. Just click the cell you want to edit the details of.

Also, refer to Editing a Test Case section on this page.

Removing Test Case Steps

  1. Open the test case details page in editable mode.
  2. On the Test Case Step(s) grid, click the action menu icon for the step you want to remove.
  3. Select Remove Row.

Changing Order of Test Case Steps

While executing a test suite, the test case steps appear in the same sequence as you arranged them here for the test case.

You can easily change the order of test case steps through the following way:

  • On the Steps tab, click on the action menu icon at right and select Move.
  • Select Index to move the step to.

Adding Attachments at Test Steps

Users can get more granular details by adding attachments at test steps.

Note: Attachments to test steps can be added either on the test case details page or on the test case edit page.

For example,

A test step needs to be tested with different test data. The tester attaches an excel sheet containing the test data to keep it ready for execution.


Click on the Attachment icon for the test step to which you want to add an attachment.


Image Added


Editing a Test Case / Update a Test Case

A test case can be edited in terms of its parameters and test case steps.

Users can save the test case without creating its new version. An in-place editor is provided on the detail screens for all test assets. Just hover over the field and click on the edit icon.

It opens the field in editable mode. In case of text field, enter the value and save the details.


Image Added


To edit existing test steps, click on the Edit button in the Test Steps section.


In-place edit will always update the test asset.

To create a new version of the test asset, follow the steps mentioned below.


Create a New Version of Test Case

If test case steps are added or edited in the test case, which is already executed, then it is recommended to save the test case with Save as New Version.

If the User Role has Versioning rights (in Customization > Roles), then the button will be visible to the user. When you edit test case details, you can save the details with a new version of that requirement.


Follow either (A) or (B) as mentioned here.

A. Click on the Con icon for the requirement and select Create New Version.


Image Added


B. Open the test case detail page and click on the Create New Version icon on the header.


Image Added


The next screen opens in editable mode.

Make the required changes and click on the Save as New Version button to create a new version of the test case with updates.

If you add/edit test steps within a test case, click on the Save as New Version button to save the content of steps along with test case parameters. The associated test suite will still be associated with the previous version of the test case. To execute the latest version of a test case on the execution screen, click on the sync button.

  • Reset Test Case status to Not Run in Project: If the option is selected, then the test case version gets updated and its execution status is reset to “Not Run” on the Test Run screen.
Example: TC1 has execution status “Passed” in TS1. User modifies TC1 details and selects this option to reset the test case execution status while saving TC1. Now TS1 will show TC1 execution status as “Not Run”.


If the above option is not selected, then on the Test Run screen the sync icon appears beside the current version of the test case.


Image Added


After syncing the test case with its latest version, its Execution Status changes to "Not Run".

If test steps were added in the latest version of the test case, then these test steps will also be added on the execution screen.


Image Added


Note: QMetry allows you to use different versions of a test case for testing. Read more about it on the Managing Test Case Versions page.


Archiving a Test Case

All the versions of the test case should be archived to delete that particular test case.

Archiving Entire Test Case

You can not carry out further operations like adding attachments, linking test cases, issues, and release - cycles on an archived test asset.


A. Archiving from Test Case detail page

B. Archiving from Test Case module list view


A. Archiving from Test Case detail page

Open the test case details page by clicking on the test case.

Click on the Archive icon on the top right corner of the page.

It will archive all the underlying versions of the test case.


Image Added


B. Archiving from Test Case module list view

Open test cases module.

The test case list view opens with list of existing test cases within the project/folder.

Click on the settings icon for the test case you want to archive and select Archive. The test case is archived after confirmation.


Image Added


To unarchive an archived test case, click on the Unarchive icon at the top right corner.

Archiving a Specific Test Case Version

Read Archiving a Specific Test Case Version 

Deleting Test Cases

To delete a test case, first, you need to archive it. All the versions of the test case should be archived to delete that particular test case.

It is a two-step process:

  1. Archive a test case (All the versions of the test case will be archived.)
  2. Delete a test case (The test case will be deleted including all its versions.)

Deleting Entire Test Case

All the versions of the test case should be archived to delete that particular test case.

A. From the Test Case detail page

B. From the Test Case list view


A. From Test Case detail page

  1. Open the test case detail page.
  2. Click on the Delete icon at the top right corner of the screen.

Once the test case is archived, it looks like below.


Image Added


The Delete icon now appears at the top right corner of the page.

Confirm the operation on the pop-up.


B. From Test Case module List view

To view the archived test cases on the screen, select the Show Archived checkbox by applying the filters. 

It displays archived test cases along with other test cases.

Click on the settings icon for the archived test case and select Delete.


Image Added


Deleting a Specific Test Case Version

Read Deleting a Specific Test Case Version