com.atlassian.jira.functest.framework
Interface LocatorFactory

All Known Implementing Classes:
LocatorFactoryImpl

public interface LocatorFactory

A factory class for creating locators from FuncTestCase and JIRAWebTest test cases. The idea is to make that test code that much more succinct and hence more readable.

Since:
v4.2

Method Summary
 TableCellLocator cell(String tableId, int row, int col)
           
 CssLocator css(String cssSelector)
           
 IdLocator id(String id)
           
 NodeLocator node(Node node)
           
 WebPageLocator page()
           
 TableLocator table(String tableId)
           
 XPathLocator xpath(String xpathExpression)
           
 

Method Detail

page

WebPageLocator page()

xpath

XPathLocator xpath(String xpathExpression)

css

CssLocator css(String cssSelector)

id

IdLocator id(String id)

node

NodeLocator node(Node node)

table

TableLocator table(String tableId)

cell

TableCellLocator cell(String tableId,
                      int row,
                      int col)


Copyright © 2002-2012 Atlassian. All Rights Reserved.