Bamboo
Execution and Reports
Once you have started and configured Bamboo, you can now start executing your test cases using Bamboo.
To execute your test cases using Bamboo:
- From the top menu items, click Create and select Create plan.
The Configure Plan screen is displayed. - In the Project and build plan name section, enter project and plan details.
- In the Repository Host section, select Subversion.
- Enter Display Name.
- In the Repository root URL, enter URL to the offline package.
- Enter Subversion (SVN) Username.
- Select Authentication type as Password.
- Enter SVN Password.
- Click Test Connection to check the connection.
- Click Configure Plan.
The Configure tasks screen is displayed. - Click Add task.
The Task types screen is opened. - Select Script from the list.
- Enter details in the Script Configuration section.
- In the Script body field, enter the command that will initiate the execution of Offline Package. (java –jar qualitiaoffline-x.x.x.jar)
- Click Save.
- Click Add task.
- From the Task types screen, select Inject Bamboo Variables.
- Enter Task Description.
- In the Path to properties file path, enter qer.properties.
This file is auto-generated during execution and placed in the same folder where executable qualitiaoffline-x.x.x.jar exists. - Enter Namespace as per the user understanding.
- Once you have added all the tasks, click Create.
- From the top-right corner, click Actions and then select Configure Plan.
- In the left pane, select Plan Configuration.
- In the right pane, select the Stages tab.
- Click the Default Job link.
All the tasks are listed under the Tasks section. - Select the Artifact tab.
- Click Create Artifact.
The Create Artifact Definition screen is displayed. - Enter Name, Location, Copy Pattern as follows:
- Name: Qualitia Report
- Location:Â ${bamboo.inject.qualitiareportpath}
- Copy Pattern: **/*.
- Click Create.
- Once artifact is defined successfully, click the Run button select Run Now.
Bamboo will start executing your test cases present in the offline package.- To view detailed logs, select the Logs tab.
- To view Qualitia Reports, select the Artifacts tab and then click Qualitia Reports in the Artifacts column.
You can configure the offline package to push the test execution reports into the report database after the test suite execution. This eliminates the manual process of importing offline package execution results in Qualitia automation studio (Reports section). Importing these reports automatically into the automation studio will also enable Qualitia user to view test execution results from the web-based dashboards. In order to push results, the machine which you are using to trigger the test case execution must have access to the machine where Qualitia Server is installed. You must have access to port 8887 from the machine where Qualitia Server is installed. To configure Qualitia offline package to push results into the report database: Open the extracted Qualitia Offline folder of the associated offline package. From the Config Utility folder, open the Qualitia Offline Configuration Manager. On the Setting tab, enter the Qualitia Server URL address.Configuring Offline Package to Push Results into the Report Database
Prerequisites: