@SuppressWarnings("unchecked") public class RunConfiguration
Provides access to execution properties and settings
Type Params | Return Type | Name and description |
---|---|---|
|
public static boolean |
canCustomizeRequestResponseSizeLimit() |
|
public static boolean |
canCustomizeRequestTimeout() |
|
public static String |
getAppVersion() Get the current version of Katalon Studio |
|
public static String |
getAppiumDirectory() |
|
public String |
getAppiumDirectoryDefinedWithArgument() |
|
public static String |
getAppiumLogFilePath() |
|
public static boolean |
getBooleanProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
|
public static String |
getCapturedObjectsCacheFile() |
|
public static Map<String, String> |
getCollectedTestDataProperties() |
|
public static FailureHandling |
getDefaultFailureHandling() |
|
public static String |
getDeviceConsoleExecutable() |
|
public static String |
getDevicePlatform() |
|
public static Map<String, Object> |
getDriverExecutionProperties(String driverName) |
|
public static Map<String, Object> |
getDriverPreferencesProperties(String driverConnectorId) |
|
public static Map<String, Object> |
getDriverPreferencesProperties() |
|
public static String |
getDriverPreferencesProperty(String driverConnectorId, String propertyName) |
|
public static Map<String, Object> |
getDriverSystemProperties(String driverConnectorId) |
|
public static String |
getDriverSystemProperty(String driverConnectorId, String propertyName) |
|
public static String |
getDriverSystemProperty(String driverConnectorId, String propertyName, String defaultValue) |
|
public static List<String> |
getExcludedMobileKeywordsFromSelfHealing() |
|
public static List<String> |
getExcludedWebUIKeywordsFromSelfHealing() |
|
public static String |
getExecutedEntity() |
|
public static Map<String, Object> |
getExecutionGeneralProperties() |
|
public static String |
getExecutionProfile() Returns name of selected execution profile. |
|
public static Map<String, Object> |
getExecutionProperties() |
|
public static String |
getExecutionSource() Get the absolute path of the executed target ( test case | test suite | test suite collection ) |
|
public static String |
getExecutionSourceDescription() Get the description of the executed target ( test case | test suite | test suite collection ) |
|
public static String |
getExecutionSourceId() Get the id of the executed target ( test case | test suite | test suite collection ) |
|
public static String |
getExecutionSourceName() Get the name of the executed target ( test case | test suite | test suite collection ) |
|
public static String |
getExistingBrowserType() |
|
public static String |
getExistingSessionDriverType() |
|
public static String |
getExistingSessionServerUrl() |
|
public static String |
getExistingSessionSessionId() |
|
public static String |
getExistingSessionWebSocketUrl() |
|
public static int |
getFailedTestThreshold() Get the Failed Test Threshold, if available, from execution.properties file. |
|
public static boolean |
getHarFileGeneration() |
|
public static String |
getHostAddress() |
|
public static String |
getHostName() Get the host name of the current execution machine |
|
public static Map<String, Object> |
getHostProperties() |
|
public static RunConfiguration |
getInstance() |
|
public static int |
getIntProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
|
public static int |
getIntProperty(String propertyKey) |
|
public static String |
getLogFolderPath() Get the absolute path of the execution folder that contains log files |
|
public static String |
getLogbackConfigFileLocation() |
|
public static List<Pair<SelectorMethod, Boolean>> |
getMethodsPriorityOrder() |
|
public static String |
getOS() Get the information of the OS of the current execution machine |
|
public static String |
getOverridingGlobalVariable(String globalVariableName) |
|
public static Map<String, Object> |
getOverridingParameters() |
|
public static List<String> |
getPluginTestListeners() |
|
public static int |
getPort() |
|
public static List<Pair<LocatorStrategy, Boolean>> |
getPrioritizedLocatorStrategies(MobilePlatform platform) |
|
public static String |
getProjectDir() Get the absolute path of the current project's folder |
|
public static String |
getProjectName() Get name of the current project |
|
public static Object |
getProperty(String propertyKey) |
|
public static ProxyInformation |
getProxyInformation() |
|
public static String |
getReportFolder() |
|
public static RunningMode |
getRunningMode() |
|
public static String |
getSessionServerHost() |
|
public static int |
getSessionServerPort() |
|
public static String |
getSettingFilePath() |
|
public static Object[] |
getStoredDrivers() |
|
public static String |
getStringProperty(String propertyKey) |
|
public static String |
getStringProperty(String propertyKey, Map<String, Object> jsonObjProperties) |
|
public static TakeScreenshotOption |
getTakeScreenshotOption() |
|
public static TakeScreenshotSettings |
getTakeScreenshotSettings() |
|
public static int |
getTimeOut() Get the execution time out (in seconds) |
|
public static long |
getTimeOutInMillis() Get the execution time out (in milliseconds) |
|
public static String |
getUserFullName() Get full name of the current user |
|
public static VideoRecorderOption |
getVideoRecorderOption() |
|
public static VideoRecorderSettings |
getVideoRecorderSettings() |
|
public static List<Pair<String, Boolean>> |
getXPathsPriority() |
|
protected String |
initialValue() |
|
protected List<Object> |
initialValue() |
|
protected Properties |
initialValue() |
|
public static Boolean |
isCanvasTextExtractionEnabled() |
|
public static Boolean |
isClosedShadowDOMTestingEnabled() |
|
public static Boolean |
isFlutterAppTestingEnabled() |
|
public static boolean |
isHideHostname() |
|
public boolean |
isLaunchingDebugMode() |
|
public static boolean |
isPlayback() |
|
public static boolean |
isRunningDebugMode() |
|
public static void |
removeDriver(Object driver) |
|
public void |
setAppiumDirectoryDefinedWithArgument(String appiumDirectory) |
|
public static void |
setAppiumLogFilePath(String logFilePath) |
|
public static void |
setExecutionSetting(Map<String, Object> executionSettingMap) |
|
public static void |
setExecutionSettingFile(String executionSettingFilePath) |
|
public void |
setLaunchingDebugMode(boolean isLaunchingDebugMode) |
|
public static void |
setMobileDriverPreferencesProperty(String propName, Object propVal) |
|
public static void |
setWebDriverPreferencesProperty(String propName, Object propVal) |
|
public static Boolean |
shouldApplySelfHealing() |
|
public static Boolean |
shouldApplySelfHealingForMobile() |
|
public static Boolean |
shouldApplyTimeCapsule() |
|
public static boolean |
shouldTerminateDriverAfterTestCase() |
|
public static boolean |
shouldTerminateDriverAfterTestSuite() |
|
public 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 Failed Test Threshold, if available, from execution.properties file. (only in KRE)
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 name of the current project
Get the execution time out (in seconds)
Get the execution time out (in milliseconds)
Get full name of the current user