コード例 #1
0
 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);
 }
コード例 #2
0
 public AutomationPracticeFormPage(AutomationFramework af)
 {
     _AF = af;
     form = new FormWidget(_AF);
 }
コード例 #3
0
 public void TestSetup()
 {
     af = new AutomationFramework("http://www.toolsqa.com/");
     af.GoToUrl("automation-practice-form/");
 }
コード例 #4
0
 public FormWidget(AutomationFramework af)
     : base(af, By.ClassName("form-horizontal"))
 {
 }