public void TC01_06_CreateNewEditBillContactBtnWithChkBox() { BrowserManagement.test = BrowserManagement.report.StartTest("Enable Billing contact details with check box"); customersPage.clickOnCreateNewBtn(); customersPage.inputContactDetails(); customersPage.selectCheckBox(); //check whether the billing contact details button is disabled or not if (customersPage.isBillingContactBtnDisabled()) { BrowserManagement.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Billing contact button is disabled when we select checkbox"); Assert.True(true); } else { BrowserManagement.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Button shouldn't be enabled"); Assert.Fail(); } }