Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Run Tricentis Tosca tests with Automate

A step-by-step guide to running Tricentis Tosca tests with BrowserStack Automate

BrowserStack's AI-powered low-code testing

Checkout our AI-enabled and intuitive low-code recorder for scalable, reliable test execution

Try Low Code Automation

Tricentis Tosca accelerates testing with a scriptless, no-code approach for test automation. Integrating Tricentis Tosca with BrowserStack helps you run test scripts recorded on Tricentis Tosca on BrowserStack devices and desktop browsers.

Prerequisites

  • BrowserStack Username and Access Key to set up the BrowserStack integration. After logging into your BrowserStack account, visit the Settings page and copy your Username and Access Key. You can also sign up for a free trial here.
  • A registered account at Tricentis. You can sign up for a demo account here. You need to download Tosca + ARA (Automation Recording Assistant).

Integration steps

To run your test on BrowserStack:

  1. Select your test and update the test configuration details. Select PROJECT > Settings > TBox > Engines > XBrowser > WebDriver > BrowserStack and add your BrowserStack Username and Access key as specified in your Account Settings.

    BrowserStack credentials

    Add HubAddress and set its value to BrowserStack in the Test Configuration. Set BrowserStack hub address

    Run the test and view the test execution on BrowserStack’s Automate Dashboard. BrowserStack Automate dashboard

  2. Follow these rules while setting the browser and OS capabilities:

    • Set the Browser to Chrome (This is the TCP browser, which is a mandatory parameter for the test to be triggered from Tosca).
    • Set the other desired capabilities using the format Webdriver_<capabilityname>. To specify the browser capabilities, you can use our capability generator.
    • Sample capabilities for Chrome desktop: Chrome sample capabilities
  • The capabilities that contain a β€˜.’ need to be replaced by a double underscore β€˜__’. More details are available on the Tricentis documentation page. For example, use Webdriver_browserstack__local instead of browserstack.local.
  • To improve performance, set Fibermode as TRUE in Tosca. It reduces the non-essential Selenium requests that Tosca otherwise generates.

Enable local testing

  1. Refer to these instructions to initiate local testing.

  2. Set the browserstack local capability as true in the desired capabilities:

WebDriver_browserstack__local: `true`

Scan using BrowserStack sessions

To scan with Tosca XScan using a BrowserStack session:

  1. Initiate Tosca XScan to record your actions and create the test steps. Right-click a Module folder or use the dynamic menu Modules and select Scan > More > Web Driver. Tosca Scan Modules folder

  2. When the XScan window is visible, click on Browser > Scan. Tosca Scan Browser scan

  3. Select BrowserStack in the hub address. Along with this, you can set the browser, browser_version, and the OS. You can also add the URL of the page that you intend to scan. Note that the Username, access key, and Hub URL were set in Project > Settings. Tosca Select Hub Address

  4. Select the window you want to scan and click the Scan button to start scanning the application. Select Window and Scan Applications

  5. You can see all the items scanned from the web application page. Select these items and save it. Select items and save

  6. You can see the scanned modules that you can use to create your tests. View Scanned modules

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle