Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.locator
Class AbstractLocationStrategy

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocationStrategy
All Implemented Interfaces:
LocationStrategy
Direct Known Subclasses:
ElementLocationStrategy, OptionLocationStrategy

public abstract class AbstractLocationStrategy
extends Object
implements LocationStrategy

Abstract strategy for location of items on page.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
AbstractLocationStrategy(String strategyName)
           
 
Method Summary
 String getStrategyName()
           Gets the strategy name used to express location strategy in Selenium API.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLocationStrategy

public AbstractLocationStrategy(String strategyName)
Method Detail

getStrategyName

public String getStrategyName()
Description copied from interface: LocationStrategy

Gets the strategy name used to express location strategy in Selenium API.

E.g. <strategyName>=<locator>

Specified by:
getStrategyName in interface LocationStrategy
Returns:
the strategy name

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.