51Testing软件测试论坛
标题:
请问框架式网页怎么做检察点
[打印本页]
作者:
setfocus
时间:
2008-4-17 09:54
标题:
请问框架式网页怎么做检察点
请问框架式网页怎么做检察点
我设了一个网页上登陆名user001,但老找不道
web_reg_find("Text=user001",
"Fail=NotFound",
"SaveCount=count",
"Search=All",
LAST);
作者:
iori
时间:
2008-4-17 10:30
你的检查点加在了什么位置,代码弄来看看
作者:
setfocus
时间:
2008-4-17 11:14
登陆
vuser_init()
web_url("xxxx",
"URL=http://.........",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=1.inf",
"Mode=HTML",
EXTRARES,
..........
LAST);
web_submit_form("login.asp",
"Snapshot=1.inf",
ITEMDATA,
"Name=USERID", "Value=user001", ENDITEM,
"Name=PWD", "Value=1", ENDITEM,
"Name=Button", "Value=Login1", ENDITEM,
EXTRARES,
...........
LAST);
登陆后click左边栏任意一连接
Action()
{
web_url("clickonepage.asp",
"URL=XX,
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=3.inf",
"Mode=HTML",
EXTRARES,
..........
LAST);
web_reg_find("Text=user001",
"Fail=NotFound",
"SaveCount=count",
"Search=All",
LAST);
[
本帖最后由 setfocus 于 2008-4-17 11:15 编辑
]
作者:
setfocus
时间:
2008-4-17 11:21
Tree
vuser_init()
-- Usl:XX
-- Submit form: login.asp
Action()
--Usl: xx.asp
--Service: Reg Find
网页有两栏, 我要的username在左边
作者:
zhuyuancan
时间:
2008-4-17 15:36
int web_reg_find (const char *attribute_list, LAST);
web_reg_find是根据源码来进行查询的!!
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2