|
我用SQAGetProperty获取的属性是:
“纳税人识别号纳税人名称受理日期受理操作员操作
8888 8 2005-05-04 12113000001
200412291115 200412291115 2004-12-29 00000000001 ”
所用的语句如下: 界面如图所示
我想问一下,可不可以只取其中的一条数据呢?
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 ] |
|