Dashboard > Selenium > ... > Contributed User-Extensions > getVal
Selenium Log In View a printable version of the current page.
getVal
Added by Andrew, last edited by Andrew on Feb 21, 2008  (view change)
Labels: 
(None)

getVal

Retrieves values, login details etc.. from the user-extension.js file to allow data driven testing and
the creation of more "universal" test structures.

Adding this extension to selenium IDE:

Download the zip file from the attachments tab above and add the code to your 'user-extensions.js' (You will have to create this file if it does not already exists and add its path to selenium IDE in Options -> Options):

Usage

assertLocation javascriptCURLYBRACKETgetVal("location")CURLYBRACKET  
type username javascriptCURLYBRACKETgetVal("username")CURLYBRACKET

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators