Uses of Class
org.jboss.test.selenium.encapsulated.JavaScript

Packages that use JavaScript
org.jboss.test.selenium.encapsulated   
org.jboss.test.selenium.framework   
org.jboss.test.selenium.framework.internal   
org.jboss.test.selenium.locator   
org.jboss.test.selenium.waiting.ajax   
org.jboss.test.selenium.waiting.conditions   
org.jboss.test.selenium.waiting.retrievers   
 

Uses of JavaScript in org.jboss.test.selenium.encapsulated
 

Methods in org.jboss.test.selenium.encapsulated that return JavaScript
 JavaScript JavaScript.append(String javaScriptPartToAppend)
          Append the JavaScript part to end of the this JavaScript
static JavaScript JavaScript.fromFile(File sourceFile)
          Loads the JavaScript from file.
static JavaScript JavaScript.fromResource(String resourceName)
          Loads the JavaScript from classpath resource.
 JavaScript JavaScript.join(JavaScript javaScriptToJoin)
          Joins this JavaScript object with another JavaScript object to single JavaScript.
static JavaScript JavaScript.js(String javaScript)
          The factory method for JavaScript object
 JavaScript JavaScript.parametrize(Object... parameters)
          Fills the parameters to placeholders in SimplifiedFormat format to this JavaScript code and returns the result.
 

Methods in org.jboss.test.selenium.encapsulated with parameters of type JavaScript
 JavaScript JavaScript.join(JavaScript javaScriptToJoin)
          Joins this JavaScript object with another JavaScript object to single JavaScript.
 

Uses of JavaScript in org.jboss.test.selenium.framework
 

Methods in org.jboss.test.selenium.framework that return JavaScript
 JavaScript TypedSeleniumImpl.getExpression(JavaScript expression)
           
 

Methods in org.jboss.test.selenium.framework with parameters of type JavaScript
 void TypedSeleniumImpl.addLocationStrategy(ElementLocationStrategy locationStrategy, JavaScript strategyDefinition)
           
 void TypedSelenium.addLocationStrategy(ElementLocationStrategy strategyName, JavaScript functionDefinition)
          Defines a new function for Selenium to locate elements on the page.
 void TypedSeleniumImpl.addScript(JavaScript javaScript)
           
 void TypedSelenium.addScript(JavaScript javaScript)
          Loads script content into a new script tag in the Selenium document.
 boolean TypedSeleniumImpl.containsScript(JavaScript javaScript)
           
 boolean TypedSelenium.containsScript(JavaScript javaScript)
          Checks whenever the script is already added.
 String TypedSeleniumImpl.getEval(JavaScript script)
           
 String TypedSelenium.getEval(JavaScript script)
          Gets the result of evaluating the specified JavaScript snippet.
 JavaScript TypedSeleniumImpl.getExpression(JavaScript expression)
           
 void TypedSeleniumImpl.removeScript(JavaScript javaScript)
           
 void TypedSelenium.removeScript(JavaScript javaScript)
          Removes a script tag from the Selenium document identified by the JavaScript's id (see getIdentification().
 void TypedSeleniumImpl.runScript(JavaScript script)
           
 void TypedSelenium.runScript(JavaScript script)
          Creates a new "script" tag in the body of the current test window, and adds the specified text into the body of the command.
 void TypedSeleniumImpl.setExtensionJs(JavaScript extensionJs)
           
 void TypedSeleniumImpl.waitForCondition(JavaScript script)
           
 void TypedSelenium.waitForCondition(JavaScript script)
          Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
 void TypedSeleniumImpl.waitForCondition(JavaScript script, long timeout)
           
 void TypedSelenium.waitForCondition(JavaScript script, long timeout)
          Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
 

Uses of JavaScript in org.jboss.test.selenium.framework.internal
 

Methods in org.jboss.test.selenium.framework.internal that return JavaScript
 JavaScript UnsupportedTypedSelenium.getExpression(JavaScript expression)
          Returns the specified expression.
 

Methods in org.jboss.test.selenium.framework.internal with parameters of type JavaScript
 JavaScript UnsupportedTypedSelenium.getExpression(JavaScript expression)
          Returns the specified expression.
 void UnsupportedTypedSelenium.setExtensionJs(JavaScript extensionJs)
          Sets the per-session extension Javascript
 

Uses of JavaScript in org.jboss.test.selenium.locator
 

Methods in org.jboss.test.selenium.locator with parameters of type JavaScript
static DomLocator LocatorFactory.dom(JavaScript javascriptExpression)
          Find an element by evaluating the specified JavaScript expression.
 

Constructors in org.jboss.test.selenium.locator with parameters of type JavaScript
DomLocator(JavaScript javascriptExpression)
           
 

Uses of JavaScript in org.jboss.test.selenium.waiting.ajax
 

Methods in org.jboss.test.selenium.waiting.ajax that return JavaScript
 JavaScript JavaScriptCondition.getJavaScriptCondition()
          Gets JavaScript which define condition what it should be waited for satisfaction.
 JavaScript JavaScriptRetriever.getJavaScriptRetrieve()
          Gets the code for retrieving value on JavaScript side.
 

Uses of JavaScript in org.jboss.test.selenium.waiting.conditions
 

Methods in org.jboss.test.selenium.waiting.conditions that return JavaScript
 JavaScript ElementPresent.getJavaScriptCondition()
           
 JavaScript AttributePresent.getJavaScriptCondition()
           
 JavaScript IsNotDisplayed.getJavaScriptCondition()
           
 JavaScript AlertEquals.getJavaScriptCondition()
           
 JavaScript IsDisplayed.getJavaScriptCondition()
           
 JavaScript CountEquals.getJavaScriptCondition()
           
 JavaScript StyleEquals.getJavaScriptCondition()
           
 JavaScript TextEquals.getJavaScriptCondition()
           
 JavaScript AttributeEquals.getJavaScriptCondition()
           
 JavaScript AlertPresent.getJavaScriptCondition()
           
 

Uses of JavaScript in org.jboss.test.selenium.waiting.retrievers
 

Methods in org.jboss.test.selenium.waiting.retrievers that return JavaScript
 JavaScript TextRetriever.getJavaScriptRetrieve()
          JavaScript expression to retrieve text value from element given by elementLocator
 JavaScript AttributeRetriever.getJavaScriptRetrieve()
          JavaScript expression to retrieve attribute value from element given by attributeLocator
 



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