コード例 #1
0
 public void FillForm(string firstName, string lastName, string gender, string email, string languages)
 {
     WaitUntilElementIsDisplayed(SubmitButton);
     FirstName.ClickClearAndSendKeys(firstName);
     LastName.ClickClearAndSendKeys(lastName);
     SelectOptionFromDropdown(GenderDropdown, gender);
     Email.ClickClearAndSendKeys(email);
     Actions.MoveToElement(LanguagesDropdown);
     Actions.Perform();
     SelectOptionFromDropdown(LanguagesDropdown, languages);
     SubmitButton.ClickExtension(Js);
 }