Miscellaneous step definitions

Key commands

The following step definition is available to enter key commands:

the user hits tab

the user hits enter

the user hits escape

 

Note: Examples can be found in the Sage X3 Automated Test Platform library: 0313A-KeyCommandManagement.

Use of waits

The following step definitions are available to add a pause in a test:

the user waits

the user waits (.*) seconds

Examples

Site depositor interaction (for Sage X3 Warehousing)

The following step definition is available:

the user clicks on the site depositor action in the profile bar

Examples

Take screenshots on demand

Screenshots are taken when the test fails. With Sage X3 Automated Test Platform 2.8.0, the following step definition has been added to give you the possibility to also take screenshots on demand:

the user takes a screenshot

Examples

The following step definitions are available:

the user switches to the first opened tab

the user switches to the last opened tab

 

Lock management (for parallel execution)

The following step definitions are available to add or remove a lock in a test.

Those step definitions are used to prevent the tests from colliding with each other, when the tests are executed in parallel.

the user adds the lock entry "(.*)"

the user removes the lock entry "(.*)

Examples

Extract from sample: 0316A-LockManagmentExample01 / 0316B-LockManagmentExample02

Refer to the Sage X3 Automated Test Platform – user guide Executing tests in parallel for further information.