예제 #1
0
 public HtmlForm(MySe74Context context) : base(context)
 {
     FormLink  = new Se74Element(By.XPath("//a[.='HTML Forms']"));
     FirstName = new TextInput(By.Name("first_name"));
     LastName  = new TextInput(By.Name("first_name"));
     Maths     = new CheckBox(By.Name("maths"));
     Physics   = new CheckBox(By.Name("physics"));
     Dropdown  = new SelectTag(By.Name("dropdown"));
 }
예제 #2
0
 public void TestClean()
 {
     MySe74Context.Release();
     Se74Driver.Release();
 }
예제 #3
0
 public void TestInit()
 {
     Se74Driver.New(new ChromeProvider());
     //Se74Driver.New(new PhantomJsProvider());
     MySe74Context.New();
 }
예제 #4
0
 public WeatherHome(MySe74Context context) : base(context)
 {
 }
예제 #5
0
 public MyBasePage(MySe74Context context) : base(context)
 {
 }