public void Confirm() { if (!ConfirmButton.Enabled) { throw new ApiException("Confirm button can not be clicked because it is not enabled in the messagebox."); } ConfirmButton.Click(); }
internal void ConfirmDelete() { try { //Click on the "Confirm" button ConfirmButton.Click(); } catch (Exception e) { Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Test Failed, Delete Unsuccessfull", e.Message); } }
public string FindHotelsByDestination(Destination destination) { GuestDropDownList.Click(); NumberOfAdultsDropDownList.Click(); NumberOfAdultsDropDownList.SendKeys(OpenQA.Selenium.Keys.Down); ConfirmButton.Click(); SearchInputLine.SendKeys(destination.EmptyDestination); ComeInDate.Click(); ChosenData.Click(); SearchButton.Click(); return(ErrorDiscovered.Text); }
public void ClickOnConfirmButton() { ConfirmButton.Click(); }
public IndexPage click_confirm() { ConfirmButton.Click(); return(new IndexPage(_driver)); }
public void Confirm() { ConfirmButton.Click(); }