com.atlassian.jira.webtest.framework.impl.selenium.form
Class DirtyFormCheck.DirtyFormDescriptor
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.form.DirtyFormCheck.DirtyFormDescriptor
- Enclosing class:
- DirtyFormCheck
public static class DirtyFormCheck.DirtyFormDescriptor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirtyFormCheck.DirtyFormDescriptor
public DirtyFormCheck.DirtyFormDescriptor(String formOpenerQuery,
String parentReadyQuery,
String formReadyQuery,
String submitLinkQuery,
String cancelLinkQuery,
String dirtyLinkQuery,
String warningMessage,
String fieldName,
boolean isOption)
- Describes the form to be tested.
- Parameters:
formOpenerQuery
- query that matches the link used to open the formparentReadyQuery
- jQuery used to check if parent page is ready (after cancel)formReadyQuery
- the jQuery query string to use to check the form has displayedsubmitLinkQuery
- the jQuery query string that matches the form submit buttoncancelLinkQuery
- the jQuery query string that matches the form cancel buttondirtyLinkQuery
- the jQuery query string that matches the link that will cause a dirty form warningwarningMessage
- the warning message that shpould appear, null to accept the default messagefieldName
- a field to be used to test the dirty formisOption
- if the form field is an HTML select
getSubmitLinkQuery
public String getSubmitLinkQuery()
getCancelLinkQuery
public String getCancelLinkQuery()
getDirtyLinkQuery
public String getDirtyLinkQuery()
getWarningMessage
public String getWarningMessage()
getFormOpenerQuery
public String getFormOpenerQuery()
getParentReadyQuery
public String getParentReadyQuery()
getFieldName
public String getFieldName()
getFormReadyQuery
public String getFormReadyQuery()
isOption
public boolean isOption()
Copyright © 2002-2012 Atlassian. All Rights Reserved.