Auto-tools/Projects/Mozmill/Mozmill 2.0/NativeEvents

From MozillaWiki
Jump to navigation Jump to search

We need a way to automate testing that interacts with the native OS.

To do this, we ideally need the following

  • Native "agent" application on each target OS (windows, linux, mac)
    • Agent communicates with mozmill (via jsbrige?)
    • Agent can take a command from mozmill to tell the OS to fire an event type at a certain screen location
    • Agent can be set (from Mozmill) to expect certain OS events to occur, mozmill can initiate said events and get a callback that the event either occurred or the agent timed out waiting for the event to occur (i.e. the event was lost)
    • Agent can expose a system level interface to work with system level dialogs (possibly post-2.0 feature addition)

Non-Goal

  • Dealing with "faking focus"
  • Becoming the primary event generation mechanism for mozmill