Component Discovery — Automated Interaction Testing
Component Discovery goes beyond a crawl: it interacts with your application’s components to understand their behavior and generate meaningful test scenarios.
Overview
Section titled “Overview”While a crawl finds what components exist, Discovery answers how they behave. It simulates clicks, form fills, hovers, and other interactions to map out your application’s interactive behavior.
Running a Discovery Session
Section titled “Running a Discovery Session”-
Start from a crawl
Open a finished crawl on the States tab (see Learning your app). Discovery builds on the components the crawl found.
-
Select components
On a screen, select the components you want to discover.
-
Launch discovery
Click Discover (it shows how many components are selected). InsightJet will:
- Interact with each selected component
- Record the DOM mutations caused by each interaction
- Capture video recordings of each interaction
- Detect state transitions and new components that appear
-
Review scenarios
Each interaction produces a scenario describing:
- What was clicked/interacted with
- What changed on the page (mutations)
- Whether a state transition occurred
- Video recording of the interaction
Chained Discovery
Section titled “Chained Discovery”For complex applications, Discovery supports multi-stage chaining:
- Stage 1: Interact with initial components
- Detect transitions: If interactions cause new pages or states to appear
- Stage 2+: Automatically discover components in the new state
This allows InsightJet to map multi-step user flows like:
- Login → Dashboard → Settings
- Product list → Product detail → Add to cart
Scenario Results
Section titled “Scenario Results”Each discovery scenario includes:
- Action: What interaction was performed (click, type, hover)
- Target Component: Which component was interacted with
- Mutations: DOM changes detected (added, modified, removed elements)
- Video Recording: Playback of the actual interaction
- State Transition: Whether the interaction navigated to a new page/state
Video Recordings
Section titled “Video Recordings”Every interaction is recorded as a video. You can:
- Play back individual scenarios
- See exactly what happened during the interaction
- Identify unexpected behaviors or visual glitches
- Share recordings with your team
From Discovery to Test Cases
Section titled “From Discovery to Test Cases”Discovery results feed directly into Test Case Generation. The scenarios and mutations detected during discovery become the foundation for automated test cases.