Scenario Recording and Editor Guide
The SyncETA Editor captures browser interactions (clicks, text input, page navigation, etc.) in real time and structures the DOM metadata (XPath, CSS Selector, tag attributes) at the moment each event occurs to generate test cases.
1. Definition and Unit of a Scenario
A Scenario is a test unit that completes a specific business flow.
Example: E-Commerce Product Search and Add to Cart
- Visit the main homepage
- Click the search bar and enter a search keyword (
wireless mouse) - Execute the search and load the results list
- Click the first product and navigate to the product detail page
- Click the "Add to Cart" button and verify the confirmation modal
2. Scenario Creation and Recording Procedure
Step 1: Open the Scenarios Menu
- Click the Scenarios menu in the left sidebar.
- Click the New Scenario button in the upper-right corner to open the recording configuration modal.

Step 2: Configure Target Browser and Resolution
- Target URL: Enter the base web address where the test will be performed.
- Recording Browser: Select the browser engine to use for recording (Chrome, Edge, etc.).
- Viewport Resolution: Set the browser resolution applied during recording (e.g., 1920x1080, 1400x800).

Step 3: Configure Event Capture Filters
Specify the event types to capture (clicks, keyboard input, mouse hover, scrolling, etc.). For standard web testing, keep the default recommended settings.

Step 4: Record in Real Time
Once recording starts, a dedicated browser window opens. As you interact with the browser following the actual user flow, event records are sequentially collected in the list at the bottom.

Step 5: Verify Captured DOM Information
Each collected record contains the tag, ID, Class, and absolute/relative XPath information of the target DOM node where the event occurred.

Step 6: Multi-Tab Interaction Support
When a new tab or popup window opens during recording, tab-switch events are automatically detected so multi-tab scenarios can be recorded seamlessly.

3. Adding Wait Conditions
To prevent test flakiness caused by asynchronous network calls (AJAX/Fetch) or UI rendering delays, three types of wait records are supported.
| Wait Type | Description | Recommended Use Case |
|---|---|---|
| Fixed Timeout | Pauses execution for a specified duration (in milliseconds). | Waiting for delayed responses from external system APIs |
| Element Visible (DOM Visible) | Waits until a specific DOM element is rendered on screen. | Waiting for asynchronous layer popups to load |
| Value Match | Waits until the text or attribute of a target element changes to a specific value. | Waiting for processing status (Completed) or order number generation |
How to Add a Fixed Timeout Condition
- Right-click the record where a wait is needed.
- Select Add Wait Condition -> Fixed Timeout and enter the wait duration (ms).



How to Add an Element Visible Condition
- Right-click a record and select Add Wait Condition -> Element Visible.
- Click the target DOM element directly in the recording browser window to select it.



How to Add a Value Match Condition
- Right-click a record and select Add Wait Condition -> Value Match.
- Select the target element in the browser and enter the expected matching text.


4. Adding Assertions
Three types of assertion records are provided to objectively determine whether a test passes or fails.
| Assertion Type | Description |
|---|---|
| Element Visibility Assertion | Verifies that a specific UI component (button, banner, modal, etc.) is properly rendered on screen |
| Element Value Assertion | Verifies that the text, price, or status string of a specific element matches the expected value |
| AI Visual Assertion (Vision AI) | Verifies visual integrity (layout breakage, occlusion) based on captured browser screenshots |
Adding Element Visibility and Value Assertions
Right-click a record, choose the desired assertion method from the Add Assertion menu, and designate the target element.






AI Visual Assertion (Vision AI)
Use this when verifying complex graphics or responsive layout integrity that cannot be checked with text matching alone. When you enter a verification prompt (e.g., "Verify that the search result map area is displayed properly without being obscured"), visual verification is performed during execution based on the captured screen.


5. Editing Scenarios and Resuming Recording
You can continue recording additional actions starting from a specific step in an existing scenario.
- Select the target scenario from the scenario list and click the Edit button.
- Select the reference record from which you want to resume recording.
- The browser launches, automatically replays up to the reference record, and enters standby mode to record additional user actions.



6. Additional Features
- Record Notes (Comments): Add notes describing the test purpose and reference details for each step.

- Recovery Script: Specify an exception-handling JavaScript script to prevent session termination when a specific step fails.

- Dataset Variable Binding: Replace hardcoded input text with dataset variables (such as
).
- Delete and Disable Steps: Delete unnecessary records or temporarily exclude them from execution.

