public void TestDeleteManageListings()
        {
            test = extent.CreateTest("Test Delete ManagelListing");
            ProfilePage profileObj = new ProfilePage();

            profileObj.ClickManageListings();
            ManageListingsPage listings = new ManageListingsPage();


            Driver.WaitForClickableElement(60, By.XPath("//tbody/tr[1]/td[8]/descendant::button[3]"));
            listings.DeleteManageListing();
            Thread.Sleep(1000);
            String ExpectedDeleteConfirmation = driver.FindElement(By.XPath("//div[@class='ns-box ns-growl ns-effect-jelly ns-type-success ns-show']/div")).Text;

            Assert.IsTrue(ExpectedDeleteConfirmation.Contains(" has been deleted"));

            test.Log(Status.Info, "Deleted ManageListing");
        }
 public void WhenUserClicksOnDeleteIconInManageListingsTable()
 {
     listings.DeleteManageListing();
 }