Versions Compared

Key

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

Prerequisites :

  • User should be on the Home screen of the BQ platform.

  • Postman application should be installed onto the machine.

Step-by-step guide (BQ Integration with CICD Tools)

...

Click on Setup.

...

Enter meta-data for below fields :

...

Name

...

Add-On Type (CiClient selected by default)

...

Description

...

Info

In the CI/CD tool, please use https://app.bqurious.com/api2/ci/executeFromCi/ as the request URL for POST and https://app.bqurious.com/api2/ci/fetchSummaryResult/ as the request URL for POST.

...

Bq provides integration with your CI/CD pipelines by way of exposed REST APIs.

Please refer to Integrating with CICD pipeline for integrating the CI/CD tool.

Instructions to Create Execution Plan in BQ Platform

...

  1. Click on Execution on left panel.

    Image RemovedImage Added

  2. Click on Execute Automated Test.
    Image Removed

    Image Added

  3. Select the Suite to execute.
    Image Removed

    Image Added

  4. Select Test Case(s) from the selected Test Suite.
    Image Removed

    Image Added

  5. Enter meta data for Execution Details section :

    1. Run Name

    2. Executing in Sprint

    3. Build Number (optional)

    4. Browser Instances (1, selected by default)

    5. Distribute Across Machines (optional)

    6. Execution Tags (if any)

    7. Email Execution Report To (optional)
      Image Removed

      Image Added

  6. Select the browser / Simulator / Real device under Execution Machine(s) section.
    Image Removed

    Image Added

  7. Click on Save Plan.
    Image Removed

    Image Added

  8. Click on Plans on right side.
    Image Removed

    Image Added

  9. Copy the Access Token displayed with the associated plan.
    Image Removed

    Image Added

  10. Create an API to execute using POST url https://app.bqurious.com/api2/ci/executeFromCi/

  11. Use this Access Token as the runToken under Body tab (Body > Raw), in CICD Tools.
    Image Removed

    Image Added

  12. If App download from the URL and build no. is dynamic then we will use a variable in Url. 
    Image Removed

    Image Added

  13. If Authentication is Required in Execution, user has to set the variable USER_NAME and PASSWORD in json format in CICD Tools.
    Image Removed

    Image Added

  14. Click on Send button on the CI/CD tool to execute the tests.
    Image Removed

    Image Added

  15. Copy the execToken from the result.
    Image Removed

    Image Added

  16. Create another API for fetching the execution result using POST urlhttps://app.bqurious.com/api2/ci/fetchSummaryResult/ and use the execToken in the Body (raw) 
    Use same Bearer Token for authentication.

  17. Click on Send button.
    You should get result like this
    Image Removed

    Image Added

Filter by label (Content by label)
kb-how-to-article
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10213showSpacefalse
sortmodified
typeshowSpacepagefalse
reversetruelabels
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "BSD"
labelskb-how-to-article