Esempio n. 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);
 }
Esempio n. 3
0
 public BusinessPage()
 {
     WebElements.Add(TeamsUseGitHubButton);
 }
Esempio n. 4
0
 public ExplorePage()
 {
     WebElements.Add(RepositoriesTab);
     WebElements.Add(DevelopersTab);
 }
 public ContactUsPage()
 {
     WebElements.Add(GitHubLogo);
 }
 public MarketplacePage()
 {
     WebElements.Add(SearchMarketPlaceTextbox);
     WebElements.AddRange(CategoriesList);
 }