public BaseWidget(AutomationFramework af, By findBy) { if (af == null || findBy == null) { throw new ArgumentException("Automation framework or search criteria are not provided"); } BaseElement = af.Driver.FindElement(findBy); }
public AutomationPracticeFormPage(AutomationFramework af) { _AF = af; form = new FormWidget(_AF); }
public void TestSetup() { af = new AutomationFramework("http://www.toolsqa.com/"); af.GoToUrl("automation-practice-form/"); }
public FormWidget(AutomationFramework af) : base(af, By.ClassName("form-horizontal")) { }