51Testing软件测试论坛

标题: 怎么个建立WEB检查点啊 [打印本页]

作者: 124894752    时间: 2008-1-7 15:29
标题: 怎么个建立WEB检查点啊
怎么个建立WEV检查点,,,,,,,,,,,,,
作者: 7444    时间: 2008-1-7 16:00
标题: 建立WEB检查点
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.dynamicdrive.com/dynamicindex1/tabmouseover.htm"


Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").Link("JavaScript Kit").FireEvent "onmouseover"
Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").WebElement("Scripts | JS tutorials").FireEvent "onmouseover"
Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").WebElement("Scripts | JS tutorials_2").Check CheckPoint("Scripts | JS tutorials_2")
Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").Link("Scripts").FireEvent "onmouseover"

Dim text

text=Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").WebElement("Scripts | JS tutorials_2").GetROProperty("innertext")
msgbox text

Browser("Dynamic Drive DHTML Scripts-").Page("Dynamic Drive DHTML Scripts-").Link("Scripts").Click
Browser("Dynamic Drive DHTML Scripts-").Page("JavaScript Kit Free JavaScript").Sync
Browser("Dynamic Drive DHTML Scripts-").Close
作者: yyzc_3681    时间: 2008-1-7 16:46
我也正在考虑这个问题,楼上说的,我试试看




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