Esempio n. 1
0
 public void SendFeedbackForm(int id, string name, string email, string subj, string message)
 {
     feedbackFormPOM.goToPage();
     feedbackFormPOM.selectDepartment(id);
     feedbackFormPOM.inputName(name);
     feedbackFormPOM.inputEmail(email);
     feedbackFormPOM.inputSubj(subj);
     feedbackFormPOM.inputMessage(message);
 }
Esempio n. 2
0
 public void TestSendFeedbackForm(int id, string name, string subj, string message)
 {
     feedbackFormPOM.goToPage();
     feedbackFormPOM.selectDepartment(id);
     feedbackFormPOM.inputName(name);
     feedbackFormPOM.inputEmail(GenRandomEmail());
     feedbackFormPOM.inputSubj(subj);
     feedbackFormPOM.inputMessage(message);
     feedbackFormPOM.clickButtonSubmit();
     Assert.AreEqual(feedbackFormPOM.ActSuccessText, feedbackFormPOM.getActSuccessText());
 }