Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

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)

  1. Click on Setup.

  2. Click on Add On (s).

  3. Click on Add Add-on button.

  4. Enter meta-data for below fields :

    1. Name

    2. Add-On Type (CiClient selected by default)

    3. Description

    4. Comma Separated List of IP's (enter ip address of all the machines user wishes to allow for CI/CD. You can look up for the machine(s) ip address by typing my ip on google)

  5. Click on Save.

  6. Once user clicks on Save button, the Api Key and Secret Key will be auto-generated.

  7. Copy the Secret Key and use it as Authorization with Bearer Token in CICD Tools.

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.


Step-by-step guide (Create Execution Plan in BQ Platform)

  1. Click on Execution on left panel.

  2. Click on Execute Automated Test.

  3. Select the Suite to execute.

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

  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)

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

  7. Click on Save Plan.

  8. Click on Plans on right side.

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

  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.

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

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

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

  15. Copy the execToken from the result.

  16. Create another API for fetching the execution result using POST url https://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



  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.