|
9#
楼主 |
发表于 2007-10-23 14:06:48
|
只看该作者
还是有问题,提示我语法错误,但是解析出来的字符串是正确的
脚本如下:
Dim Title,Browser_name,Page_name,RowCount
Dim ObjectTypeName,PropertyName,PropertyValue,OperationName,OperationValue
Browser_name = "系统"
Page_name = "系统"
ObjectTypeName =datatable("B",dtlocalSheet)
PropertyName = datatable("C",dtlocalSheet)
PropertyValue = datatable("D",dtlocalSheet)
OperationName = datatable("F",dtlocalSheet)
OperationValue = datatable("H",dtlocalSheet)
'Browser("title:="&Browser_name&"").Page("title:="&Page_name&"").eval(ObjectTypeName)(""&eval(PropertyName)&":="&PropertyValue&"").EVAL(OperationName) OperationValue
'Browser("title:="&Browser_name&"").Page("title:="&Page_name&"").WebEdit("html id:=_ctl5_txtPrjName_TextBox1").set "9"
Dim aa
aa = "Browser(""title:="&Browser_name&""").Page(""title:="&Page_name&""")."& ObjectTypeName&"("""&PropertyName&":="&PropertyValue&""")."& OperationName&" """& OperationValue&""""
datatable 的数据如下:
1 WebEdit html id _ctl5_txtPrjName_TextBox1 set 9 |
|