Ajocado API 1.0.0.Alpha2

Uses of Class
org.jboss.arquillian.ajocado.encapsulated.JavaScript

Packages that use JavaScript
org.jboss.arquillian.ajocado.encapsulated   
org.jboss.arquillian.ajocado.framework   
 

Uses of JavaScript in org.jboss.arquillian.ajocado.encapsulated
 

Methods in org.jboss.arquillian.ajocado.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 simplified format (look for Simplified format) to this JavaScript code and returns the result.
 

Methods in org.jboss.arquillian.ajocado.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.arquillian.ajocado.framework
 

Methods in org.jboss.arquillian.ajocado.framework with parameters of type JavaScript
 void TypedSelenium.addLocationStrategy(ElementLocationStrategy strategyName, JavaScript functionDefinition)
          Defines a new function for Selenium to locate elements on the page.
 void TypedSelenium.addScript(JavaScript javaScript)
          Loads script content into a new script tag in the Selenium document.
 boolean TypedSelenium.containsScript(JavaScript javaScript)
          Checks whenever the script is already added.
 String TypedSelenium.getEval(JavaScript script)
          Gets the result of evaluating the specified JavaScript snippet.
 void TypedSelenium.removeScript(JavaScript javaScript)
          Removes a script tag from the Selenium document identified by the JavaScript's id (see getIdentification().
 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 TypedSelenium.waitForCondition(JavaScript script)
          Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
 void TypedSelenium.waitForCondition(JavaScript script, long timeout)
          Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
 


Ajocado API 1.0.0.Alpha2

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