Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

Table of Contents
maxLevel2
minLevel2

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.

Multiexcerpt include macro
namePushResultsToQASServer
pageJenkins