public void SearchSkillbyLocationType()
        {
            //Starting Extent report
            ReportHelpers.test = ReportHelpers.extent.StartTest("Refined Search by Location type");

            //Created object to interact with HomePage and SignInPage classes and their methods
            HomePage   HomePageObj   = new HomePage();
            SignInPage SignInPageObj = new SignInPage();

            //Called objects to run methods of these classes
            HomePageObj.Open();
            HomePageObj.OpenLoginForm();
            SignInPageObj.LogInSteps();

            //Created object to interact with SearchBar and RefineResultsPane classes and their methods
            SearchBar         SearchBarObj         = new SearchBar();
            RefineResultsPane RefineResultsPaneObj = new RefineResultsPane();

            //Called objects to run methods of these classes
            SearchBarObj.SkillSearch();
            RefineResultsPaneObj.RefineSearchResultsByCategory();
            RefineResultsPaneObj.ValidationRefineSearch("ListingLocationType", "Online");
        }
Example #2
0
 public void WhenIFilterTheResultsByCategory(string p0)
 {
     RefineResultsPaneObj.RefineSearchResultsByCategory();
 }