Пример #1
0
        public void LoadSerializedObjects()
        {
            UIItems UIItems = new UIItems();

            UIItems.Load(@"c:\login.json");
            UIItems.BuildBy();
        }
Пример #2
0
        public void SerializeWebDriver()
        {
            UIItems UIItems = new UIItems();

            UIItems.Load(@"c:\login.json");
            UIItem UIItem = new UIItem();
        }
Пример #3
0
 public StepProcessor(Step step, IWebDriver _driver)
 {
     TestProccessor = new TestProccessor();
     UIItems1       = new UIItems();
     UIItems1.Load(@"C:\" + step.Page + ".json");
     UIItems1.BuildBy();
     TestProccessor.Execute(UIItems1.by[step.Field], step.Action, step.Data, _driver);
 }