com.atlassian.jira.pageobjects.pages
Class GenericPageWithWarningMessage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.GenericPageWithWarningMessage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class GenericPageWithWarningMessage
- extends AbstractJiraPage
A generic page that contains warning in page content. Useful for checking if error page appear after user action.
Example usage:
jira.visit(GenericPageWithWarningMessage.class, pageUrl, "You must log in to access this page.");
- Since:
- v6.1
Method Summary |
String |
getUrl()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericPageWithWarningMessage
public GenericPageWithWarningMessage(String url,
String expectedMessage)
isAt
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Description copied from class:
AbstractJiraPage
- Timed condition checking if we're at given page.
- Specified by:
isAt
in class AbstractJiraPage
- Returns:
- timed condition checking, if the test is at given page
getUrl
public String getUrl()
Copyright © 2002-2014 Atlassian. All Rights Reserved.