BrowserStack enables testing of your website for cross browser compatibility on real browsers. Instant access to multiple desktop and mobile browsers.  Learn how to configure Selenium  profiles in Rapise to enable connection to BrowserStack services.

Requires Rapise 5.3+

To enable running  cross-browser tests on BrowserStack  open Selenium Settings dialog (Ribbon > Options > Selenium Settings), choose the profile or create a new one and specify BrowserStack Url: https://hub-cloud.browserstack.com/wd/hub.  Also specify browserName parameter.

 

 

Then in *.user.js file of your test specify additional capabilities required to connect to BrowserStack.

function GetWebDriverNonProfileCapabilities(profile)
{
    var caps = {};
    if (profile == "Browserstack")
    {
        caps["browserstack.user"] = "<user name>";
        caps["browserstack.key"] = "<access key>";
        caps["device"] = "Google Nexus 6";
        caps["realMobile"] = "true";
        caps["os_version"] = "6.0";
    }
    return caps;
}

This function receives the name of a configured profile and must return capabilities required to connect to a remote browser at BrowserStack.

If everything is configured correctly Rapise will be able to connect to a browser target via Selenium WebDriver. You'll be able not only execute a cross-browser test but also analyze a web application using Web Spy.

By running with screenshots enabled you are aware what happened on a device on each test step.

 

Attachments

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 1/30/2018
  • Article ID: KB322
  • Views: 128