|
7#
楼主 |
发表于 2010-4-20 15:22:41
|
只看该作者
action1:
Browser("XXXX").Page("XXX").WebEdit("username").Set "admin"
Browser("XXXX").Page("XXX").WebEdit("password").SetSecure "4bcc1cfe3ad6845a98906f64385e31c7"
Browser("XXXX").Page("XXX").Image("imageField").FireEvent "onmouseover"
Browser("XXXX").Page("XXX").Image("imageField").Click 33,8
action2:
Browser("XXXX").Page("XXXX V1.0 --- Powered").WebElement("XX").Click
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("left").Link("XXX").Click
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main").WebButton("XXXX").Click
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebEdit("dmcod").Set DataTable("A", dtGlobalSheet)
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebEdit("dmcpt").Set DataTable("B", dtGlobalSheet)
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebEdit("field[description]").Set DataTable("C", dtGlobalSheet)
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebEdit("field[pindex]").Set DataTable("D", dtGlobalSheet)
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebEdit("field[remark]").Set DataTable("E", dtGlobalSheet)
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_2").WebButton("提交").Click
Browser("XXXX").Page("XXXX V1.0 --- Powered").Frame("main_3").Link("如果您的浏览器没有自动跳转,请点击这里").Click |
|