Exemplo n.º 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();
        }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 public void ClickOnConfirmButton()
 {
     ConfirmButton.Click();
 }
Exemplo n.º 5
0
 public IndexPage click_confirm()
 {
     ConfirmButton.Click();
     return(new IndexPage(_driver));
 }
Exemplo n.º 6
0
 public void Confirm()
 {
     ConfirmButton.Click();
 }