- storeAlert ( variableName )
- Retrieves the message of a JavaScript alert generated during the previous action, or fail if there were no alerts.
Getting an alert has the same effect as manually clicking OK. If an
alert is generated but you do not get/verify it, the next Selenium action
will fail.
NOTE: under Selenium, JavaScript alerts will NOT pop up a visible alert dialog.
NOTE: Selenium does NOT support JavaScript alerts that are generated in a page's onload() event handler. In this case a visible dialog WILL be generated and Selenium will hang until someone manually clicks OK.
- Returns:
- The message of the most recent JavaScript alert
- storeAllButtons ( variableName )
- Returns the IDs of all buttons on the page.
If a given button has no ID, it will appear as "" in this array.
- Returns:
- the IDs of all buttons on the page
- storeAllFields ( variableName )
- Returns the IDs of all input fields on the page.
If a given field has no ID, it will appear as "" in this array.
- Returns:
- the IDs of all field on the page
- storeAllLinks ( variableName )
- Returns the IDs of all links on the page.
If a given link has no ID, it will appear as "" in this array.
- Returns:
- the IDs of all links on the page
- storeAllWindowIds ( variableName )
- Returns the IDs of all windows that the browser knows about.
- Returns:
- the IDs of all windows that the browser knows about.
- storeAllWindowNames ( variableName )
- Returns the names of all windows that the browser knows about.
- Returns:
- the names of all windows that the browser knows about.
- storeAllWindowTitles ( variableName )
- Returns the titles of all windows that the browser knows about.
- Returns:
- the titles of all windows that the browser knows about.
Pages
- Training Details
- Manual + QTP + Selenium
- QTP Scripting for BEGINNERs
- QTP INTERMEDIATE
- EXPERT QTP
- VB Script
- Encrypting a String in QTP
- QTP Scripts
- QTP questions and answers
- Selenium Code Links
- Selenium Framework
- Java OOPs Concepts
- JDBC Connection
- TestNG Build.xml code
- pom.xml
- CONFIGURE ECLIPSE WITH CUCUMBER
- SQL Commands
- EVENT LISTENERS IN SELENIUM WEBDRIVER
- ContactUs
Total Pageviews
Monday, 17 December 2012
Selenium Accessors part 1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment