Provides access to execution properties and settings
| Type | Name and description |
|---|---|
static String |
getAppVersion()Get the current version of Katalon Studio |
static String |
getAppiumDirectory() |
static String |
getAppiumLogFilePath() |
static Boolean |
getAutoApplyNeighborXpaths() |
static boolean |
getBooleanProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
static String |
getCapturedObjectsCacheFile() |
static Map<String, String> |
getCollectedTestDataProperties() |
static FailureHandling |
getDefaultFailureHandling() |
static String |
getDeviceConsoleExecutable() |
static Map<String, Object> |
getDriverExecutionProperties(String driverName) |
static Map<String, Object> |
getDriverPreferencesProperties(String driverConnectorId) |
static Map<String, Object> |
getDriverPreferencesProperties() |
static String |
getDriverPreferencesProperty(String driverConnectorId, String propertyName) |
static Map<String, Object> |
getDriverSystemProperties(String driverConnectorId) |
static String |
getDriverSystemProperty(String driverConnectorId, String propertyName) |
static String |
getDriverSystemProperty(String driverConnectorId, String propertyName, String defaultValue) |
static Map<String, Object> |
getExecutionGeneralProperties() |
static String |
getExecutionProfile()Returns name of selected execution profile. |
static Map<String, Object> |
getExecutionProperties() |
static String |
getExecutionSource()Get the absolute path of the executed target ( test case | test suite | test suite collection ) |
static String |
getExecutionSourceDescription()Get the description of the executed target ( test case | test suite | test suite collection ) |
static String |
getExecutionSourceId()Get the id of the executed target ( test case | test suite | test suite collection ) |
static String |
getExecutionSourceName()Get the name of the executed target ( test case | test suite | test suite collection ) |
static String |
getExisingSessionDriverType() |
static String |
getExisingSessionServerUrl() |
static String |
getExisingSessionSessionId() |
static String |
getHostAddress() |
static String |
getHostName()Get the host name of the current execution machine |
static Map<String, Object> |
getHostProperties() |
static int |
getIntProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
static int |
getIntProperty(String propertyKey) |
static String |
getLogFolderPath()Get the absolute path of the execution folder that contains log files |
static String |
getLogbackConfigFileLocation() |
static String |
getOS()Get the information of the OS of the current execution machine |
static String |
getOverridingGlobalVariable(String globalVariableName) |
static Map<String, Object> |
getOverridingParameters() |
static int |
getPort() |
static String |
getProjectDir()Get the absolute path of the current project's folder |
static Object |
getProperty(String propertyKey) |
static com.kms.katalon.core.network.ProxyInformation |
getProxyInformation() |
static com.kms.katalon.core.setting.VideoRecorderSetting |
getRecorderSetting() |
static String |
getReportFolder() |
static RunningMode |
getRunningMode() |
static String |
getSessionServerHost() |
static int |
getSessionServerPort() |
static String |
getSettingFilePath() |
static Object[] |
getStoredDrivers() |
static String |
getStringProperty(String propertyKey) |
static String |
getStringProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
static int |
getTimeOut()Get the execution time out (in seconds) |
static void |
removeDriver(Object driver) |
static void |
setAppiumLogFilePath(String logFilePath) |
static void |
setExecutionSetting(Map<String, Object> executionSettingMap) |
static void |
setExecutionSettingFile(String executionSettingFilePath) |
static void |
setMobileDriverPreferencesProperty(String propName, Object propVal) |
static void |
setWebDriverPreferencesProperty(String propName, Object propVal) |
static boolean |
shouldTerminateDriverAfterTestCase() |
static boolean |
shouldTerminateDriverAfterTestSuite() |
static void |
storeDriver(Object driver) |
Get the current version of Katalon Studio
Returns name of selected execution profile. Default value is 'default' profile.
Get the absolute path of the executed target ( test case | test suite | test suite collection )
Get the description of the executed target ( test case | test suite | test suite collection )
Get the id of the executed target ( test case | test suite | test suite collection )
Get the name of the executed target ( test case | test suite | test suite collection )
Get the host name of the current execution machine
Get the absolute path of the execution folder that contains log files
Get the information of the OS of the current execution machine
Get the absolute path of the current project's folder
Get the execution time out (in seconds)