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();
        }
Ejemplo n.º 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();
        }