// 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")); }