GXtest UI Test for Web - Supported Commands

Official Content

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

This actions to handle test automation over browsers can be grouped into 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 timeout 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.


Verify Element Present: To validate the presence of an element.

Verify Element Not Present: To validate that an element is not present. Waits for explicit timeout to succeed.

Verify Element Enabled: To validate that an element is enabled.

Verify Element Disabled: To validate that an element is disabled.

Verify Element Visible: To validate that an element is visible. 

Verify Element Not Visible: To validate that an element is not visible. 

Verify Element Focused: To validate that an element has the focus. 

Verify Element Not Focused: To validate that an element hasn't the focus. 

Verify Element Text: To validate the text of an element. 

Appear Text: To validate that a text appear on web page. 

Not Appear Text: To validate that a text does not appear on web page. 

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