A test case consists of steps and may contain single or multiple tasks. Each step contains an action along with its associated objects and parameters. You can define Define the sequence of the steps in a test case steps that resemble the flow of a test scenario. A test case may contain single or multiple tasks.
You need to add or edit some or all steps of manually for a test case manually in the following situations , but not limited to themsuch 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:
Open an existing scenario or create a scenario. For more details, refer to Working with Scenarios.
You can edit or a add a test case to of the selected scenario:
To edit a test case
Select a test case
The Test Case Editor screen opens.
To add a test case
On the right pane, click the click New Test Case.
Enter the a Test Case Name, Description, Manual TC ID, and file name File Name.
Click OK.
The Test Case Editor Screen opens.
(Optional) To add a task from the first step, click Create Task.
Select the steps, Press Ctrl that you want to add to a task, right-click and select Add New Task, enterEnter a name and description for the task, and then click OK.
above
To add steps for the added task, refer to thestep
34.
To import a 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 above step 3.
Note: IfTo add a step, do the following in the order listed:add an independent step or a task stepClick Add Step to add a blank step in the Test Case Editor screen.
To add an object, double-click the Object cell to open the Object Repository hierarchy, and then select an object. For more information on objects, refer to Working with Objects.
Note: You can doubleright-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.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.
As per the selected action, the associated parameters in a single or multiple parameter cells are automatically displayed.Enter the relevant values in 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.
To add a task , do one of the following:using the the steps that you have defined
Select the steps, Press Ctrl and select the other steps that you want to add to a the task, right-click and then select Add New Task, enter .
Enter a name and description for the task, and then click OK.
To add steps for to the added task, refer to the above step 34.
To import a an existing task, select a step from where you want to insert the task, click Import taskTask from the test case editor screen.
To edit the steps for the imported task, refer to the above step 34.
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.To move a task or step to its appropriate place, select the task or step, and then click Move Up Or or Move Down button.
After adding all the appropriate tasks and steps, click Save to save the test case.
...
Info |
---|
Qualitia 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: |
...