Skip to main content
Skip table of contents

Troubleshoot Synthetic Scenario

Selenium script blocked due to windows security?

Problem

If your Germain RPA Bot script (powered by Selenium) fails to run due to some Windows Security constraints, i.e. you are getting the “Windows Security” dialog box while running via web driver MS Edge Webdriver, here is a solution for you.

Solution

  1. Server updated with below 2 regex entries.

    1. Registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client.

      Create a DWORD value with the name RemoteDesktop_SuppressWhenMinimized and set its value to 2.

    2. Registry key HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Terminal Server Client, Create a DWORD value with the name RemoteDesktop_SuppressWhenMinimized and set its value to 2.

  2. Germain Engine started in Foreground with an active RDP Session to Windows server from SAW Machine.

Catch a failure

Problem

Trying to capture an Exception/failure in a Synthetic scenario using Mvel won’t work (it is not supported):

CODE
try {
  wait.until(ExpectedConditions.elementToBeClickable(By.partialLinkText("Find Customer")));

  wait.until(ExpectedConditions.not(ExpectedConditions.presenceOfAllElementsLocatedBy(By.className("siebui-busy"))));
  log.info("**************************************************try****************");
} (Exception ex){
    log.info("**************************************************catch****************");
}

Solution

In more recent version of Germain, you can create these selenium scripts in Javascript (instead of Mvel):

  • Full script

synthetic_scenario_script.txt

  • Explanation

synthetic_scenario_script_guide.txt

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.