Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  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.

Info

BrowserStack does not support all Selenium versions. Qualitia users can use the browserstack.selenium_version capability to specify the version they want to use when executing test cases.
For more information about supported versions of Selenium, please refer to the BrowserStack documentation.


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

...

Test execution reports are launched on the machine from where the execution was triggered after the test case execution is completed. You can view the browser type and browser version on the report displayed.

...

Behind Firewall Applications

Sometimes applications are configured to be accessed within private networks. Such applications deny access when they are being accessed from other than local networks and so from BrowserStack. Executing test cases on BrowserStack for such applications needs special configurations.

...

Once the BrowserStackLocal Unix Executable file is executed successfully, you can execute your Offline tests on BrowserStack environment using the same method mentioned above.

Execution Behind Proxy

Qualitia users can execute the test cases behind a proxy.

In order to execute the test cases behind a proxy, you must configure Proxy Properties in the browserstack.properties file as shown in the screenshot below.

Qualitia users can define these properties using the command line as well.

Image Added

Execution using Browser's Capabilities

...

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:

Execution Reports

Test execution reports are launched on the machine from where the execution was triggered after the test case execution is completed. You can view the browser type and browser version on the report displayed.

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 BROWSERSTACK and execution browser as Firefox 42 on Windows 8.1 report is displayed 55, report appears 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)'.

...