Working with Tasks
A task is a collection of steps that you can reuse in multiple test cases. You can add tasks that are part of testing multiple scenarios. For example, you can create a task that automates to login into the application.
You can add a task in one of the following ways:
- From the Test Case Editor Screen
While adding or editing a test case, you can select steps and create a task out of them - From the Task Editor Screen
Also, you can import tasks from another project. For more information, refer to Importing Tasks from Another Project.
Adding a Task
You can create a task manually using the task editor screen similar to creating a test case manually.
Unlike the Test Case Editor screen, the Task Editor Screen has the following options only:
- Add a Step
- Remove a step that you do not want
- Add a conditional block
- Move Up Or Move Down a step
- Move through the error objects.
To add a task:
- From the Expand Menu, click Develop.
- Click the Tasks tab.
The Task Editor screen opens as shown in the following: - In the left pane, click the Add Task button ().
- Enter the following details:
- Task name
- Description of the Task,
File Name
The task name must not contain the special characters:/, \, :, *, ", <, >, |, %, and #.
The File Name field is not editable after the task is saved. The task file is saved with .xml extension in the QualitiaProjectPath\<projectname>\Tasks folder.
- Click Save.
- Click the Add Step button (
A new row is added to the task grid.
Do the following in the order listed:- If it is an object-based action, select the required object by clicking Object field.
- Select the relevant Actions for the selected objects clicking Actions field.
Depending upon the Action selected, the Parameter fields get populated with the default parameter name.
Note: The Parameter fields are blank for the Actions that do not require any parameters.
Similarly, you can add more steps in the below rows.
Qualitia recommends clicking the Save button ( regularly to save the updates that you have made in the task. After a task is created, you can import it when creating or editing test cases from the Test Case Editor screen. )
).
Editing a Task
Before you edit a task, ensure that it does not impact all the associated test cases.
Whenever you edit a task, other users can now view the following information :
The changes in task steps
The user who edited the task
The date and time when the task was edited
To edit a task:
- From the Expand Menu, click Develop.
- Click the Tasks tab.
- In the left pane, right-click the task that you want to edit, and then select Edit Task.
To know how to edit a task, refer to Adding a Task.
Qualitia recommends clicking the Save button () regularly to save the updates that you have made in the task.
Deleting a Task
You cannot delete a task that is used in a test case.
To delete a task:
- From the Expand Menu, click Develop.
- Click the Tasks tab.
- In the left pane, right-click the task that you want to delete, and then select Remove Task.
Viewing Test Cases Associated with a Task
Qualitia allows you to view test cases associated with a task. You can view the associated test case names, their manual test case IDs, and descriptions.
To view the test case associated with a task:
- From the Expand Menu, click Develop.
- Click the Tasks tab.
- In the left pane, right-click the task that you want to delete, and then select View Test Cases.
On the Page: