com.canoo.webtest.steps.locator
Class TableLocator

java.lang.Object
  extended by com.canoo.webtest.steps.locator.TableLocator
All Implemented Interfaces:
ITableLocator

public class TableLocator
extends Object
implements ITableLocator

Author:
Dierk König, Carsten Seibert, Marc Guillemot, Paul King

Constructor Summary
TableLocator()
           
 
Method Summary
 int getColumn()
           
 String getDescription()
           
 String getHtmlId()
           
 String getId()
          Deprecated. use setHtmlId(String) instead
 int getRow()
           
 String locateText(Context context, Step step)
           
 void setColumn(int column)
           
 void setDescription(String description)
           
 void setHtmlId(String id)
           
 void setId(String id)
          Deprecated. use setHtmlId(String) instead
 void setRow(int row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableLocator

public TableLocator()
Method Detail

setHtmlId

public void setHtmlId(String id)

getHtmlId

public String getHtmlId()
Specified by:
getHtmlId in interface ITableLocator

setId

public void setId(String id)
Deprecated. use setHtmlId(String) instead


getId

public String getId()
Deprecated. use setHtmlId(String) instead

Specified by:
getId in interface ITableLocator

setRow

public void setRow(int row)

getRow

public int getRow()
Specified by:
getRow in interface ITableLocator

setColumn

public void setColumn(int column)

getColumn

public int getColumn()
Specified by:
getColumn in interface ITableLocator

setDescription

public void setDescription(String description)

getDescription

public String getDescription()
Specified by:
getDescription in interface ITableLocator

locateText

public String locateText(Context context,
                         Step step)
                  throws TableNotFoundException,
                         IndexOutOfBoundsException,
                         SAXException
Specified by:
locateText in interface ITableLocator
Throws:
TableNotFoundException
IndexOutOfBoundsException
SAXException

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.