|
4#
楼主 |
发表于 2005-9-14 09:25:14
|
只看该作者
kernzhang版主:
是这样的,在server端反回的data中,我要得到两个参数值,如下
//Get TempFolderID from server response
web_reg_save_param("TempFolderID",
"LB=xPressionRevise/tempFolders/",
"RB=/",
"Ord=1",
LAST);
//Get ConnectID from server response
web_reg_save_param("ConnectID",
"LB=serverURL={URL}&xConnID=",
"RB=\"",
"Ord=1",
LAST);
web_url("wordEditor.jsp",
"URL=http://{IP}:{Port}/xPressionRevise/html/wordEditor.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{IP}:{Port}/xPressionRevise/html/edit.jsp?action=fullEdit&workItem={WorkItemID}&toc=true",
"Snapshot=t11.inf",
"Mode=HTML",
LAST);
web_find("TempFolderID Check",
"expect=notfound",
"matchcase=yes",
"onfailure=abort",
"report=failure",
"repeat=no",
"what=xPressionRevise/tempFolders/",
LAST);
每次运行时,ConnectID参数是能取到值的,可TempFolderID就不能。于是调试时,我设置log为extended log且选中data returned by server,再运行时,发现server返回的数据是有我要找的TempFolderID的值的。
可不选中data returned by server,web_find虽然成功,但没有找到相关文本。
真的是好郁闷啊!!! |
|