Пример #1
0
        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();
        }
Пример #2
0
 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);
     }
 }
Пример #3
0
 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);
 }
Пример #4
0
 public void ClickOnConfirmButton()
 {
     ConfirmButton.Click();
 }
Пример #5
0
 public IndexPage click_confirm()
 {
     ConfirmButton.Click();
     return(new IndexPage(_driver));
 }
Пример #6
0
 public void Confirm()
 {
     ConfirmButton.Click();
 }