Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 7

Table of Contents

...

  1. Open the qualitia.properties file from the config folder of offline package.
  2. Set ExecutionEnvironment as browserstack.

...

Image Added

Once the qualitia.properties file is updated, you must configure the browserstack.properties file in order to execute offline package in the BrowserStack environment.

...

  1. Open the browserstack.properties file.You can either enter
  2. the custom_browserstack_url or you can enter custom_username and custom_accesskey.
    (warning) In case you specify both, URL will be used when execution overriding custom_username and custom_accesskey.
    (info) You can create the custom_browserstack_url using username and access key as shown in the screenshot below.
    Image RemovedSet properties "custom_username", "custom_accesskey" to valid values with reference to BrowserStack's active user account.
  3. 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.

...


Image Added
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.

Image RemovedImage Added

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.

Image RemovedImage Added

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;
Image Removed Image Added

Note
  • For Execution through remote environment, OS version is not displayed.
  • For execution through any environment on Linux, OS version is not displayed.
  • For execution on local environment on Windows 8.1, the OS details are shown as 'Windows NT (UNKNOWN)'.

...