Document toolboxDocument toolbox

Header

Bamboo

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.

On this page:

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:

  1. From the top menu items, click Create and select Create plan.
    The Configure Plan screen is displayed.
  2. In the Project and build plan name section, enter project and plan details.
  3. In the Repository Host section, select Subversion.
  4. Enter Display Name.
  5. In the Repository root URL, enter URL to the offline package.
  6. Enter Subversion (SVN) Username.
  7. Select Authentication type as Password.
  8. Enter SVN Password.
  9. Click Test Connection to check the connection.
  10. Click Configure Plan.
    The Configure tasks screen is displayed.
  11. Click Add task.
    The Task types screen is opened.
  12. Select Script from the list.
  13. Enter details in the Script Configuration section.
    1. In the Script body field, enter the command that will initiate the execution of Offline Package. (java –jar qualitiaoffline-x.x.x.jar)
    2. Click Save.
  14. Click Add task.
  15. From the Task types screen, select Inject Bamboo Variables.
    1. Enter Task Description.
    2. 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.
    3. Enter Namespace as per the user understanding.
  16. Once you have added all the tasks, click Create.
  17. From the top-right corner, click Actions and then select Configure Plan.
  18. In the left pane, select Plan Configuration.
  19. In the right pane, select the Stages tab.
  20. Click the Default Job link.
    All the tasks are listed under the Tasks section.
  21. Select the Artifact tab.
  22. Click Create Artifact.
    The Create Artifact Definition screen is displayed.
  23. Enter Name, Location, Copy Pattern as follows:
    • Name: Qualitia Report
    • Location: ${bamboo.inject.qualitiareportpath}
    • Copy Pattern: **/*.
  24. Click Create.
  25. 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.

Configuring Offline Package to Push Results into the Report Database

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.

Prerequisites:

  1. 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.

  2. 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:

  1. Open the extracted Qualitia Offline folder of the associated offline package.

  2. From the Config Utility folder, open the Qualitia Offline Configuration Manager.

  3. On the Setting tab, enter the Qualitia Server URL address.

Footer