Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LegacyProjectProperties

Hierarchy

  • LegacyProjectProperties

Index

Properties

browser

browser: Maybe<Browsers>

Defines the browser in witch the test suite should be executed This option is usually defined via commandline and will override testsuiteBrowser

To access the actual set browser within Sakuli use getBrowser()

Possible values are defined in Browsers type

errorScreenshot

errorScreenshot: boolean = true

Enable / disable screenshots on error

sakuliAutoHighlight

sakuliAutoHighlight: boolean = false

DEFAULT: false

sakuliEncryptionKey

sakuliEncryptionKey: string = ""

Overwrite this property or us the environment var SAKULI_ENCRYPTION_KEY as master key for en- and decryption

sakuliEnvironmentSimilarityDefault

sakuliEnvironmentSimilarityDefault: number = 0.99

sakuliHighlightSeconds

sakuliHighlightSeconds: number = 0.2

Auto highlight duration (float)

screenshotDir

screenshotDir: string = "${sakuli.log.folder}/_screenshots"

folder for screenshot files (if activated)

sikuliClickDelay

sikuliClickDelay: number = 0.2

Sakuli click delay when clicking mouse buttons in ms

testSuiteUiOnly

testSuiteUiOnly: Maybe<boolean>

Defines the browser in witch the test suite should be executed This option is usually defined in sakuli.properties or testsuite.properties file and can be overridden by uiOnly

To access the actual set browser within Sakuli use isUiOnly()

testsuiteBrowser

testsuiteBrowser: Maybe<Browsers>

Defines the browser in witch the test suite should be executed This option is usually defined in sakuli.properties or testsuite.properties file and can be overridden by browser

To access the actual set browser within Sakuli use getBrowser()

Possible values are defined in Browsers type

testsuiteCriticalTime

testsuiteCriticalTime: number = 0

The critical runtime threshold (seconds) estimates the execution time of the complete test suite. If the critical time is exceeded, the test suite will get the state 'CRITICAL'. If the threshold is set to 0, the execution time will never exceed, so the state will be always OK! DEFAULT:0

testsuiteId

testsuiteId: string = ""

testsuiteName

testsuiteName: string = "${testsuite.id}"

Descriptive name for the current test suite DEFAULT: value of 'testsuite.id'

testsuiteWarningTime

testsuiteWarningTime: number = 0

The warning runtime threshold (seconds) estimates the execution time of the complete test suite. If the warning time is exceeded, the test suite will get the state 'WARNING'. If the threshold is set to 0, the execution time will never exceed, so the state will be always OK! DEFAULT:0

typeDelay

typeDelay: number = 300

Type delay - specifies the amount of time in ms to wait between keypresses

uiOnly

uiOnly: Maybe<boolean>

Determines if a testsuite should run in ui-only mode or not This option is usually defined via commandline and will override testSuiteUiOnly

To access the actual set browser within Sakuli use isUiOnly()

Possible values are defined in Browsers type

Methods

getBrowser

isUiOnly

  • isUiOnly(): boolean