/// <summary> /// check a widget is or no exist /// </summary> /// <returns></returns> public bool CheckWidgetIsExist() { return(ElementHandler.Exists(JazzControlLocatorRepository.GetLocator(JazzControlLocatorKey.WidgetName))); }
/// <summary> /// Verify whether the UI element exist /// </summary> /// <returns>True if the UI elemrnt exist, false if not</returns> public bool IsExisted(string itemKey) { Locator itemLocator = JazzControlLocatorRepository.GetLocator(itemKey); return(ElementHandler.Exists(itemLocator)); }
public bool IsAlreadyLogin() { var HomePageNavigationLocator = JazzControlLocatorRepository.GetLocator(JazzControlLocatorKey.ButtonNavigatorHomePage); return(ElementHandler.Exists(HomePageNavigationLocator)); }