public void AddingRoom() { Page.MaxValueRoomsPage maxValueRoomsPage = new Page.MaxValueRoomsPage(driver); maxValueRoomsPage.OpenPage(); maxValueRoomsPage.GetStatiscBox(); for (int i = 1; i <= 11; i++) { maxValueRoomsPage.AddRoom(); } }
public string MaxValueQuantityRooms() { Page.MaxValueRoomsPage maxValueRoomsPage = new Page.MaxValueRoomsPage(driver); return(maxValueRoomsPage.GetMaxValueRooms()); }