Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Org.eclipse.higgins.js.pds.cde2"
(New page: {{#eclipseproject:technology.higgins|eclipse_custom_style.css}}) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} | {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} | ||
+ | |||
+ | CDE 2 consumes a subset of the commands used in "scripts" defined by the open source [http://seleniumhq.org Selenium] project. | ||
+ | |||
+ | ===Supported Commands=== | ||
+ | * assertTextPresent (pattern) | ||
+ | * assertTitle (pattern) | ||
+ | * click (locator) - button/link | ||
+ | * clickAndWait (locator) - button/link | ||
+ | * check | ||
+ | * echo (message) | ||
+ | * fireEvent (locator, event) | ||
+ | * open (url) | ||
+ | * pause (delay) | ||
+ | * select (selectLocator, optionLocator) - dropdown | ||
+ | * store (variable-name, value) | ||
+ | * storeSelectOptions (selectLocator, variableName) | ||
+ | * type (locator, value) - text box | ||
+ | * uncheck | ||
+ | |||
+ | ===Variables=== | ||
+ | The Selenium language supports variables of the form "${foo}" that can be evaluated at runtime. Our plan is that CDE2 will evaluate these variables by calling getAttributes() or the getCredentials() method of [[Org.eclipse.higgins.js.pds.client]]. |
Latest revision as of 13:39, 4 January 2012
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
CDE 2 consumes a subset of the commands used in "scripts" defined by the open source Selenium project.
Supported Commands
- assertTextPresent (pattern)
- assertTitle (pattern)
- click (locator) - button/link
- clickAndWait (locator) - button/link
- check
- echo (message)
- fireEvent (locator, event)
- open (url)
- pause (delay)
- select (selectLocator, optionLocator) - dropdown
- store (variable-name, value)
- storeSelectOptions (selectLocator, variableName)
- type (locator, value) - text box
- uncheck
Variables
The Selenium language supports variables of the form "${foo}" that can be evaluated at runtime. Our plan is that CDE2 will evaluate these variables by calling getAttributes() or the getCredentials() method of Org.eclipse.higgins.js.pds.client.