MonkeyTalk – Modifiers

Types of MonkeyTalk Modifiers:

  • %timeout
  • %thinktime
  • %retrydelay
  • %ignore

1. %timeout Modifier:

For how long to continue retrying a command before timing out.

Syntax : %timeout=TIME_IN_MILLISECONDS

Example:

Label Username Verify %timeout=1000

2. %thinktime Modifier:

For how long to wait before executing the command.

Syntax : %thinktime=TIME_IN_MILLISECONDS

Example:

Label Username Verify %thinktime =1000

3. %retrydelay :

For how long to delay between retry attempts.

Syntax : %retrydelay=TIME_IN_MILLISECONDS

Example:

Label Username Verify %retrydelay

4. %ignore Modifier:

Used to skip commands, scripts, suites.

Syntax : %ignore=true

Example 1: To ignore command in the test script:

Label Username Verify %ignore=true

Example 2: To ignore script in the test suite:

Test Login.mt Run %ignore=true

Example 3: To ignore suite in the another test suite:

Suite Login.mts Run %ignore=true