Versions Compared

Key

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

Qualitia Automation Studio (QAS) enables you to easily manage Test Data, the set of data that is used during execution. You can view test data, add or delete, and edit existing test data. The Test Cases and Tasks can be reiterated multiple times using test data. Let’s see how this works!

📚Prerequisites

  1.  User should have the QAS - Client installed.

  2. User should be assigned to an existing project.

  3. A test scenario should exist.

...

User should have the below privileges to:

  • Import FeatureArtifacts: Import test cases or other project elementsartifacts from another project.

  • Manage Custom Action Code: Oversee the custom action scripts in projects: Add, edit, delete and develop custom actions.

  • Manage Objects: Control (add, edit, and delete) the objects within the your testing environment.

  • Manage Scenarios: Control (add, edit, and delete) the scenarios within your test suites.

  • Synchronize Objects: Keep test objects synchronizedImport and export objects from TSR (Desktop Projects Only).

  • Test Development: Create, update, and update record test cases and tasks. 

A test case contains two types of test data:

...

To parameterize the test data:

  1. Login to Log into QAS - Client.

  2. Access Develop from left navigation to view Test Explorer screen.

    1. On the Explorer section, you can view existing Test Scenarios.

  3. Click the Expand option on a test scenario, where you can view all its test cases.

  4. Open the test case in which you want to add test data or edit its existing test data.

  5. In the test case, under the Parameter columns, for the data you want to parameterize, replace the existing values with a unique value without enclosing in double-quotes. 

  6. Click Test Data at the bottom left corner of the Test Explorer screen.

  7. Clicking Test Data will open the Test Data explorer.

  8. To add a test case iteration, click + Add TC Iteration. It will insert a blank row below the selected iteration and auto generate the Itr. N.

    1. DataSetTag: Enter a unique value for a data set test case iteration. DataSetTag simplifies finding a test case iteration in the test case execution report.

    2. Toggle: Toggle on the iteration to enable the execution for the test case iteration or toggle off the iteration to disable the execution for the test case iteration. You must enable at least one test case iteration to execute the test case. 

    3. Enter the values in their relevant formats for each parameterized data.

      • Enter $NULL$ in the cell where you want to have a blank value by clicking on Add $NULL$ in blank from the More Options.

        image-20241016-093919.pngImage Added
      • You can move and resize the Test Data explorer.

      • You can import test data for a test case from an excel file and also export it as an excel file.

    4. The Total TC Iteration shows the total number of iterations in test data.

  9. If the test case contains tasks, the first row displays the task names. Each task covers its associated parameterized data in the second row.

  10. Click + Add task Iteration to add a task iteration within a test case iteration.

    1. Clicking + Add task Iteration will insert a blank row after the test case iteration.

    2. Enter the values in their associated format for the task parameters.

      • The values added for parameters of a task are not duplicated in the same tasks that are present in other test cases.

      • You do not need to enter the values for the parameters that are not associated with task iterations as they are not considered in the task iteration executions.

  11. After adding or editing all the required data, click the Save button on the Test Case Editor screen.

  12. Click the Test Data button present in the test case editor screen to close the Test Data explorer.
    You can now Dry run the test case to verify whether the test data meets the test requirements.

Info

You can add $NULL$ for parameterized as well as static values.

Test Data explorer parameterizes the values that are present under the parameter columns of the test case and task steps only.
If you do not define add test data for a step, then that step and its parent task is underlined with red color. Also, the test case and test scenario are underlined with red color in the left pane of Test Case screen. 

...

  • Toggle - Toggle on or off the TC test case iteration. Using master toggle, we can mark or unmark all the iterations.

  • Error Navigator - If there are any errors in our data, we can navigate to that particular error using error navigator.

  • Delete - Delete the task iteration or the TC test case iteration.
    Note: If you select a task iteration, Delete Test Iteration option will be enabled. Similarly, if you select a test case iteration, Delete Test Case Iteration option will be enabled.

  • More Options - Add $NULL$ to all the blank rows by clicking on more options.

  • Find Search - Search the values using findthe search field.

  • Expand All - Expand all the iterations.

  • Collapse All - Collapse all the iterations.

  • Hide ‘Skipped or unmarked’ Data - This will hide/unhide the skipped columns under the Test Case editorcolumns/rows in test data. Select Hide Unmarked Rows to hide the rows that are not marked and select Hide Unmarked Columns to hide the columns where the step is skipped in test case having dynamic parameter.

  • Import - A test case or task Test Data can be imported using an Excel file.

  • Export - Export test data in an Excel.

  • Maximize

  • Undo

  • Redo

  • Refresh

    • If a test case or task has been updated by User1, and if the same artifacts are being used by User2. User2 will be indicated with a red dot near the Refresh button, and he can update the changes made by User1 by clicking In case of multi-user, if user1 made changes then user2 will be notified by a Red Dot near the Refresh button. If you want to apply the changes made by user1, click Refresh.

    • Also, if user1 is making changes to a test case or a task is being edited by User1, the artifact , it will be locked for User2 user2 (or any other users) and he you will not be able to update or edit it. This again will be indicated notified to user2 with a Red dot Dot near Refresh icon.

  • Popout

To Edit a field in Test Data, click on the cell that contains the data you want to edit. Once you’ve clicked on the cell, it will be highlighted, and a border will appear around it, indicating that it’s selected and ready for editing. Now, you can either double-click inside the selected cell or directly start typing on the selected cell to start editing.

💡Golden Nuggets: Best Practices for Test Data Management

...