Example #1
0
 public void UpdateReviews()
 {
     loginpage.Navigate();
     adminpage = loginpage.Login("*****@*****.**", "demoadmin");
     adminpage.VerifyDashboardTitle("DASHBOARD");
     adminpage.ClickToursMenu();
     adminpage.ClickReviewMenu();
     adminpage.ClickEdit();
     adminpage.ClickOverallTab();
     adminpage.StoreRating();
     adminpage.SelectRating("Review Clean*", "4");
     adminpage.SelectRating("Review Comfort*", "5");
     adminpage.SelectRating("Review Location*", "7");
     adminpage.SelectRating("Review Facilities*", "5");
     adminpage.SelectRating("Review Staff*", "2");
     Assert.IsTrue(adminpage.CompareRating());
     adminpage.SaveRating();
 }