com.atlassian.jira.webtest.framework.page.admin.applinks
Interface NewAppLinkWizard

All Superinterfaces:
Dialog<NewAppLinkWizard>, Localizable, Openable<NewAppLinkWizard>, PageDialog<NewAppLinkWizard,AppLinksAdminPage>, PageObject
All Known Implementing Classes:
SeleniumNewAppLinksWizard

public interface NewAppLinkWizard
extends PageDialog<NewAppLinkWizard,AppLinksAdminPage>

Represents the "New Application Link" dialog, which contains a wizard. This interface allows you to test which step of the wizard is currently active, as well as allowing you to navigate the wizard and test for error and warning messages.

Since:
v4.3

Method Summary
 NewAppLinkWizard clickCancel()
          Clicks the "Cancel" link on the wizard.
 NewAppLinkWizard clickNext()
          Clicks the "Next" button on the wizard.
 NewAppLinkWizard clickSubmit()
          Click the "Submit" button on the wizard.
 TimedCondition hasErrorMessage(String errorMessage)
          Returns a TimedCondition that can be used to test if the wizard contains a given error message.
 TimedCondition hasWarning(String warnMessage)
          Returns a TimedCondition that can be used to test if the wizard contains a given warning message.
 NewAppLinkWizardStep1 step1()
          Returns a page object for step 1 of the wizard.
 NewAppLinkWizardStep2 step2()
          Returns a page object for step 2 of the wizard.
 NewAppLinkWizardStep3 step3()
          Returns a page object for step 3 of the wizard.
 String title()
          Returns the title that is in the wizard (i.e.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.dialog.PageDialog
page
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Openable
isClosed, isOpen, isOpenable, open
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

step1

NewAppLinkWizardStep1 step1()
Returns a page object for step 1 of the wizard.

Returns:
a NewAppLinkWizardStep1

step2

NewAppLinkWizardStep2 step2()
Returns a page object for step 2 of the wizard.

Returns:
a NewAppLinkWizardStep2

step3

NewAppLinkWizardStep3 step3()
Returns a page object for step 3 of the wizard.

Returns:
a NewAppLinkWizardStep3

clickCancel

NewAppLinkWizard clickCancel()
Clicks the "Cancel" link on the wizard.

Returns:
a NewAppLinkWizard

clickNext

NewAppLinkWizard clickNext()
Clicks the "Next" button on the wizard.

Returns:
a NewAppLinkWizard

clickSubmit

NewAppLinkWizard clickSubmit()
Click the "Submit" button on the wizard.

Returns:
a NewAppLinkWizard

title

String title()
Returns the title that is in the wizard (i.e. step title).

Returns:
a String containing the title

hasErrorMessage

TimedCondition hasErrorMessage(String errorMessage)
Returns a TimedCondition that can be used to test if the wizard contains a given error message.

Parameters:
errorMessage - a String containing an error message
Returns:
a TimedCondition

hasWarning

TimedCondition hasWarning(String warnMessage)
Returns a TimedCondition that can be used to test if the wizard contains a given warning message.

Parameters:
warnMessage - a String containing a warning message
Returns:
a TimedCondition


Copyright © 2002-2013 Atlassian. All Rights Reserved.