You need to install Bamboo in order to execute offline package using Bamboo.
Bamboo Installation
Please use the link to download and install Bamboo.
Start and Configure Bamboo
Once you have installed Bamboo on your system, navigate to the installed location and execute the bin\start-bamboo.bat using command line.
If you use Bamboo as a service, you will not be able to see the browser during test case execution. So, it is recommended to start Bamboo executing the start-bamboo.bat using command line.
Once you have executed the the bin\start-bamboo.bat command successfully, a Tomcat window will be displayed.
Refer to this link for step-by-step configuration guide.
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 a new 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-4.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-4.x.x.jar exists.
Enter Namespace as per the user understanding.
- Once you have added all the tasks, select the Yes please! check box and then 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 Artifact Definition.
The Create Artifact Definition screen is displayed. - Enter Name, Location, Copy Pattern and then 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.