Table of Contents |
---|
...
- Open the qualitia.properties file from the config folder of offline package.
- Set ExecutionEnvironment as browserstack.
...
Once the qualitia.properties file is updated, you must configure the browserstack.properties file in order to execute offline package in the BrowserStack environment.
...
- Open the browserstack.properties file.You can either enter
- the custom_browserstack_url or you can enter custom_username and custom_accesskey.
In case you specify both, URL will be used when execution overriding custom_username and custom_accesskey.
You can create the custom_browserstack_url using username and access key as shown in the screenshot below.
Set properties "custom_username", "custom_accesskey" to valid values with reference to BrowserStack's active user account. - Set "OS", "OS_Version", "browser", and "version" to the corresponding OS, browser, and browser version that you want your offline package to execute on.
For example, if you want your offline package to execute on Windows 10, Internet Explorer 11 then set keys as follows:
- OS=Windows
- OS_Version=10
- browser=iexplore
- version=11
Note |
---|
If you are providing these values through command line, each value should be provided within double quotes if values are containing spaces; otherwise, the spaces in values will result in inconsistencies. For example, java -jar qualitiaoffline-xxx.jar platform="Windows 8.1". The OS/OS_Version properties override the values set for Platform property. For example, if you have set the OS/OS_Version properties as Windows/10 and the property for Platform is set as Windows 8, then offline Package is executed on Windows/10. For more information on platforms, browsers, browser versions supported on BrowserStack, see the following: https://www.browserstack.com/list-of-browsers-and-platforms?product=live. |
...
Once all the configuration settings are done successfully, you can now execute test cases on BrowserStack.
Executing Offline Package
...
You can record your test case execution configuring the browserstack.properties file accordingly. If you set the recordVideo value as true and all the test case executions will be recorded. You can download these videos once the test execution is completed.
Execution Reports
...
For example; if you want to change the version of the browser to be used for test execution, remove the # sign located prior to the version and enter the version number against it.
Qualitia gives you provision to set these values for Selenium. Selenium has its own control on what value to use and how to reflect them in Execution Browser. For more information about Selenium Capabilities, refer following links:
https://code.google.com/p/selenium/wiki/DesiredCapabilities
https://sites.google.com/a/chromium.org/chromedriver/capabilities
Reports
Execution reports display OS and Browser with their corresponding versions on its summary page along with the execution environment used. For example, if you have chosen execution as Sauce and execution browser as Firefox 42 on Windows 8.1 report is displayed as follows;
Note |
---|
|
...