コード例 #1
0
ファイル: MessageBox.cs プロジェクト: YangEricLiu/Mento
        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
ファイル: RemoveProperty.cs プロジェクト: hnlord/A
 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
ファイル: HomePage.cs プロジェクト: Dmitri3010/BSTU_Testing
 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
ファイル: Window.cs プロジェクト: YangEricLiu/Mento
 public void Confirm()
 {
     ConfirmButton.Click();
 }