Getvalue

Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter). For checkbox/radio elements, the value will be "on" or "off" depending on whether the element is checked or not.

Required Attributes
locator
property
the name of the property to save the value to.
Usage Examples
Example #1
<selenium baseurl="http://www.yahoo.com">
   
<open url="/finance" />
   
<getValue locator="//input[@id='some_text_field1']" property="myvalue" />
</selenium>