예제 #1
0
 /// <summary>
 /// Initializes web elements dictionary
 /// </summary>
 /// <returns>current page instance</returns>
 public CalculatorMainPage Initialize()
 {
     ResultWebElement = GetWebElement(By.Id("display"));
     foreach (var element in ElementsLocators)
     {
         WebElements.Add(element.Key, GetWebElement(element.Value));
     }
     return(this);
 }
 public PricingPage()
 {
     WebElements.Add(ContactUsLink);
 }
예제 #3
0
 public BusinessPage()
 {
     WebElements.Add(TeamsUseGitHubButton);
 }
예제 #4
0
 public ExplorePage()
 {
     WebElements.Add(RepositoriesTab);
     WebElements.Add(DevelopersTab);
 }
 public ContactUsPage()
 {
     WebElements.Add(GitHubLogo);
 }
 public MarketplacePage()
 {
     WebElements.Add(SearchMarketPlaceTextbox);
     WebElements.AddRange(CategoriesList);
 }