Skip to main content
ServiceAutomation
Availability2014.1 or later

Prerequisites

Checks before recording

Record a Scenario with the RPA Bot Recorder

Fastest path from browser

RPA Bot Recorder Settings

Recorder options to configure

Selenium Examples

Code samples for scripted scenarios

Record and Deploy a Synthetic User Scenario

GermainUX Click uses Selenium to record, deploy, schedule, and monitor synthetic user scenarios. A scenario reproduces a critical workflow—such as login, search, checkout, or document access—so GermainUX can verify continuously that it remains available and functional. You can create a scenario in three ways:

Prerequisites

Before creating a scenario, confirm that:

Configure the Browser Driver

Place the driver executable in:
Configure driverPath to reference the executable. For example:
For Chrome, the driver can also be configured as an Engine JVM option:
The browser and WebDriver versions must be compatible. Revalidate compatibility whenever either component is upgraded.

Browser Resources

Internet Explorer Requirements

Internet Explorer is relevant only to supported legacy environments. When it is required:
  • Configure the same Protected Mode value for every security zone.
  • Disable Enhanced Protected Mode for Internet Explorer 10 or later.
  • Set the browser zoom level to 100%.
  • Set the Windows display scaling to 100%.
  • For Internet Explorer 11, configure the FEATURE_BFCACHE registry entry so the driver can maintain its browser connection.
For 32-bit Windows:
For 64-bit Windows:
Create the FEATURE_BFCACHE subkey if it does not exist. Within it, create a DWORD named iexplore.exe with a value of 0.

Record a Scenario with the RPA Bot Recorder

The GermainUX RPA Bot Recorder is the fastest way to create a scenario from browser interactions.

Record the Workflow

  1. Go to GermainUX Workspace -> Automation -> Click.
  2. Select Record (with Click Recorder).
  3. If the extension is not installed, install the GermainUX RPA Bot Recorder.
  4. Select Record (with Click Recorder) again after installation.
  5. Open the target application and perform the workflow you want to monitor.
  6. Stop the recording when the workflow is complete.
  7. Export the recorded scenario.
Export behavior depends on whether GermainUX Workspace is open:

Configure and Deploy the Scenario

Complete the Click wizard:
  1. Enter the scenario name and application.
  2. Optionally configure an SLA duration in seconds. GermainUX can alert when execution exceeds this threshold.
  3. Optionally select a portlet and dashboard on which to display the results.
  4. Select the browser.
  5. Enter the WebDriver path, such as /usr/bin/chromedriver.
  6. Select the Monitoring Node and GermainUX Engine that will run the scenario.
  7. Configure the execution schedule.
  8. Select Finish to deploy the scenario.
RPA Bot Recorder overview video (no longer available).

Import a Recorded Scenario

Use this option when the recorder exported a JSON file or when you want to redeploy a previously recorded scenario.
1

Go to GermainUX Workspace -> Left Menu → Settings ->Automation -> Click

2

Select Import (from Click Recorder)

3

Enter the scenario and application names

4

Import the recorded JSON file

5

Optionally configure an SLA duration

6

Optionally select a portlet and dashboard

7

Select the browser and WebDriver path

8

Select the Monitoring Node and Engine

9

Configure the schedule

10

Select Finish

Create a Scenario with a Custom Rule

Use a custom rule when the scenario requires custom Selenium code, conditional logic, multiple windows, JavaScript execution, or interactions that the recorder cannot represent reliably.
  1. Go to GermainUX Workspace -> Left Menu → Settings —>Automation -> Click.
  2. Select Custom (Rule).
  3. Enter the scenario and application names.
  4. Add the Selenium code that executes the workflow. See the Selenium documentation.
  5. Optionally configure an SLA duration.
  6. Optionally select a portlet and dashboard.
  7. Select the browser and WebDriver path.
  8. Select the Monitoring Node and Engine.
  9. Configure the schedule.
  10. Select Finish.

RPA Bot Recorder Settings

Export

Select Export to send the current recording to the Click wizard or save it as a JSON file, depending on whether GermainUX Workspace is open.

Import

Select Import to load a previous recorder export and continue adding interactions to it.

Recording and Replay Settings

Selenium Examples

Complete a Login Form

Example page:
Example Selenium code:
Use secure GermainUX credential references for production scenarios instead of embedding usernames or passwords directly in a rule.

Send a Keyboard Shortcut

Execute JavaScript

The js JavaScript executor is already available in the scenario context and does not need to be initialized again.

Handle Failures

Exception handling with Java-style try/catch is not supported in MVEL-based Click rules. Do not use code such as the following in an MVEL scenario:
In GermainUX versions that support JavaScript-based Selenium scenarios, use JavaScript instead of MVEL when the workflow requires structured exception handling.

Validate a PDF Opened in Another Tab

To validate a PDF or document that opens in another browser tab:
1

Record or create the action that opens the document

2

Retrieve the available window handles with Selenium

3

Switch the driver to the newly opened tab or window

4

Validate the document, URL, title, or expected content

5

Return to the original window if the workflow continues there

This approach works for Salesforce and other applications that open documents, authentication flows, payment pages, or external content in a new tab.

Get Help

Contact GermainUX Support

The Germain Team can help you set this up.

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.