Uses of Class
core.support.objects.TestObject
-
Packages that use TestObject Package Description core.apiCore.driver core.support.objects -
-
Uses of TestObject in core.apiCore.driver
Methods in core.apiCore.driver that return TestObject Modifier and Type Method Description static TestObjectApiTestDriver. getParentTestObject()static TestObjectApiTestDriver. getParentTestObject(ServiceObject serviceObject)static TestObjectApiTestDriver. getParentTestObject(String parentId) -
Uses of TestObject in core.support.objects
Fields in core.support.objects with type parameters of type TestObject Modifier and Type Field Description static Map<String,TestObject>TestObject. testInfoList<TestObject>TestObject. testObjectsMethods in core.support.objects that return TestObject Modifier and Type Method Description static TestObjectTestObject. getGlobalTestInfo()gets default test object if not exist, create default test objectstatic TestObjectTestObject. getParentTestInfo(ServiceObject serviceObject)get parent test object parent id is unique for each csv test file in service tests user for inheritance of config and log filesstatic TestObjectTestObject. getTestInfo()testInfo is a static list containing hashmap of test objects with test name as key if testObject is empty for testId, Then default test is initialized And usedstatic TestObjectTestObject. getTestInfo(String testId)static TestObjectTestObject. getTestObjectInheritence(DriverObject driver, String testId)Inheritance structure for test object before suite -> before class -> test method before suite -> before class -> after class before suite -> after suiteTestObjectTestObject. incremenetRunCount()static TestObjectTestObject. inheritParent(DriverObject driver, String testId)Inheritance structure for test object before suite -> before class -> test method before suite -> before class -> after class before suite -> after suite Service test hierarchy: before suite -> before class -> csv file name object -> csv tests before suite -> before class -> after class before suite -> after suite note: before method inheritance not supportedTestObjectTestObject. withApp(String app)TestObjectTestObject. withCaughtThrowable(Throwable caughtThrowable)TestObjectTestObject. withClassName(String className)TestObjectTestObject. withCurrentDriver(DriverObject currentDriver)TestObjectTestObject. withDescription(org.junit.runner.Description description)TestObjectTestObject. withFailTrace(ArrayList<String> failTrace)TestObjectTestObject. withIsFirstRun(Boolean isFirstRun)TestObjectTestObject. withIsForcedRestart(Boolean isForcedRestart)TestObjectTestObject. withIsTestComplete(boolean isTestComplete)TestObjectTestObject. withIsTestPass(Boolean isTestPass)TestObjectTestObject. withLog(org.apache.logging.log4j.Logger log)TestObjectTestObject. withRunCount(int rerunCount)TestObjectTestObject. withTestFileClassName(String testFileClassName)TestObjectTestObject. withTestId(String testId)TestObjectTestObject. withTestName(String testName)TestObjectTestObject. withTestScenario(com.aventstack.extentreports.ExtentTest testScenerio)TestObjectTestObject. withWebDriver(org.openqa.selenium.WebDriver webdriver)TestObjectTestObject. withWebDriverList(List<org.openqa.selenium.WebDriver> webDriverList)
-