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"); }
public SearchResultPage(Driver driver) : base(driver) { RefineResultsPane = new RefineResultsPane(driver); ResultSection = new SearchResultsSection(driver); }
public SearchSkillsByCategoriesSD() { SearchBarObj = new SearchBar(); RefineResultsPaneObj = new RefineResultsPane(); }