org.seleniuminspector
Class WindowInspector

java.lang.Object
  extended by org.seleniuminspector.ElementInspector
      extended by org.seleniuminspector.WindowInspector

public class WindowInspector
extends ElementInspector


Constructor Summary
WindowInspector()
           
 
Method Summary
 DocumentInspector document()
           
 java.lang.String getElementReferenceExpression()
           
 java.awt.Dimension size()
           
 java.lang.String toString()
           
 
Methods inherited from class org.seleniuminspector.ElementInspector
adaptColorString, adaptFontWeightString, asSeleniumLocator, assertAttribute, assertAttributeStartsWith, assertContainsText, assertElementExists, assertElementExists, assertExpressionEquals, assertExpressionEquals, assertExpressionEquals, assertExpressionEquals, assertExpressionStartsWith, assertHeight, assertHeight, assertNodeName, assertPosition, assertPosition, assertSize, assertSize, assertStyle, assertSubtext, assertText, assertVisible, assertWidth, assertWidth, attribute, calculateStyleProperty, childNodes, childNodesByName, className, click, clickAndWait, clickAndWait, doubleClick, dragAndDrop, elementExists, escapeStringForJS, escapeStringForJSAndQuote, evalBooleanExpression, evalExpression, evalIntExpression, evalSeleniumInspectorExpression, executeSeleniumCommand, fireEvent, fireEvent, firstChild, focus, getElementsByScript, getElementsByTagName, getSelenium, hasChildNodes, id, isCommentNode, isDocumentNode, isTextNode, isVisible, keyDown, keyDown, keyPress, keyPress, keyUp, keyUp, lastChild, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, nextSibling, nodeName, nodeValue, parentNode, position, previousSibling, rectangle, selectByLabel, selectOptions, setCursorPosition, sleep, subElement, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowInspector

public WindowInspector()
Method Detail

getElementReferenceExpression

public java.lang.String getElementReferenceExpression()
Specified by:
getElementReferenceExpression in class ElementInspector
Returns:
expression that evaluates to the inspected element. This expression is evaluated by the Selenium.getEval method and it is executed in context of the "selenium" object, not the tested window. Use "window" to refer to the tested window.

document

public DocumentInspector document()

size

public java.awt.Dimension size()
Overrides:
size in class ElementInspector

toString

public java.lang.String toString()
Overrides:
toString in class ElementInspector


Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.