Skip to main content

Debug using an interactive session

View, interact, and debug any ongoing test session using an interactive session.

An interactive session lets you view, interact, and debug any ongoing test session on the Automate TurboScale platform.

Overview

You may encounter bugs and issues as part of running test scripts for testing websites or applications. The typical debugging process involves verbose logging and assessing the logs for clues that might help us mitigate the issues.

Though this seems logical to resolve an issue, it may only work for some kinds of issues. In some cases, where the test fails due to the presence or absence of a visual element that is not factored as part of the test script, the verbose logs would fail to help.

As part of exploratory testing, you can add a breakpoint in your test script and start manual testing from that point forward.

Using an interactive session, you can:

  • View live test execution on BrowserStack to observe how an Application Under Test (AUT) behaves during test execution.
    For example, viewing the Google search test execution visually asserts that your test scripts run as expected.
  • Interact with the application to click buttons, pop-ups, or any other application element while the test runs.
    For example, manually closing unexpected pop-ups encountered during automated test execution.
  • Inspect the source code of an AUT to view the ID of any visual element, variable value, etc.
    For example, check the ID of the Google Search button to update the test script.

Supported OS and Frameworks

The following table lists the supported OS and framework where you can use interactive sessions.

Component Versions
Windows platform v10
Linux -
Selenium Framework All versions

Interactive debugging

The interactiveDebugging capability allows you to debug interactively while a session is in progress.

The following table explains how to enable/disable it for various devices:

Platform Accepted value
Desktop Default: false. Set true to disable.

Start an Interactive Session

To start an interactive session for any test on the Automate TurboScale dashboard, you need to complete the following steps:

  1. Run your test script in your IDE.
  2. Navigate to your ongoing Automate TurboScale session page and click Start an interactive session.
  3. After an interactive session starts, perform any manual testing task in the interactive window on the Automate TurboScale session page.
  4. Click Stop Interactive Session to stop the manual testing session.

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