Sub Main
Dim Result As Integer
dim Value as String
'Initially Recorded: 2004-12-30 15:36:48
'Script Name: getProperty
Result = SQAGetProperty ( "HTMLId=holly", "innerText", Value)
Window SetContext, "Caption=税务登记审核 - Microsoft Internet Explorer", ""
Browser NewPage,"HTMLTitle=税务登记审核",""
HTMLTable Click, "HTMLId=holly", "Row=1;Col=1"
HTMLTable DblClick, "HTMLId=holly", "Row=2;Col=1"
HTMLTable DblClick, "HTMLId=holly", "Row=3;Col=1"
HTMLTable DblClick, "HTMLId=holly", "Row=1;Col=2"
HTMLTable DblClick, "HTMLId=holly", "Row=2;Col=2"
HTMLTable DblClick, "HTMLId=holly", "Row=3;Col=2"
DelayFor (2000)
SQAConsoleWrite str$(Value)
End Sub
[ Last edited by Vitamin on 2004-12-31 at 09:04 ]作者: Vitamin 时间: 2004-12-31 09:06
我的曾经尝试过用Row=2的这种形式,但是好像就取不到属性值了。作者: pcl2004_27 时间: 2004-12-31 09:11
请看第二期无忧测试杂志上的一篇文章,sqagetproperty介绍!