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();
        }
예제 #2
0
        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();
        }