public void WhenUserClicksOnTheMenuOptionMyRequests()
        {
            //create the object of the MyRentalsPage
            MyRentals pageMyRentals = new MyRentals();

            Global.Driver.wait(5);
            System.Threading.Thread.Sleep(3000);
            pageMyRentals.MyRequestsclick();
            // Global.Driver.wait(5);
            System.Threading.Thread.Sleep(3000);
        }
        public void GivenUserIsInTheSendARequestPageWithTenantCredentials()
        {
            {
                switch (Browser)
                {
                case 1:
                    Driver.driver = new FirefoxDriver();
                    break;

                case 2:
                    Driver.driver = new ChromeDriver();
                    Driver.driver.Manage().Window.Maximize();
                    break;
                }
                if (Keys_Resource.IsLogin == "true")
                {
                    Login loginobj = new Login();
                    loginobj.LoginSuccessfull();
                }
                else
                {
                    Register obj = new Register();
                    obj.Navigateregister();
                }

                extent = new ExtentReports(ReportPath, false, DisplayOrder.NewestFirst);
                extent.LoadConfig(Keys_Resource.ReportXMLPath);

                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("MyRentals-->SendRequests");

                //create the object of the CommonPage
                CommonPage pageTenants = new CommonPage();
                Global.Driver.wait(5);
                pageTenants.clickTenants();



                //create the object of the MyRental Page
                MyRentals pageMyRentals = new MyRentals();
                System.Threading.Thread.Sleep(2000);
                pageMyRentals.click();
                System.Threading.Thread.Sleep(5000);
            }
        }