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
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-2013 Atlassian. All Rights Reserved.