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. Open the test case building area by selecting Create test case in the menu bar on the left.

  2. Select Modules and then + Create module.

  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.