示例#1
0
 public bool TableOfUsersIsVisible()
 {
     return(tableOfUsers.IsDisplayed());
 }
 public bool PhoneNumberIsVisible()
 {
     return(phoneNumberInput.IsDisplayed());
 }
 public bool SurnameIsVisible()
 {
     return(surnameInput.IsDisplayed());
 }
 public bool IsSuccessAlertDisplayed()
 {
     successAlert = driver.GetByXpath("//*[@class='alert ui-pnotify-container alert-success ui-pnotify-shadow']");
     return(successAlert.IsDisplayed());
 }
 public bool IsErrorAlertDisplayed()
 {
     errorAlert = driver.GetByXpath("//*[@class='alert ui-pnotify-container alert-danger ui-pnotify-shadow']");
     return(errorAlert.IsDisplayed());
 }
示例#6
0
 public bool GetRole()
 {
     role = driver.GetByXpath("//h3[text()='User']");
     return(role.IsDisplayed());
 }