public void TC01_03_CreateNewPageEditContactBtn() { BrowserManagement.updateReportTestName("Edit Contact button test in Create New Page"); customersPage.clickOnCreateNewBtn(); customersPage.inputContactDetails(); if (BrowserManagement.driver.Title.Equals(Resources.title)) { Assert.True(true); BrowserManagement.passLog("Able to input and save Contact details"); // coming back to the create new page } else { BrowserManagement.failLog("Unable to save the contact details"); //not returning back to the correct page Assert.Fail("Test failed"); } }