public void CheckDetailsInRentalListing() { //create a toggle for the given test, add all log events under it test = extent.StartTest("Check Details in Rental Listing"); Rental_Listings_and_Tenant_Applications obj = new Rental_Listings_and_Tenant_Applications(); obj.OpenRentListAndApp(); obj.CheckDetails(); }
public void ListARentalFromProperty() { //create a toggle for the given test, add all log events under it test = extent.StartTest("List A Rental From Rental Listings and Tenant Applications"); Rental_Listings_and_Tenant_Applications obj = new Rental_Listings_and_Tenant_Applications(); //call method to open Owners->RentalListings&Applications page obj.OpenRentListAndApp(); //call method to check if have located to Owners->RentalListings&Applications page obj.CheckOwners_RLAndAppPage(); //call method to List A Rental and validate obj.CheckListedRental(obj.ListARental()); //call method to check if return to Owners->RentalListings&Applications page // obj.CheckOwners_RLAndAppPage(); }