Exemplo n.º 1
0
        public void TicketsToAnotherStation()
        {
            mainPage = new MainPage(Driver)
                       .InputStationsAndSeacrh(RouteCreator.ArrivalBystationName())
                       .Search();

            webTable = new WebTable();
            Assert.IsTrue(webTable.CheckElementsFromDepartureAndArrival("//span[contains(@class,'opFromSection')]",
                                                                        "Manchester Piccadilly  ",
                                                                        "Birmingham Moor Street  "));
        }