Uses of Interface
com.atlassian.jira.functest.framework.locator.Locator

Packages that use Locator
com.atlassian.jira.functest.framework   
com.atlassian.jira.functest.framework.assertions   
com.atlassian.jira.functest.framework.locator   
 

Uses of Locator in com.atlassian.jira.functest.framework
 

Methods in com.atlassian.jira.functest.framework with parameters of type Locator
 Long Dashboard.getDashboardPageId(String dashboardPageName, Locator pagesLocator)
          Find the id of the dashboard page with the given name from a table to dashboard pages.
 

Uses of Locator in com.atlassian.jira.functest.framework.assertions
 

Methods in com.atlassian.jira.functest.framework.assertions with parameters of type Locator
 void TextAssertions.assertAtLeastOneTextPresent(Locator locator, String option1, String... options)
          Asserts that at least one of the provided text strings is present in the locator.
 void TextAssertionsImpl.assertAtLeastOneTextPresent(Locator locator, String option1, String... moreOptions)
           
 void DashboardAssertions.assertColumns(List<String> colHeaders, Locator dashboardsLocator)
          Assert that the columns exist
 void DashboardAssertionsImpl.assertColumns(List<String> colHeaders, Locator dashboardsLocator)
           
 void IssueNavigatorAssertionsImpl.assertIssueNavigatorDisplaying(Locator locator, String from, String to, String of)
           
 void IssueNavigatorAssertions.assertIssueNavigatorDisplaying(Locator locator, String from, String to, String of)
          Assert that the issue navigator is displaying with bug from, to and totalNumber (of)
 void AssertionsImpl.assertNodeDoesNotExist(Locator locator)
           
 void Assertions.assertNodeDoesNotExist(Locator locator)
          Asserts that a given node does not exists
 void AssertionsImpl.assertNodeDoesNotHaveText(Locator locator, String textToTest)
           
 void Assertions.assertNodeDoesNotHaveText(Locator locator, String textToTest)
          Asserts that a given node exists but does not contain the given text
 void AssertionsImpl.assertNodeEquals(Locator locator, String textToTest)
           
 void Assertions.assertNodeEquals(Locator locator, String textToTest)
          Asserts that a given node exactly equals the given text
 void AssertionsImpl.assertNodeExists(Locator locator)
           
 void Assertions.assertNodeExists(Locator locator)
          Asserts that a given node exists
 void AssertionsImpl.assertNodeHasText(Locator locator, String textToTest)
           
 void Assertions.assertNodeHasText(Locator locator, String textToTest)
          Asserts that a given node contains the given text
 void TextAssertions.assertRegexMatch(Locator locator, String regexPattern)
          Synonym for TextAssertions.assertRegexMatch(String,String) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertRegexMatch(Locator locator, String regexPattern)
           
 void TextAssertions.assertRegexNoMatch(Locator locator, String regexPattern)
          Synonym for TextAssertions.assertRegexNoMatch(String,String) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertRegexNoMatch(Locator locator, String regexPattern)
           
 void TextAssertions.assertTextNotPresent(Locator locator, String expectedText)
          Synonym for TextAssertions.assertTextNotPresent(String,String) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertTextNotPresent(Locator locator, String expectedText)
           
 void TextAssertions.assertTextPresent(Locator locator, String expectedText)
          Synonym for TextAssertions.assertTextPresent(String,String) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertTextPresent(Locator locator, String expectedText)
           
 void TextAssertions.assertTextPresentNumOccurences(Locator locator, String expectedText, int numOccurences)
          Synonym for TextAssertions.assertTextPresentNumOccurences(String,String,int) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertTextPresentNumOccurences(Locator locator, String expectedText, int numOccurences)
           
 void TextAssertions.assertTextSequence(Locator locator, String[] expectedTextSequence)
          Synonym for TextAssertions.assertTextSequence(String,String[]) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertTextSequence(Locator locator, String[] expectedTextSequence)
           
 void TextAssertions.assertTextSequence(Locator locator, String expected1, String... expected2)
          Synonym for TextAssertions.assertTextSequence(String,String[]) that calls getText() on the provided locator.
 void TextAssertionsImpl.assertTextSequence(Locator locator, String expected1, String... expected2)
           
 

Uses of Locator in com.atlassian.jira.functest.framework.locator
 

Classes in com.atlassian.jira.functest.framework.locator that implement Locator
 class AbstractLocator
          A base class to derive Locators from
 class AggregateLocator
          AggregateLocator will "aggregate" together the results of the provided Locators

NOTE : Locators are one shot objects.

 class CssLocator
          A CSS locator that uses JSOUP {@link org.jsoup.nodes.Document) under the covers

The CSS selectors are therefore the set that JSOUP can handle.

 class IdLocator
          A Locator that looks for the first Element with the specified id

NOTE : Locators are one shot objects.

 class NodeLocator
          A Locator that uses the provided Node as the source of text.
 class TableCellLocator
          Locator to run test assertions on a single table cell.
 class TableLocator
          This will locate HTML tables by 'tableId' and return the WebTable ready for more assertions.
 class WebPageLocator
          This locator returns the whole of the web page as text.
 class XPathLocator
          A Locator that uses XPath to locate Node's

For more information on XPath look here:

http://www.w3.org/TR/xpath

For a tutorial on XPath look here:

http://www.w3schools.com/xpath/default.asp

http://www.zvon.org/xxl/XPathTutorial/General/examples.html

NOTE : Locators are one shot objects.

 

Methods in com.atlassian.jira.functest.framework.locator with parameters of type Locator
protected static boolean AbstractLocator.containsNode(Locator locator, Node node)
           
 

Constructors in com.atlassian.jira.functest.framework.locator with parameters of type Locator
AggregateLocator(Locator[] locators)
          Aggregates together the values of the specified array of Locators
AggregateLocator(Locator firstLocator, Locator secondLocator)
          Creates an agggregate of the firstLocator and the secondLocator
LocatorIterator(Locator locator)
           
 



Copyright © 2002-2012 Atlassian. All Rights Reserved.