action2:
Run_data=DataTable.Value("Runtime_Data","Global")
Checkvalue=Browser("百度一下,你就知道").Page("百度搜索结果页面").WebEdit("百度搜索结果").GetROProperty("value")
If Checkvalue=Run_data Then
msgbox "passed"
else
msgbox "failed"
End if
脚本action1调用脚本action2,运行后,结果始终是failed,不知道为啥不能得到Run_data和Checkvalue相同的结果? 请高手指点,谢谢。作者: xifan1014 时间: 2013-5-19 01:04
action1中获取值那里少了 WebEdit作者: shinan 时间: 2013-5-19 15:21
OK, you are right. Oh, my god! I forget to add the object unexpectedly. Thank you very much. Best regards.作者: zz45509 时间: 2013-5-19 16:30
OK, you are right. Oh, my god! I forget to add the object unexpectedly. Thank you very much. Best re ...
shinan 发表于 2013-5-19 15:21
The show's over.OK.作者: 赵佳乐SMILE 时间: 2013-5-20 09:29 回复 4#zz45509