Silktest uses '@' symbol for different purposes. This reference operator (@) can be used to refer functions and variables indirectly, by name. It uses the value of its operand to refer to variable, the fields in a record, function, method, property or child window. You can use reference operator in following ways:
Case 1:
1. Used to refer a window object
wLeftframe.@(sModuleName).Click(1,16,10)
Case 2:
2. Used to refer method or function
wLeftframe.Links.@(sPropReload)( )
Case 3:
3. To refer a member of record type
adAlert.@sComments = "My Comments"
Showing posts with label operator. Show all posts
Showing posts with label operator. Show all posts
Monday, May 19, 2008
Silktest - Reference Operator '@'
Subscribe to:
Posts (Atom)