Class LocatorUtil

java.lang.Object
org.uitnet.testing.smartfwk.ui.core.utils.LocatorUtil

public class LocatorUtil
extends Object
Author:
Madhav Krishna
  • Method Details

    • setPlatformLocatorForNativeApp

      public static void setPlatformLocatorForNativeApp​(Map<String,​Locator> platFormLocators, PlatformType platform, LocateBy locateBy, String locatorValue)
    • 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

      public static List<org.openqa.selenium.WebElement> findWebElements​(org.openqa.selenium.WebDriver appDriver, Locator locator)
    • getCssValue

      public static String getCssValue​(org.openqa.selenium.WebElement webElem, String cssKey)