org.aludratest.service.gui.web.selenium
Class AbstractSeleniumService
java.lang.Object
org.aludratest.service.AbstractAludraService
org.aludratest.service.AbstractConfigurableAludraService
org.aludratest.service.gui.web.selenium.AbstractSeleniumService
- All Implemented Interfaces:
- Closeable, Configurable, AludraCloseable, AludraService, AludraGUI, AludraWebGUI
- Direct Known Subclasses:
- AludraSelenium1, AludraSelenium2
public abstract class AbstractSeleniumService
- extends AbstractConfigurableAludraService
- implements AludraWebGUI
Common base class for Selenium based implementations of the AludraWebGUI interface.
- Author:
- falbrech
configuration
protected SeleniumWrapperConfiguration configuration
AbstractSeleniumService
public AbstractSeleniumService()
getPropertiesBaseName
public final String getPropertiesBaseName()
- Description copied from interface:
Configurable
- Returns the base name for properties files for this configurable, e.g. "aludratest" if the properties files are named
"aludratest.properties", or "fileService" for "fileService.properties".
- Specified by:
getPropertiesBaseName
in interface Configurable
- Returns:
- The base name for properties files for this configurable, never
null
.
configure
public final void configure(Preferences preferences)
- Description copied from interface:
Configurable
- Called by the framework to let a configurable object configure itself according to the passed Preferences object. The
object is allowed to store the passed Preferences reference and query it for configuration parameters when needed. It is
also OK to extract all required parameters in this method.
In any case, this method should check the configuration for validness and throw an AutomationException when the
configuration is invalid.
- Specified by:
configure
in interface Configurable
- Parameters:
preferences
- Configuration object for this configurable.
getComponentFactory
public GUIComponentFactory getComponentFactory()
- Description copied from interface:
AludraGUI
- Returns a factory which can be used to create GUI components for this service.
- Specified by:
getComponentFactory
in interface AludraGUI
- Returns:
- A factory which can be used to create GUI components for this service, never
null
.
Copyright © 2015 aludratest.org. All rights reserved.