How to integrate with BrowserStack?

Integrating BrowserStack to the BQ Platform is an additional feature provided by BQ.

 

Steps to Create BrowserStack credentials :

  1. Login with Bqurious user credentials

  2. Click on Setup

  3. Click on Credentials

  4. Click on Add Credentials

  5. Set the credential Name

  6. Select BrowsetStack as the Credentials Type in the drop-down

     

  7. Enter your BrowserStack credentials in the username and password fields.
    Username will be the one displayed under settings on BrowserStack (as highlighted below)

  8. Enter the access key provided by BrowserStack in the Access Token field.
    You can find it under BrowserStack Settings.



  9. Enter https://api.browserstack.com/ in the Provide Url field.

  10. Click on Save.

Please note that once you save the BrowserStack credentials, your access key won’t be visible in the Access Token field.

Incase you receive this error “Unable to parse remote response: Authorization required“ while executing on BrowserStack, please re-check your username.
It should be the username displayed under BrowserStack settings and not your email id.

Incase you receive this error “Invalid username or password (WARNING: The server did not provide any stacktrace information)“ while executing on BrowserStack, please ensure that the token provided is correct.

Steps to Execute tests on BrowserStack :


Pre-requisites :

  • Test case should already be created.

  • Created test should be added to the test suite.

  1. Navigate to the Execution screen by clicking on Execute > Execute Automated Tests.

  2. Select the suite and the test case.

  3. Enter the Run name

  4. Select tag (if used in any test case)

  5. Click on Expand Execution Machines

  6. Select BrowserStack in the provider dropdown.

  7. Select the created BrowserStack credentials from the Credential dropdown.



  8. Click on Refresh icon for the desired machine.
    The below pop up will be displayed.



     

  9. Select the desired browsers / devices for the provided OS.

  10. Click on Done.

  11. Click on Run Selected/Run All button to execute tests on BrowserStack.

 

 

Configuring Appium version to execute mobile tests on BrowserStack :

  1. Right-click on the client icon.

  2. Click on Setup

  3. Under General tab, you will see a field named Appium Version

  4. Click on Edit.

  5. Enter the desired appium version

  6. Click on Save.

Â