Exemple #1
0
 public void EnterDeathDetails()
 {
     Sleep(3000);
     causeOfDeath.SelectByIndex(driver,2);
     Deathnote.SendKeysWrapper(FakeData.Word, driver);
     nextButton.ClickCustom(driver);
     closeButton.ClickCustom(driver);
 }
Exemple #2
0
 public void EnterDeathEuthanasia()
 {
     euthanasiaReason.SelectByIndex(driver,1);
     performedBy.SelectByIndex(driver, 1);
     euthanasiaSubtance.SelectByIndex(driver, 1);
     euthanasiaDosage.SendKeysWrapper("1", driver);
     euthanasiaMeasurement.SelectByIndex(driver, 2);
     method.SelectByIndex(driver, 2);
     route.SelectByIndex(driver, 2);
     Deathnote.SendKeysWrapper(FakeData.Word, driver);
     nextButton.ClickCustom(driver);
     closeButton.ClickCustom(driver);
 }
Exemple #3
0
 public void EnterDetailsEuthanasia()
 {
     euthanasiaReason.SelectByIndex(driver, 2);
     performedBy.SelectByIndex(driver, 1);
     euthanasiaSubtance.SelectByIndex(driver, 1);
     euthanasiaDosage.SendKeysWrapper("10", driver);
     euthanasiaMeasurement.SelectByIndex(driver, 1);
     method.SelectByIndex(driver, 1);
     route.SelectByIndex(driver, 1);
     Deathnote.SendKeysWrapper("Death Comment Notes For Testing", driver);
     ClickWithLoop(nextButton.GetLocator());
     ClickWithLoop(closeButton.GetLocator());
 }