|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebGUIInteraction
Specialization of the GUIInteraction
interface
which adds features specific for Web GUIs.
Method Summary | |
---|---|
void |
addCustomHttpHeaderCommand(String key,
String value)
Tells the Selenium server to add the specified key and value as a custom outgoing request header. |
NodeList |
evalXPath(String xpath)
Evaluates arbitrary XPath and outputs its result as NodeList object. |
NodeList |
evalXPath(XPathLocator locator)
Does the same like evalXPath(String) does. |
String |
evalXPathAsString(String xpath)
Evaluates arbitrary XPath and outputs its result as String. |
void |
open()
Opens the main URL of the Application Unter Test (configuration property: url.of.aut ) in a new browser window
and waits until the page is fully loaded. |
void |
refresh()
Refreshes the page of the currently selected window and waits until the page is fully loaded. |
void |
switchToIFrame(GUIElementLocator iframeLocator)
Switches to the given iframe element of the current web page in the current window, or switches back to default content. |
void |
windowFocus()
Gives focus to the currently selected window. |
void |
windowMaximize()
Maximizes the currently selected window. |
Methods inherited from interface org.aludratest.service.gui.GUIInteraction |
---|
assignFileResource, changeCheckbox, click, closeOtherWindows, closeWindows, deselectCheckbox, doubleClick, focus, functionalError, getInputFieldSelectedLabel, getInputFieldValue, getText, getText, keyPress, selectCheckbox, selectDropDownEntry, selectRadiobutton, selectWindow, type, waitForWindowToBeClosed, wrongPageFlow |
Methods inherited from interface org.aludratest.service.Action |
---|
createAttachments, createDebugAttachments, setSystemConnector |
Method Detail |
---|
void open()
url.of.aut
) in a new browser window
and waits until the page is fully loaded. This method has to be called before most methods of the check()
,
perform()
and verify()
objects can be used.
void refresh()
void windowMaximize()
void windowFocus()
void addCustomHttpHeaderCommand(String key, String value)
key
- the header namevalue
- the header valuevoid switchToIFrame(GUIElementLocator iframeLocator)
iframeLocator
- Locator which uniquely identifies the inner frame to switch to. Use null
to switch back
to default content.NodeList evalXPath(XPathLocator locator)
evalXPath(String)
does.
locator
- whose XPath expression will be taken and evaluated
NodeList evalXPath(String xpath)
xpath
- XPath expression to be executed
String evalXPathAsString(String xpath)
xpath
- XPath expression to be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |