You can use the Object property to activate the internal methods of any run-time object. For example, you can activate the native focus method of the edit box as follows:
Dim MyWebEdit
Set MyWebEdit=Browser("Mercury Tours").Page("Mercury Tours").WebEdit("username").Object
MyWebEdit.focus
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16792402/viewspace-567251/ ,如需转载,请注明出处,否则将追究法律责任。