Starting with qTest Launch 1.4.8, Elite users are able to schedule and kick off Tosca Test Cases against the Tosca Distributed Execution (DEX) Server. This article will walk you through steps to schedule Test Executions for Tosca Test Cases in qTest Launch.
- You have installed and configured the Tosca DEX server properly. Refer to this article to learn how to install and configure Tosca DEX Server: https://documentation.tricentis.com/en/1100/content/tosca_commander/distributed_execution.htm
- You have created Test Cases in qTest Manager and converted them to Tosca Test Cases. Refer to this article to learn how to create and convert qTest Test Cases and Tosca Test Cases: https://support.qasymphony.com/hc/en-us/articles/360022902132-Convert-Test-Case-to-Tosca
Schedule Tosca Test Case execution in qTest Launch
To schedule Tosca Test Case Executions in qTest Launch, follow these steps:
- Login to qTest Manager and access qTest Launch from the qTest app navigator.
- From qTest Launch home page, select the SCHEDULE TESTS icon.
- The Schedule Test Run: Select Cases dialog displays. From here, enter the following:
- Schedule Name: name of the schedule
- qTest Manager Project: select a qTest Manager project containing your Tosca Test Cases
- Host - Agent: if you are planning to schedule Test Executions for Tosca Test Cases only, you do NOT need to select an agent as the execution does not need to involve Automation Host to kick off, but only requires qTest Launch. If you want to schedule Test Executions that include non-Tosca Test Cases, select an agent associated with the Automation Host
- In the object type selection field select one of the followings:
- Requirements: this selection will list all Requirements that have automated Test Cases in qTest Manager. This includes Tosca test cases, if any.
- Test Cases: select this option to list all automated Test Cases in qTest Manager, including Tosca Test Cases, if any.
- Test Runs: this option will display automated Test Runs in qTest Manager, including Tosca Test Runs, if any.
- In this example, we will select Test Cases as the object type. The list of automated Test Cases will be shown in the tree view on the left panel.
- Select Test Case(s) from the tree on the left and then select the on + icon to add them to the Test Cases to Run list.
- Test Result Folder: select the CHANGE icon to specify a Test Cycle that the execution result will be submitted to when the schedule is kicked off.
- Next, select one of the below options to schedule a time for execution:
- To execute the test at a specific time in the future, and optionally with an option to recur, select the SCHEDULE RUNS icon. Refer to this article for more detailed instructions regarding time scheduling https://support.qasymphony.com/hc/en-us/articles/360020504711-Schedule-and-Kick-Off-Test-Automation-in-qTest-Launch
- To execute the test immediately, select RUN NOW.
In this example, we will select the RUN NOW option. The Run Scheduled dialog will display and summarize the detail of the newly created schedule. Select OKAY to finish test scheduling.
You are returned back to the qTest Launch home page. From there, select JOBS to access the JOBS View. Here, you can see all the jobs that belong to the projects that you are a member of. You will see the newly created schedule on the jobs list.
Note: if you do not see the new job, make sure you have selected the right project using the Project field. You might also need to navigate to the correct page where your job is by using the pagination elements.
View Schedule Details
At any time, you can view the detail of a job schedule by selecting the icon of the job in the list then selecting View Schedule Details in the popup menu.
A dialog will display showing the details of the schedule, as below.
View Last Execution Logs
You can also view the last execution log of the schedule by selecting the icon of the job in the list and then selecting View Logs item in the menu.
A dialog will display showing the last execution log of the job schedule.