Class LocatorUtil
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.utils.LocatorUtil
public class LocatorUtil extends Object
- Author:
- Madhav Krishna
-
Method Summary
Modifier and Type Method Description static LocatorfindLocator(Map<String,Locator> platFormLocators, PlatformType platform, ApplicationType appType, WebBrowserType browserType)static org.openqa.selenium.WebElementfindWebElement(org.openqa.selenium.WebDriver appDriver, Locator locator)static List<org.openqa.selenium.WebElement>findWebElements(org.openqa.selenium.WebDriver appDriver, Locator locator)static StringgetCssValue(org.openqa.selenium.WebElement webElem, String cssKey)static voidsetPlatformLocatorForNativeApp(Map<String,Locator> platFormLocators, PlatformType platform, LocateBy locateBy, String locatorValue)static voidsetPlatformLocatorForWebApp(Map<String,Locator> platFormLocators, PlatformType platform, WebBrowserType browserType, LocateBy locateBy, String locatorValue)
-
Method Details
-
setPlatformLocatorForNativeApp
-
setPlatformLocatorForWebApp
public static void setPlatformLocatorForWebApp(Map<String,Locator> platFormLocators, PlatformType platform, WebBrowserType browserType, LocateBy locateBy, String locatorValue) -
findLocator
public static Locator findLocator(Map<String,Locator> platFormLocators, PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
findWebElement
public static org.openqa.selenium.WebElement findWebElement(org.openqa.selenium.WebDriver appDriver, Locator locator) -
findWebElements
-
getCssValue
-