org.seleniuminspector
Class DocumentInspector

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

public class DocumentInspector
extends ElementInspector


Constructor Summary
DocumentInspector()
           
 
Method Summary
 java.lang.String getElementReferenceExpression()
           
 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, size, sleep, subElement, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentInspector

public DocumentInspector()
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.

toString

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


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