Versions Compared

Key

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

You need to design the test case steps in a sequence that resembles the flow of the feature you are going to test. A Qualitia test case consists of steps and may contain single or multiple tasks. Each step contains an action along with its associated objects and parameters. Define the sequence of the steps in a test case that resemble the flow of a test scenario.

A test case may contain single or multiple tasks.

To create

You need to add or edit some or all steps manually for a test case in the following situations such as:

  • To add certain actions that are not supported by Qualitia Automation Recorder

  • To create a test case to automate testing on desktop applications

  • To add certain General Web Actions and Mobile General Actions

  • To define conditional statements at the appropriate places

  • To add custom actions at the appropriate places

Before you start adding or editing steps manually, ensure that all the objects of the application under test are added in the Object Repository. For more information, refer to Working with Objects.

To add or edit a test case manually:

  1. Open an existing Scenario scenario or create a scenario. For more details, refer to Working with Scenarios.

  2. Do the following in the order listed:

    You can edit or add a test case of the selected scenario:

    1. To edit a test case

      • Select a test case
        The Test Case Editor screen opens.

    2. To add a test case

      1. On the right pane,

      click the
      1. click New Test Case.

      2. Enter

      the 
      1. Test Case NameDescription, Manual TC ID, and

      file name
      1. File Name.

      2. Click OK.
        The Test Case Editor Screen opens.

  3. (Optional) To add a task from the first step, do in the following order listed:, click Create Task. Enter a name and description for the task, and then click OK.
    To add steps for the added task, refer to the step 4.

  4. To add an independent step or a task step

    1. Click Add Step to add a blank step in the Test Case Editor screen.

    2. (Optional), DoubleTo add an object, double-click the Object cell to open the Object Repository hierarchy. Select , and then select an object. For more information on objects, refer to Working with Objects.
      Refer to Note: You can right-click the object and select Edit Object to edit its properties. For more information, refer to Editing an Object .
      Some Generic Actions do not require an object such as OpenURL, Maximize Browser, and so on.

    3. Double-click the Action cell and click the arrow button to select an Action.

      Note: As per the selected object, only the relevant actions are displayed. For more information, refer to Qualitia Actions.

      Some Generic Actions do not require an object such as OpenURL, Maximize Browser, and so on.

      As per the selected action, Qualitia automatically displays the relevant associated parameters in a single or multiple parameter cells are automatically displayed.

    4. Enter the relevant values for the parameters. For more information, refer to Quailtia Actions.
      Similarly, you can add more steps that you want to add to the test case.

  5. To create add a task using the the steps that you have defined

    1. Select the steps, Press Ctrl and select the other steps that you want to add to

    a new group
    1. the task, right-click and then select Add New Task

    , enter
    1. .

    2. Enter a name and description for the task, and then click OK.
      To add steps to the task, refer to the step 4.

  6. To import an existing task, select a step from where you want to insert the task, click Import Task from the test case editor screen.
    To edit the steps for the imported task, refer to the step 4.
    After adding appropriate Note: If you edit the steps of the imported task, ensure that there is no impact on other test cases that are using the same task.

  7. To move a task or step to its appropriate place, select the task or step, and then click Move Up or Move Down button.

  8. After adding all the tasks and steps, click Save to save a the test case.

You can now click Run to dry run a the test case to know whether expected results are achieved. For more information, refer to Dry Run a Test Case .

Info

Save Test cases periodicallyQualitia recommends saving the test case after making every change in the test case.

You can use the following Qualitia Automation Studio features to enrich a test case design by implementing the following features in it, but not limited to them.: