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"
Line 3: | Line 3: | ||
CDE 2 consumes a subset of the commands used in "scripts" defined by the open source [http://seleniumhq.org Selenium] project. | CDE 2 consumes a subset of the commands used in "scripts" defined by the open source [http://seleniumhq.org Selenium] project. | ||
− | Supported Commands | + | ===Supported Commands=== |
* assertTextPresent (pattern) | * assertTextPresent (pattern) | ||
* assertTitle (pattern) | * assertTitle (pattern) | ||
Line 18: | Line 18: | ||
* type (locator, value) - text box | * type (locator, value) - text box | ||
* uncheck | * 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.