UI Test Supported Commands

Unofficial Content

This list of GXtest commands is designed to control test execution over browser (on desktop and mobile OS). This is achieved using an adaptation layer (External Object) that wraps WebDriver protocol.

This actions to handle test automation over browsers can be grouped in 4 categories:

Driver and Browser Automation

WebDriver: Start and end test sessions (locally or remote) using Web Driver protocol. 

Browser: Set Browser type, handle window size, take screenshots, navigations (back, refresh, forward), etc.

Waits: To wait for specific elements to be present (or visible) on the webpage. 

Timeouts: To set timeouts values (explicit, implicit and page load).

Mouse and Keyboard actions

Click: Send click and double click events for HTML elements.

Type: For text typing into different HTML controls (after clearing the current text)

Select: For choosing options on combo boxes

Keystroke: For sending keys to different HTML controls. 

Mouse Move: To move the mouse pointer to specific position. 

Edit Content: To edit content of special HTML5 controls.


Text, Values and Assertions

Get Text: To get text from HTML controls

Get Value: To get values from HTML controls

Assertions: Combined commands to make validations over different text, values, browser title, or any data. 


Forms, Frames, Alerts and Windows

Windows / Tabs: To manage current windows / tabs working on.

Form Submit: To submit forms

Frames: To choose frames to work with. 

Alerts: To handle Javascript Alerts / Messages / Prompts