internal void SearchByFilter()
        {
            //Populate the excel data
            GlobalDefinitions.ExcelLib.PopulateInCollection(Base.ExcelPath, "SearchSkill");

            //Click on search skill
            GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//*[@id='account-profile-section']/div/div[1]/div[1]/input", 10000);
            ClickSkill.Click();
            ClickSkill.SendKeys(GlobalDefinitions.ExcelLib.ReadData(2, "SearchFilter"));
            //ClickSkill.SendKeys("All");

            GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//*[@id='account-profile-section']/div/div[1]/div[1]/i", 10000);
            SearchSkill.Click();

            //Search by Filter online
            GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//*[@id='service-search-section']/div[2]/div/section/div/div[1]/div[5]/button[1]", 10000);
            FilterOnline.Click();
            Thread.Sleep(2000);
            Base.test.Log(LogStatus.Info, "Skill search using Online is successfull");

            //Search by filter onsite
            GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//*[@id='service-search-section']/div[2]/div/section/div/div[1]/div[5]/button[2]", 10000);
            FilterOnsite.Click();
            Thread.Sleep(2000);
            Base.test.Log(LogStatus.Info, "Skill search using Onsite is successfull");

            //Search by filter ShowAll
            GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//*[@id='service-search-section']/div[2]/div/section/div/div[1]/div[5]/button[3]", 10000);
            FilterShowAll.Click();
            Thread.Sleep(2000);
            Base.test.Log(LogStatus.Info, "Skill search using Showall is successfull");
        }
        internal void SearchSkillsByFilters(IWebDriver driver)
        {
            // Wait and click on Search icon
            GlobalDefinitions.WaitForElementClickable(driver, "XPath",
                                                      "//i[@class='search link icon']", 10);
            SearchIcon.Click();

            // Wait and check total results
            GlobalDefinitions.WaitForElementClickable(driver, "XPath",
                                                      "//*[@id='service-search-section']//div[2]/div/button[2]", 10);
            totalResults = int.Parse(driver.FindElement(By.XPath("//*[@id='service-search-section']//" +
                                                                 "div[1]/div[1]/div/a[1]/span")).Text);

            // Check online results
            FilterOnline.Click();
            GlobalDefinitions.WaitForElementClickable(driver, "XPath",
                                                      "//*[@id='service-search-section']//div[2]/div/button[2]", 10);
            onlineResults = int.Parse(driver.FindElement(By.XPath("//*[@id='service-search-section']//" +
                                                                  "div[1]/div[1]/div/a[1]/span")).Text);

            // Check onsite results
            FilterOnsite.Click();
            GlobalDefinitions.WaitForElementClickable(driver, "XPath",
                                                      "//*[@id='service-search-section']//div[2]/div/button[2]", 10);
            onsiteResults = int.Parse(driver.FindElement(By.XPath("//*[@id='service-search-section']//" +
                                                                  "div[1]/div[1]/div/a[1]/span")).Text);

            // Check show all results
            FilterShowAll.Click();
            GlobalDefinitions.WaitForElementClickable(driver, "XPath",
                                                      "//*[@id='service-search-section']//div[2]/div/button[2]", 10);
            showAllResults = int.Parse(driver.FindElement(By.XPath("//*[@id='service-search-section']//" +
                                                                   "div[1]/div[1]/div/a[1]/span")).Text);

            // Extent report
            Base.test.Log(LogStatus.Pass, "Search skills by filter successfully!");
        }