private void SetTheTransferFromAndTo(string transferFrom, string transferTo) { _browser.Clear(EventsPage.ParticipantTransferFromTextfield(_participantId)); _browser.Driver.WaitUntilVisible(EventsPage.ParticipantTransferFromTextfield(_participantId)).SendKeys(transferFrom); _browser.Clear(EventsPage.ParticipantTransferToTextfield(_participantId)); _browser.Driver.WaitUntilVisible(EventsPage.ParticipantTransferToTextfield(_participantId)).SendKeys(transferTo); }
private void SetTheParticipants(int individuals, int interpreters, int representatives, int observers, int panelMembers, int witnesses) { _browser.Clear(CreateHearingPage.IndividualsTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.IndividualsTextfield).SendKeys(individuals.ToString()); _browser.Clear(CreateHearingPage.InterpretersTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.InterpretersTextfield).SendKeys(interpreters.ToString()); _browser.Clear(CreateHearingPage.RepresentativesTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.RepresentativesTextfield).SendKeys(representatives.ToString()); _browser.Clear(CreateHearingPage.ObserversTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.ObserversTextfield).SendKeys(observers.ToString()); _browser.Clear(CreateHearingPage.PanelMembersTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.PanelMembersTextfield).SendKeys(panelMembers.ToString()); _browser.Clear(CreateHearingPage.WitnessesTextfield); _browser.Driver.WaitUntilVisible(CreateHearingPage.WitnessesTextfield).SendKeys(witnesses.ToString()); Thread.Sleep(TimeSpan.FromSeconds(1)); }