原帖由 skyzhu 于 2010-7-27 10:22 发表
checkCommand "Browser("Browser").Page("Page").Frame("content").WebElement("采购报盘登记").Check(CheckPoint("采购报盘登记"))" ,"pass","shibai"
字符串里的双引号要转义,用 2个代表一个
就算引号对了,传 ...
原帖由 cabrite 于 2010-7-26 19:08 发表
Function checkCommand(aaa,bbb,ccc)
set flag=aaa
If flag Then
reporter.ReportEvent micPass, "bbb", "bbb"
else
reporter.ReportEvent micFail, "ccc", "ccc"
End If
End Functio ...
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |