Creating a Task
A task is a group of one or more steps. A step consists of an object and the action to be performed on that object. A step can also contain a generic action that does not require any object. In Qualitia, you can directly select the action for the step that requires generic action. You can collate various tasks to form a test case.
The Develop > Tasks screen allows you to create tasks and use them to build test cases.
To create a task:
- Click Develop > Tasks.
The Tasks screen is displayed. The screen is divided into two main panes, left pane and right pane. On left pane, all the existing tasks are organized in the tree structure. - On the left pane, right-click on the Tasks node, and select New Task from the context menu.
The New Task screen is displayed. - Enter the details such as Task name, Description of the Task, File Name indicating the file to which these details will be stored in Task Name, Description, and File Name respectively. The file name could be any name as per the naming conventions supported by the operating system.Â
It is recommended not to use special characters (/, \, :, *, ", <, >, |, %) in the Task Name field that are not supported in the file name by Windows.
The File Name field is not editable once the task is saved. The file is saved with .xml extension in the QualitiaProjectPath\<projectname>\Tasks folder. - Click OK.
The task is added under Tasks folder in the left pane. The new task on the left pane is highlighted.Â
Once task is added, you can add steps to that particular task as per the requirements.Â
To add steps to the Task:
- Click Add Step.
A new row is added to the task grid. - 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. - Click Add Step to add more steps in the task, if required.
- Click Save.
You can use the Up and Down buttons to change the sequence of the steps of the selected task. You can use the Remove button to remove the selected step from the task.
Tasks created here can be imported to when creating test cases from the Test cases screen.Â