Пример #1
0
 public String getTelephoneError()
 {
     return((elementExists(errTelephone)) ? GetControls.GetText(errTelephone) : "");
 }
Пример #2
0
 public String getMessageError()
 {
     return((elementExists(errMessage)) ? GetControls.GetText(errMessage) : "");
 }
Пример #3
0
 public String getEmailError()
 {
     return((elementExists(errEmail)) ? GetControls.GetText(errEmail) : "");
 }
Пример #4
0
 public String getFirstNameError()
 {
     return((elementExists(errForeName)) ?  GetControls.GetText(errForeName) : "");
 }
Пример #5
0
 public String getSuccessMessage()
 {
     (new WebDriverWait(driver, TimeSpan.FromSeconds(60)))
     .Until(ExpectedConditions.ElementToBeClickable(msgSuccess));
     return(GetControls.GetText(msgSuccess));
 }
Пример #6
0
 public string getLoginError()
 {
     return(GetControls.GetText(errMessage));
 }
Пример #7
0
 public string getWelcomeMessage()
 {
     return(GetControls.GetText(msgWelcome));
 }