How to integrate with BrowserStack?
Integrating BrowserStack to the BQ Platform is an additional feature provided by BQ.
Â
Steps to Create BrowserStack credentials :
Login with Bqurious user credentials
Click on Setup
Click on Credentials
Click on Add Credentials
Set the credential Name
Select BrowsetStack as the Credentials Type in the drop-down
Â
Enter your BrowserStack credentials in the username and password fields.
Username will be the one displayed under settings on BrowserStack (as highlighted below)Enter the access key provided by BrowserStack in the Access Token field.
You can find it under BrowserStack Settings.Enter https://api.browserstack.com/ in the Provide Url field.
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.
Navigate to the Execution screen by clicking on Execute > Execute Automated Tests.
Select the suite and the test case.
Enter the Run name
Select tag (if used in any test case)
Click on Expand Execution Machines
Select BrowserStack in the provider dropdown.
Select the created BrowserStack credentials from the Credential dropdown.
Click on Refresh icon for the desired machine.
The below pop up will be displayed.Â
Select the desired browsers / devices for the provided OS.
Click on Done.
Click on Run Selected/Run All button to execute tests on BrowserStack.
Â
Â
Configuring Appium version to execute mobile tests on BrowserStack :
Right-click on the client icon.
Click on Setup
Under General tab, you will see a field named Appium Version
Click on Edit.
Enter the desired appium version
Click on Save.
Â