com.atlassian.jira.functest.framework
Class LocatorFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.LocatorFactoryImpl
All Implemented Interfaces:
LocatorFactory

public class LocatorFactoryImpl
extends Object
implements LocatorFactory

An implementation of the Locator Factory

Since:
v4.2

Constructor Summary
LocatorFactoryImpl(net.sourceforge.jwebunit.WebTester tester)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorFactoryImpl

public LocatorFactoryImpl(net.sourceforge.jwebunit.WebTester tester)
Method Detail

xpath

public XPathLocator xpath(String xpathExpression)
Specified by:
xpath in interface LocatorFactory

css

public CssLocator css(String cssSelector)
Specified by:
css in interface LocatorFactory

page

public WebPageLocator page()
Specified by:
page in interface LocatorFactory

id

public IdLocator id(String id)
Specified by:
id in interface LocatorFactory

node

public NodeLocator node(Node node)
Specified by:
node in interface LocatorFactory

table

public TableLocator table(String tableId)
Specified by:
table in interface LocatorFactory

cell

public TableCellLocator cell(String tableId,
                             int row,
                             int col)
Specified by:
cell in interface LocatorFactory


Copyright © 2002-2013 Atlassian. All Rights Reserved.