Package com.atlassian.pageobjects.elements

Examples of com.atlassian.pageobjects.elements.PageElement


    return URI;
  }

  public GlobalConfigPage disableAchievement(int achievementId)
  {
    PageElement achievement = getAchievementElement(achievementId);

    if (achievement.find(By.className("active")) != null)
    {
      // Achievement is enable, else do nothing
      achievement.click();
    }

    return this;
  }
View Full Code Here


    return this;
  }

  public GlobalConfigPage enableAchievement(int achievementId)
  {
    PageElement achievement = getAchievementElement(achievementId);

    if (!achievement.find(By.className("mask")).hasClass("active"))
    {
      // Achievement is enable, else do nothing
      achievement.click();
    }

    return this;
  }
View Full Code Here

  @Init
  private void init()
  {
    for (PageElement item : elementFinder.find(By.cssSelector("ul.vertical.tabs")).findAll(By.tagName("li")))
    {
      final PageElement link = item.find(By.id(linkId));
      if (link.isPresent())
      {
        this.linkItem = item;
        this.link = link;
        break;
      }
View Full Code Here

TOP

Related Classes of com.atlassian.pageobjects.elements.PageElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.