public void ThenUserDeleteAPropertyShouldBeSuccessfully() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("Delete a Property"); // Create an class and object to call the method OwnerProperty obj = new OwnerProperty(); obj.DeleteAProperty(); TearDown(); }
public void ThenUserEditAPropertyBySearchingAddressShouldBeSuccessfully() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("Edit a Property by searching address"); // Create an class and object to call the method OwnerProperty obj = new OwnerProperty(); obj.EditAProperty("TC_027_03"); TearDown(); }