|
录的代码
Sub Main
Dim Result As Integer
Dim text1 As string
'Initially Recorded: 2006-4-17 16:58:04
'Script Name: 1
Window SetContext, "Caption=Program Manager", ""
ListView DblClick, "Text=FolderView;\;ItemText=Internet Explorer", "Coords=33,24"
Window SetContext, "Caption=about:blank - Microsoft Internet Explorer", ""
ComboEditBox Click, "ObjectIndex=2", "Coords=90,7"
InputKeys "www.51testing.com{ENTER}"
Result=sqagetproperty("Type=Window;Caption=软件测试专业网站:51Testing无忧测试网 - Microsoft Internet Explorer","Caption",text1)
msgbox text1
End Sub
怎么弹出的msgbox总去不到网站的Caption呢?用Inspector能获取Caption的值的啊。 |
|