Scan with WebDriver

Your application has various controls, which are elements that Tosca Cloud interacts with when you run your tests. To make this possible, you must first scan your application. This gets the necessary technical data into Tosca Cloud.

This topic explains how to scan

Start the scan

To start the scan, follow these steps:

  1. Select Build on the left menu bar.

  2. Select All assets or Modules from the menu. You can also find All and Modules as tabs in the Inventory page. These options are equivalent when it comes to scanning.

  3. Select Create >  Module (Scan).

  1. Depending on your use case, select Browser, Application, or Debug Port.

  2. Select the window you want to scan and then select Scan.

Use BrowserStack

To use BrowserStack to scan modules, follow these steps:

  1. In Tosca XScan, select Settings.

  2. Under XBrowser: WebDriver: BrowserStack, enter the following information:

    • Access Key

    • Hub Address

    • Username

  3. Close the Settings window and select Browser.

  4. Define the following parameters:

    Parameter

    Description

    Hub address

    Select BrowserStack.

    Browser

    Select the browser type you want to start (Chrome, Edge, Firefox, or Safari).

    Browser version

    Select the browser version number you want to start.

    OS

    Select the operating system where browser will start.

    Debug Port

    Enter the debug port of an already running embedded Chromium application.

    WebDriver Path

    Enter the path to the WebDriver file. If you don't enter a path, Tosca Cloud uses the default location.

    URL

    Enter URL of the website you want to scan.

  5. Select Open Browser to open a browser for scanning.

What's next

Now that you have WebDriver modules, you can start creating tests for remote browsers or embedded applications.