public void GivenIClickListRental()
        {
            PropertyOwnerPage propertyOwnerPage = new PropertyOwnerPage();

            //move to listRental Page
            ListRentalPage listRentalPage = propertyOwnerPage.ClickListRental();
        }
Exemple #2
0
        public void ThenUserSearchResultsForPropertyAreSuccessfull()
        {
            // Creates a toggle for the given test, adds all log events under it
            test = extent.StartTest("Search for a Property");

            // Create an class and object to call the method
            PropertyOwnerPage obj = new PropertyOwnerPage();

            obj.SearchAProperty();

            //Close the broswer
            Global.Driver.driver.Close();
        }