GetWebValue

Top  Previous  Next

×V4.1Ø

S

A

W

WS

ü

Syntax -

GetWebValue <Variable Name> <Element Identifier>

       Where:

               <Variable Name> is the user defined name that is assigned to the variable.

               <Element Identifier> is a valid web element identifier as described in Identifying an Element.

 

Description:

This command retrieves the text information that is stored in a web element and stores it in <Variable Name>.  This information can be any of the following: title, text, outerHTML, etc.  When the element identified by <Element Identifier> is a checkbox, the value retrieve will be true if the checkbox is checked and false if it is not checked.

 

Soarian SmartUI: Yes

Chrome: Yes

 

Note:  For security reasons, this command will not retrieve text from a password field.

 

Sample:

       The following retrieves the text information of the element identifier given and stores it in a variable named ScreenID.

GetWebValue ScreenID "Browser=Main:sframeInner->wellFrame->tabWell1:Tablecell,Text=,INDEX=30"

 

See Also:

Identifying an Element

WaitForWebPageCompletion

WebElementTimeout

SetWebCheckBox

EnableSoarianSmartUI