public void Sprint1_AddAPropertyFromExcel() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("Add a Property"); // Create an class and object to call the method OwnerProperty obj = new OwnerProperty(); obj.AddAProperty(); }
public void ThenUserAddAPropertyFromExcelDataShouldBeSuccessfully() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("Add a Property from Excel Data"); // Create an class and object to call the method OwnerProperty obj = new OwnerProperty(); obj.AddAProperty(); TearDown(); }