51Testing软件测试论坛

标题: 提取检查点值问题 [打印本页]

作者: pangda    时间: 2011-2-14 14:10
标题: 提取检查点值问题
Dim i
i = "mercury"
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Agent Name:").Output CheckPoint("Agent Name:_2")
If(Dialog("Login").WinEdit("Agent Name:").Output CheckPoint("Agent Name:_2")==i)Then
......
End If
==================
我这样写系统提示少个“)”另外我这样写不知道可不可以啊?
如何提取到检查点输出的值呢?
作者: shingo0109    时间: 2011-2-14 16:12
这么写不可以的, Output和CheckPoint中有空格的.
还是你前面发的帖子的问题, 你把output值输出给一个变量, 然后用这个变量和i来进行if判断
作者: ls_721521    时间: 2011-2-14 16:28
用getro获取属性值吧




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2