Skip to content

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.

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.

  1. Start from a crawl

    Open a finished crawl on the States tab (see Learning your app). Discovery builds on the components the crawl found.

  2. Select components

    On a screen, select the components you want to discover.

  3. 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
  4. 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

For complex applications, Discovery supports multi-stage chaining:

  1. Stage 1: Interact with initial components
  2. Detect transitions: If interactions cause new pages or states to appear
  3. 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

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

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

Discovery results feed directly into Test Case Generation. The scenarios and mutations detected during discovery become the foundation for automated test cases.