public void EraseShareSkill() { //Check if the user is able to access the "ManageListing" page Profile ProfilePage = new Profile(); ProfilePage.GoToManageListing(); //Check if the user is able to delete the last entry of the "ManageListing" page ManageListings ManageListingPage = new ManageListings(); ManageListingPage.DeleteListing(); //Check if the changes can be seen in the "Manage Listing" page ManageListingPage.CompareLastEntry(); }