// Common methods to navigate into the "Property Details" page public void NavigateToPage() { //Calling the common methods to navigate into the properties page PropertyOwner PropertyOwnerObj = new PropertyOwner(); PropertyOwnerObj.Common_methods(); //Click on the Add New Property button to navigate to the Property Details Page PropertyOwnerObj.ClickAddNewProperty(); }
// Common methods to navigate into the "Add Tenant" page public void NavigateToPage(int TestDataSetNumber) { //Calling the common methods to navigate into the ''My Properties' page PropertyOwner PropertyOwnerObj = new PropertyOwner(); PropertyOwnerObj.Common_methods(); //Click on the 'Add Tenant' button to navigate to the 'Add Tenant' Page PropertyOwnerObj.ClickAddTenant(ExcelLib.ReadData(TestDataSetNumber, "PropertyName")); }
// Common methods to navigate into the "List Rental Property" page public void NavigateToPage() { //Calling the common methods to navigate into the my properties page PropertyOwner PropertyOwnerObj = new PropertyOwner(); PropertyOwnerObj.Common_methods(); //Click on the List A Rental button to navigate to the 'List Rental Property' Page PropertyOwnerObj.ClickListARental(); }