Beispiel #1
0
 public void PersonalityTest()
 {
     SiteDriver.MaximizeWindow();
     SiteDriver.Open(baseURL);
     Console.WriteLine("Navigate to " + baseURL);
     FillFormFields();
     FillFormFields();
     FillFormFields();
     FillFormFields();
     FillFormFields();
     _demo.ClickOnElementByCssSelector(".submitButton");
     //var checkBoxCount = _demo.FindCountOfElements(".checkboxDiv:nth-of-type(1)>div.form-group");
     //for (int i = 1; i < checkBoxCount+1; i++)
     //{
     //    _demo.ClickOnFavItem( 1, i, 1);
     //    _demo.ClickOnFavItem( 1, i, 2);
     //    _demo.ClickOnFavItem( 1, i, 3);
     //    _demo.ClickOnFavItem( 1, i, 4);
     //}
     //checkBoxCount = _demo.FindCountOfElements(".checkboxDiv:nth-of-type(2)>div.form-group");
     //for (int i = 1; i < checkBoxCount+1; i++)
     //{
     //    _demo.ClickOnFavItem( 2, i, 1);
     //    _demo.ClickOnFavItem( 2, i, 2);
     //    _demo.ClickOnFavItem( 2, i, 3);
     //    _demo.ClickOnFavItem( 2, i, 4);
     //}
 }