List of Commands


Go

Navigate the browser to the specified location

Options are:

Click {object}

Click on the specified object

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Click V[Login

Click Login-button

Set {object} {value}

Set the specified object to the specified value

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

The {value} parameter can be the actual value or reference a key in the DATA section of the config file

Example:

Set UserId TestUser

Set Login-User TestUser

Wait

Wait for the specified event before continuing

Options are:

Go {url}

Navigate the browser to the specified url

Note:

The {url} parameter can be the actual url string or reference a key in the URL section of the config file

Example:

Go https://www.google.co.uk/

Go Google

Go {file}

Navigate the browser to the specified file

Note:

The {file} parameter can be the actual filename or reference a key in the URL section of the config file

To be recognised as a file it must start with 'file:///'

Example:

Go file:///C:/AtomQA/index.php

Go TestApp

Wait n

Wait followed by a number commands the test to wait for that number of seconds before continuing

Example:

Wait 5 = wait for 5 seconds before continuing

Wait hh:mm

Wait followed by a time in 24-hour time format commands the test to wait until the specified time before continuing

Example:

Wait 23:55 = wait until 11:55 pm before continuing

Wait {filename}

Wait followed by a filename commands the test to wait until the specified file exists before continuing

Example:

Wait c:\test\go.txt = wait until the file 'c:\test\go.txt' exists before continuing

Note:

To be recognised as a filename, the name must start with a single drive letter followed by a colon

Wait Exists {object}

The test will wait until the specified object exists before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Exists V[Login = wait until the object with the value 'Login' exists before continuing

Wait Enabled {object}

The test will wait until the specified object is enabled before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Enabled V[Login = wait until the object with the value 'Login' is enabled before continuing

Wait Visible {object}

The test will wait until the specified object is visible before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Visible V[Login = wait until the object with the value 'Login' is visible before continuing

Wait NotExists {object}

The test will wait until the specified object no longer exists before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Exists V[Login = wait until the object with the value 'Login' no longer exists before continuing

Wait NotEnabled {object}

The test will wait until the specified object is no longer enabled before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Enabled V[Login = wait until the object with the value 'Login' is no longer enabled before continuing

Wait NotVisible {object}

The test will wait until the specified object is no longer visible before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait Visible V[Login = wait until the object with the value 'Login' is no longer visible before continuing

Wait {object} {value}

The test will wait until the specified object has the required value before continuing

Note:

The {object} parameter can directly identify an object or reference the key to an entry in the object repository

Example:

Wait T[H1 Xxxxx = wait until the first H1 heading has the value 'Xxxxx' before continuing

Copyright © 2015 AtomQA All Rights Reserved.    Privacy Policy    Terms of Use    Site Map    Email    Help