Vars - property of object PmWebDir
Access to keywords values. The property enables an access to the object of Var
type that represents one variable defined on the page Keywords
. The variable is there defined by the index
Vars(index As Variant) As Object
Reading the value:
val = oWebDir.Vars(index).Value
Writing the value:
oWebDir.Vars(index).Value = val
|index||(Variant) Identification of the variable either by its name (String data type, case sensitive text, for example "a1") or by the index (zero-based index).|
Property access for read only
The Var object includes information about the variable (value, name, index, etc.).
The Vars property (like Var object) is read only, it means that the object cannot be changed but for example it is possible to write into the Value of the Var object.