com.atlassian.jira.webtest.framework.impl.selenium.form
Class DirtyFormCheck
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
com.atlassian.jira.webtest.framework.impl.selenium.form.DirtyFormCheck
public class DirtyFormCheck
- extends SeleniumContextAware
Class that makes dirty form testing easier.
- Since:
- v4.3
Method Summary |
void |
_assertNotOpen()
|
void |
run()
|
void |
run(String dirtyFormError)
Runs a set of standard dirty form checks
Needs expanding to include all the checks as described in
https://extranet.atlassian.com/display/QA/JIRA+Dev+Checklist+-+Forms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirtyFormCheck
public DirtyFormCheck(SeleniumContext context,
String description,
DirtyFormCheck.Setup setup,
DirtyFormCheck.DirtyFormDescriptor dirtyFormDescriptor)
- Parameters:
context
- The Selenium test Contextdescription
- Description of testcasesetup
- The steps to perform before invoking the form, use the defult DirtyFormCheck.None for no setupdirtyFormDescriptor
- The submission implementation - eg Link or Form based submission page
run
public void run()
throws Exception
- Throws:
Exception
run
public void run(String dirtyFormError)
throws Exception
- Runs a set of standard dirty form checks
Needs expanding to include all the checks as described in
https://extranet.atlassian.com/display/QA/JIRA+Dev+Checklist+-+Forms
- Parameters:
dirtyFormError
- expected error message if the form is dirty
- Throws:
Exception
_assertNotOpen
public final void _assertNotOpen()
Copyright © 2002-2013 Atlassian. All Rights Reserved.