public void WhenIChangeBirthdateAs(string birthDate) { pageInAnotherTab = Session.FindWindow("Отчет").FindXPath("/html"); OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); orderMainPage.EditButtonClick(); OrderEditPage orderEditPage = new OrderEditPage(pageInAnotherTab); orderEditPage.FillBirthdateField(birthDate); orderEditPage.SaveButtonClick(); //ScenarioContext.Current.Pending(); }
public void WhenIChangeWeightAs(string weight) { pageInAnotherTab = Session.FindWindow("Отчет").FindXPath("/html"); OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); orderMainPage.EditButtonClick(); OrderEditPage orderEditPage = new OrderEditPage(pageInAnotherTab); orderEditPage.FillWeigthField(weight); orderEditPage.SaveButtonClick(); //ScenarioContext.Current.Pending(); }