Class TestConfigManager
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.config.TestConfigManager
-
public class TestConfigManager extends Object
NOTE: DON'T forget to update prepareAndSetJsonContext() method when you add new property in this class.- Author:
- Madhav Krishna
-
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static TestConfigManager getInstance()
-
isParallelMode
public boolean isParallelMode()
-
preferDriverScreenshots
public boolean preferDriverScreenshots()
-
embedScreenshotsInTestReport
public boolean embedScreenshotsInTestReport()
-
getAppConfigs
public Collection<AppConfig> getAppConfigs()
-
getCucumberTestcasesDir
public String getCucumberTestcasesDir()
-
getDownloadLocation
public String getDownloadLocation()
-
getUserProfile
public UserProfile getUserProfile(String appName, String profileName)
-
getDatabaseProfile
public DatabaseProfile getDatabaseProfile(String appName, String profileName)
-
getAdditionalPropertyValue
public <T> T getAdditionalPropertyValue(String propName, Class<T> clazz)
-
getAdditionalPropertyValue
public <T> T getAdditionalPropertyValue(String appName, String propName, Class<T> clazz)
-
getAppScreenCaptureDirectory
public String getAppScreenCaptureDirectory()
-
getHtmlReportsDir
public String getHtmlReportsDir()
-
getUserProfileAdditionalPropertyValue
public String getUserProfileAdditionalPropertyValue(String appName, String profileName, String propName)
-
getSikuliSettings
public SikuliSettings getSikuliSettings()
-
getSikuliResourcesDir
public String getSikuliResourcesDir()
-
getHostPlatformType
public PlatformType getHostPlatformType()
-
getUseDefaultStepDefsHooks
public boolean getUseDefaultStepDefsHooks()
-
getJsonContext
public com.jayway.jsonpath.DocumentContext getJsonContext()
-
-