Writing scenarios on local PC

On this page

Windows PC connections are supported only in the web version of Stego (app.apptest.ai/stego).

A scenario consists of multiple Steps. Each Step defines an Action and a target UIObject.

  • Action: The operation to perform (e.g., Click, Scroll, Input)
  • UIObject: The UI element the action applies to

Because Remote Connection supports screen mirroring, you can create scenarios the same way you do in Stego Desktop.

For more details, see Writing scenarios.

When connected to a Local Desktop, screen mirroring is not available.
UI elements are recognized only while recording.

To create scenarios in this mode, use the Record feature.

Start recording

You can start recording using any of the options below, then continue creating your scenario. When recording begins, the Stego web window is automatically minimized.

  • Button: Click Start Recording in the Device tab
  • Tab switch: Click the Record tab
  • Shortcut: Press F8

Stop recording

To stop recording, choose one of the options below.
When recording ends, Stego web automatically restores the window.

  • Button: Click Stop Recording
  • Tab switch: Move to the Device tab or UIObject Selector tab (Recording stops automatically when you switch tabs.)
  • Shortcut: Press F9

Record steps

Stego detects your mouse and keyboard actions and automatically creates scenario steps.
You can record actions using keyboard shortcuts (Alt) or the Helper Menu (F10).

1. Shortcut Mode (Quick Actions)

Hold Alt to highlight detectable UI elements (UIObjects) with a red outline.
Combine mouse actions with shortcuts to quickly create steps.

ActionShortcut / InteractionDescription
ClickAlt + Left ClickCreate a Click (Left) step on the target element
Right ClickAlt + Right ClickCreate a Click (Right) step
ScrollAlt + Wheel ScrollCreate a Scroll step based on scroll direction and distance
Scroll ToAlt + Wheel Scroll → Alt + Left ClickScroll to the target, then create Scroll To and Click steps
HoverAlt + HCreate a Hover step on the target element
InputAlt + IEnter text in the center input box and press Enter to create an Input step
–Alt + SAnalyze the current screen (no step created). Results appear in UIObject Selector

You can customize shortcuts in ReX Agent > Settings.

2. Helper Menu

Press F10 to open the Helper Menu.
This is useful when you need to launch the app you want to test.

  1. Press F10 on the device screen to open the menu.
  2. Select an action icon (e.g., Click, Hover).
  3. Behavior depends on the selected mode:
  • Click / Hover
    • UI elements are automatically highlighted (no need to hold Alt).
    • Click a target element to immediately create the selected step.
  • Input
    1. Hover over the input field.
    2. Press F10 and select Input.
    3. Enter text in the pop-up input box at the center of the screen and press Enter.
    4. Stego fills the input field and creates an Input step.
  • Launch
    • Select an executable file (.exe) from the file explorer.
    • The app launches and a Launch step is created.
  • AI Screen Analysis
    • Captures and analyzes the current screen for use in UIObject Selector (same as Alt + S).

Verify recording and troubleshooting

When a step is recorded successfully, Stego shows a toast notification in the bottom-right corner.

If you don’t see a notification after recording, check your browser and Windows notification settings.

Chrome

  1. Go to ⋮ > Settings > Privacy and security > Site settings > Notifications.
  2. Ensure https://app.apptest.ai/stego appears under Allowed.
    If not, click Add and register the URL.

Microsoft Edge

  1. Go to … > Settings > Cookies and site permissions > All sites > Notifications.
  2. Ensure https://app.apptest.ai/stego appears under Allow.
    If not, click Add and register the URL.

Windows 11

  • System notifications:
    Settings > System > Notifications → Notifications must be On
  • Do Not Disturb:
    Do Not Disturb and Turn on automatically must be Off
  • App permissions:
    Settings > Privacy & security > Notifications
    Both Notification access and Allow apps to access notifications must be On

Windows 10

  • System notifications:
    Settings > System > Notifications & actions →
    Get notifications from apps and other senders must be On
  • Focus Assist:
    Settings > Focus Assist →
    Set Focus Assist to Off and disable all Automatic rules