Skip to main content
ServiceAutomation
Availability2014.1 or later

Problem

Why Windows scenarios fail

Solution

Registry fixes for desktop

Problem

Other scenario failure causes

Solution

Remedy for the failure
This page describes solutions for common GermainUX synthetic-scenario issues involving Windows desktop sessions and exception handling.

Scenario Blocked by Windows Security or an Inactive Desktop Session

Problem

A Selenium-based GermainUX RPA Bot scenario fails to run on Windows or Microsoft Edge because:

Solution

For scenarios that require an interactive Windows desktop:
  • Run the GermainUX Engine in the foreground.
  • Maintain an active RDP session to the Windows server.
  • Ensure that the Engine account has the permissions required to launch and control the browser.
  • Configure Windows so the remote desktop is not suppressed when the RDP client is minimized.
Registry changes should be reviewed and performed by an authorized Windows administrator. Back up the applicable registry keys before making changes.

Configure the RDP Client Registry

On the Windows machine running the RDP client used to maintain the Engine session, configure the following registry locations.

64-Bit Registry Location

Create this DWORD value:

32-Bit Compatibility Registry Location

Create the same DWORD value: After applying the changes: If a Windows Security dialog still appears, confirm that authentication, browser policies, credential access, and the Engine service account are configured correctly.

Catch a Scenario Failure

Problem

Java-style try/catch exception handling is not supported in MVEL-based synthetic scenarios. For example, the following pattern cannot be used reliably in an MVEL scenario:

Solution

In GermainUX versions that support JavaScript-based Selenium scenarios, implement the scenario in JavaScript when structured exception handling is required. JavaScript scenarios can use try/catch to:
  • Capture element lookup or timeout failures.
  • Add contextual logging.
  • Record a custom failure event.
  • Take a screenshot.
  • Perform cleanup or recovery.
  • Rethrow the error so GermainUX records the scenario as failed.
Use these resources: After converting the scenario:

Get Help

Contact GermainUX Support

The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.

Can't find what you need?

Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.

The content of this document is proprietary to GERMAIN SOFTWARE.