public void PO_AddNewRequest()
 {
     try
     {
         test = extent.StartTest("Check if Owner is able to Send New Request by click on Add New Request");
         PODashboard oDashboard = new PODashboard();
         oDashboard.DashboardMethod();
         oDashboard.AddNewRequestmethod();
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Verification of Add new request on Quick Buttons done");
     }
     catch
     {
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Methods to Verify Add new request on Quick Buttons are not successful");
     }
 }
 public void PO_AddNewListing()
 {
     try
     {
         test = extent.StartTest("Check if User is able to Add a New Listing by clicking on *Add New Listing* on the Quick Buttons");
         PODashboard ObjDashboard = new PODashboard();
         ObjDashboard.DashboardMethod();
         ObjDashboard.AddNewListingMethod();
         ListNewProperty ObjListNewProp = new ListNewProperty();
         ObjListNewProp.ListPropMethod();
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Selected Property listed as new Rental");
     }
     catch
     {
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Selected Property could not be listed as new Rental. Please check the logs");
     }
 }
 public void PO_AddFinanceDetail()
 {
     try
     {
         test = extent.StartTest("Check the link in Property Owner Dashboard");
         PODashboard ObjPODashboard = new PODashboard();
         ObjPODashboard.AddFinDetailMethod();
         PropertyFinDetails ObjPropertyFinDetail = new PropertyFinDetails();
         ObjPropertyFinDetail.HomeValueMethod();
         ObjPropertyFinDetail.RentalPaymentMethod();
         ObjPropertyFinDetail.RepaymentsMethod();
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Verification of Add Financial Details linq done");
     }
     catch
     {
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Verification of Add Financial Details linq done");
     }
 }
 public void PO_AddNewTenant()
 {
     try
     {
         test = extent.StartTest("Check if user is able to Add Tenant using Add new tenant link in Property Owner Dashboard");
         PODashboard ObjPODashboard = new PODashboard();
         ObjPODashboard.DashboardMethod();
         ObjPODashboard.AddTenantMethod();
         AddTenant ObjAddTenant = new AddTenant();
         ObjAddTenant.AddTenantMethod();
         AddTenantLiabilityDetails ObjAddTenantLiability = new AddTenantLiabilityDetails();
         ObjAddTenantLiability.AddLiabiltyMethod();
         ObjAddTenantLiability.CompleteTenantMethod();
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Verification of AddTenant link done");
     }
     catch
     {
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "There is issue with the methods used in Verification of AddTenant link");
     }
 }
 public void PO_AddNewProperty()
 {
     try
     {
         test = extent.StartTest("Check if user is able to create new property with Add New Property link in Property Owner Dashboard");
         PODashboard ObjPODashboard = new PODashboard();
         ObjPODashboard.DashboardMethod();
         ObjPODashboard.AddNewPropertyMethod();
         ANPPropertyDetails ObjANPropertyDetails = new ANPPropertyDetails();
         ObjANPropertyDetails.PropDetailsMethod();
         ANPFinancialDetails ObjANPFinancialDetails = new ANPFinancialDetails();
         ObjANPFinancialDetails.FinDetailsMethod();
         ANPTenantDetails ObjANPTenantDetails = new ANPTenantDetails();
         ObjANPTenantDetails.TenantDetails4mExcel();
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Verification of Add New Property link done");
     }
     catch
     {
         Base.test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Verification of Add new Property link  could not be done");
     }
 }