com.atlassian.jira.webtest.selenium.framework.pages
Class IssueNavigator

java.lang.Object
  extended by com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
      extended by com.atlassian.jira.webtest.selenium.framework.pages.AbstractPage
          extended by com.atlassian.jira.webtest.selenium.framework.pages.AbstractGlobalPage<IssueNavigator>
              extended by com.atlassian.jira.webtest.selenium.framework.pages.IssueNavigator
All Implemented Interfaces:
PageObject, GlobalPage<IssueNavigator>, Page

Deprecated. use IssueNavigator instead

@Deprecated
public class IssueNavigator
extends AbstractGlobalPage<IssueNavigator>
implements Page

Representation of the Issue Navigator in the Selenium World.

Since:
4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
assertThat, client, context
 
Constructor Summary
IssueNavigator(SeleniumContext context)
          Deprecated.  
 
Method Summary
 void assertNumberOfIssues(Integer from, Integer to, Integer total)
          Deprecated.  
protected  String detector()
          Deprecated. Locator used to check if we are currently at the page
 IssueNavigator findAll()
          Deprecated. Find all issues.
 boolean isJqlFocusedOnPageLoad()
          Deprecated. this belongs to one specific test and shouldnt be here, expose locator for JQL textarea and let the test handle the rest
 boolean isJqlMode()
          Deprecated. Checks if advanced (JQL) search mode is on.
 boolean isSimpleMode()
          Deprecated. Checks if simple search mode is on.
protected  String linkLocator()
          Deprecated. Locator of a globally accessible link leading to this page.
 IssueNavResults results()
          Deprecated.  
 IssueNavigator runJql(String jql)
          Deprecated.  
 IssueNavigator sortByColumn(int i)
          Deprecated.  
 IssueNavigator submitJql()
          Deprecated.  
 IssueNavigator toJqlMode()
          Deprecated. Switch to advanced (JQL) search mode.
 IssueNavigator toNextPage()
          Deprecated.  
 IssueNavigator toPage(int pageNumber)
          Deprecated.  
 IssueNavigator toPreviousPage()
          Deprecated.  
 IssueNavigator toSimpleMode()
          Deprecated. Switch to simple search mode.
 void viewEditTab()
          Deprecated.  
 void viewSummaryTab()
          Deprecated.  
 
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.pages.AbstractGlobalPage
goTo
 
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.pages.AbstractPage
assertReady, checkOnPage, isAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.pages.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.PageObject
assertReady
 

Constructor Detail

IssueNavigator

public IssueNavigator(SeleniumContext context)
Deprecated. 
Method Detail

detector

protected String detector()
Deprecated. 
Description copied from class: AbstractPage
Locator used to check if we are currently at the page

Specified by:
detector in class AbstractPage
Returns:
locator indicative of the page

linkLocator

protected String linkLocator()
Deprecated. 
Description copied from class: AbstractGlobalPage
Locator of a globally accessible link leading to this page.

Specified by:
linkLocator in class AbstractGlobalPage<IssueNavigator>
Returns:
global link locator

toSimpleMode

public IssueNavigator toSimpleMode()
Deprecated. 
Switch to simple search mode.

Returns:
this issue navigator instance

toJqlMode

public IssueNavigator toJqlMode()
Deprecated. 
Switch to advanced (JQL) search mode.

Returns:
this issue navigator instance

findAll

public IssueNavigator findAll()
Deprecated. 
Find all issues.

Returns:
this issue navigator instance

runJql

public IssueNavigator runJql(String jql)
Deprecated. 

submitJql

public IssueNavigator submitJql()
Deprecated. 

toPage

public IssueNavigator toPage(int pageNumber)
Deprecated. 

toNextPage

public IssueNavigator toNextPage()
Deprecated. 

toPreviousPage

public IssueNavigator toPreviousPage()
Deprecated. 

sortByColumn

public IssueNavigator sortByColumn(int i)
Deprecated. 

isSimpleMode

public boolean isSimpleMode()
Deprecated. 
Checks if simple search mode is on.

Returns:
true, if simple search mode is on, false otherwise (i.e. JQL mode)

isJqlMode

public boolean isJqlMode()
Deprecated. 
Checks if advanced (JQL) search mode is on.

Returns:
true, if JQL search mode is on, false otherwise (i.e. simple mode)

results

public IssueNavResults results()
Deprecated. 

isJqlFocusedOnPageLoad

@Deprecated
public boolean isJqlFocusedOnPageLoad()
Deprecated. this belongs to one specific test and shouldnt be here, expose locator for JQL textarea and let the test handle the rest

Whether at initial page render time the JQL textarea had focus.

This is a proxy to whether it does have focus, since some JavaScript must run to actually tell the browser to give focus to the JQL textarea upon seeing the 'focused' class.

Returns:
true, if JQL text area had focus on page load

viewSummaryTab

public void viewSummaryTab()
Deprecated. 

viewEditTab

public void viewEditTab()
Deprecated. 

assertNumberOfIssues

public void assertNumberOfIssues(Integer from,
                                 Integer to,
                                 Integer total)
Deprecated. 


Copyright © 2002-2013 Atlassian. All Rights Reserved.