Beispiel #1
0
 public void Tc_Communication_004()
 {
     testStarts("Tc_Communication_004", "Verify the validation message in create communication");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_communications, 60);
     clickOn(OR.Home_Menu_communications);
     CommunicationPage.AddCommunication("");
     verifyElementText(OR.Communication_validation, "Please provide required values.");
 }
Beispiel #2
0
 public void Tc_Communication_001()
 {
     testStarts("Tc_Communication_001", "Verify by creating new communication and verify it is displaying");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_communications, 60);
     clickOn(OR.Home_Menu_communications);
     CommunicationPage.AddCommunication(CommunicationPage.comminicationName);
     waitForElementToDisplay(OR.AlertSucess, 60);
     verifyElementText(OR.AlertSucess, "Communication created successfully");
     clickOn(OR.Cancel_Btn);
     CommunicationPage.VerifyValue(CommunicationPage.comminicationName);
 }