public void LoadSerializedObjects() { UIItems UIItems = new UIItems(); UIItems.Load(@"c:\login.json"); UIItems.BuildBy(); }
public void SerializeWebDriver() { UIItems UIItems = new UIItems(); UIItems.Load(@"c:\login.json"); UIItem UIItem = new UIItem(); }
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); }