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.
...
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
Info 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.
Info |
---|
Whenever you edit a task, other users can now view the following information :
|
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
...
, and then select View Test Cases.
Importing Tasks from Another Project
...
Perform the following steps to import a new task.
To import a new task:
Open the current project.
From the Expand Menu, click Develop.
Click the Import tab.
From the left pane, select an import project.
A list of tasks under New and Conflicted are displayed.Under New, click the task that you want to import.
The task opens in the main pane.Click Import to import the task.
All the associated objects, environment variables, and custom actions are added or updated in the current project.
You can now use the imported task to create test cases in the current project.
Updating a Conflicted Task
...
To update a conflicted task:
Open the current project.
From the Expand Menu, click Develop.
Click the Import tab.
From the left pane, select an import project.
A list of tasks under New and Conflicted are displayed.Under Conflicted, click the task that you want to import.
Both the imported task and the current task opens in the main pane.You can know the differences between these two tasks in the following ways :
Steps marked in red color and red icon indicate that they will be removed from the current task after the task is imported.
Steps marked in green color and green icon indicate that they will be added to the current task after the task is imported.
Objects, custom actions, and parameters marked in red color indicate that their values are different, which will be replaced after the task is imported.
Steps marked in minus sign indicate that parameter values are different, which will be replaced after the task is imported.
In the left pane, under the selected task, the impacted test cases of the current project are displayed.
Click any test case to view its tasks and steps on the main pane.
In the main pane, you can switch between Keep Current and Keep Imported for the task you have selected.
Keep Imported shows the steps of tasks present in the import project.
Keep Current shows the steps of tasks present in the current project.
This switching feature allows you to understand how the imported task can impact the test case execution.
Note: The main pane does not allow you to dry run or make any changes to the test case.
Do one of the following to resolve the conflicted task:
To import the task, click Keep Imported, and then click Update All.
If the task name in the import project and the current project is different, you are prompted to save the task as per its name in the import project or in the current project.
All the associated objects, environment variables, and custom actions are added or updated in the current project.
You can now use the updated task to create new test cases in the current project.To retain the current task, click Keep Current, and then click Update All.
Note: When you click Keep Current or Keep Imported, the task is locked automatically in the imported project and the current project. If you go ahead to click Update All, the task is unlocked automatically.
Importing Tasks in Bulk
You can import either multiple new tasks or multiple conflicted tasks in a single go.
To import tasks in bulk:
Open the current project.
From the Expand Menu, click Develop.
Click the Import tab.
From the left pane, select an import project.
A list of tasks under New and Conflicted are displayed.Click the Three Dots button (), and select Bulk Import.
All the tasks under New and Conflicted are selected automatically.Do one of the following:
To import all the new tasks Click the New Task button ().
Note: To retain specific new tasks, under New Tasks deselect their associated checkboxes.To resolve all the conflicted tasks Do one of the following:- To import all the conflicted tasks, click the Keep Import button ().
- To retain the current tasks in the current project, click the Keep Current button ().
Note: To retain specific conflicted tasks, under Conflicted Tasks, deselect their associated checkboxes.
You can now use the imported tasks to create test cases in the current project.
Viewing Import History of a Task
...
To view import history of a task:
Open the current project.
From the Expand Menu, click Develop.
Click Import > Import History.
In the left pane, you can view all the archived versions of tasks.Click a task for which you want to view its import history.
Every archived task version has a timestamp that denotes when it was imported in DD MMM YYYY, HH:.MM AA format. For example, 15 March 2021, 10:40 AM.
You can also view which user had imported the selected archived task version, what was modified in it, and when it was imported.To restore an archived task version, select the task version, and then click Restore.
The archived task version replaces the current task version in the current project.
All the associated objects, environment variables, and custom actions are also now restored.
All the associated test cases in the current project are updated automatically.You can delete the task versions in the following ways:
To delete an archived version of a task, in the left pane, mouse over the archived version you want to remove, and then click the Clear button ().
To delete all the archived versions of a task, in the left pane, mouse over the task, and then click the Clear button ().
To delete multiple archived versions, in the left pane, click the Three Dots button (), select Clear History, select the checkboxes of the archived versions of each task that you want to delete, and then click Clear.
Best Practices for Importing Tasks
...