Start your demo and save on the first 12 months!

Blog

Advanced Test Execution Parameters

Posted by on 5 October 2021 in Blog, Tips

For optimal test execution reliability, you can configure the Maveryx’s advanced settings in the MaveryxSetup.xml file.

<AUT_LAUNCHER_TIMEOUT> 10 </AUT_LAUNCHER_TIMEOUT>
<AUT_SAFETY_DELAY> 5 </AUT_SAFETY_DELAY>
<AUT_PLAYBACK_DELAY_MOUSE> 0 </AUT_PLAYBACK_DELAY_MOUSE>
<AUT_PLAYBACK_DELAY_KEYBOARD> 0 </AUT_PLAYBACK_DELAY_KEYBOARD>
<OBJECT_FINDING_ATTEMPTS> 3 </OBJECT_FINDING_ATTEMPTS>
<DELAY_BETWEEN_FINDING_ATTEMPTS> 1 </DELAY_BETWEEN_FINDING_ATTEMPTS>
<LOCALE> en_US </LOCALE>
<LOGS_PATH> C:/Maveryx/bin/log/ </LOGS_PATH>

AUT_LAUNCHER_TIMEOUT is the time, in seconds, to wait for the AUT to start.
AUT_SAFETY_DELAY is the time, in milliseconds, between two (keyboard and mouse) events.
AUT_PLAYBACK_DELAY_MOUSE is the time, in milliseconds, between two mouse clicks.
AUT_PLAYBACK_DELAY_KEYBOARD is the time, in milliseconds, between two keyboard events.
OBJECT_FINDING_ATTEMPTS is the max number of attempts for searching the GUI object to test.
DELAY_BETWEEN_FINDING_ATTEMPTS is the time, in milliseconds, between two finding attempts.
LOCALE is the language of the AUT, if different from the default system language.
      Coding:
           language_country
                 – language: two-letter (lowercase) codes from ISO-639
                 – country: two-letter (uppercase) codes from ISO-3166
LOGS_PATH is the path to the directory where storing the log files.

In order to refer to environment variables in the file MaveryxSetup.xml you have to use the following syntax:
              $variable_name on Linux
              %variable_name% on Windows

Example:

export MAVERYX_HOME=/usr/local/maveryx
<LOGS_PATH> $MAVERYX_HOME/bin/log/ </LOGS_PATH>
<BASE_DIR> $MAVERYX_HOME/ </BASE_DIR>