51Testing软件测试论坛
标题:
LR 无法录制自定义查询控件里的查询项,怎么办啊
[打印本页]
作者:
feuji
时间:
2011-2-20 21:59
标题:
LR 无法录制自定义查询控件里的查询项,怎么办啊
我在录制脚本时要利用自定义的查询控件来查询信息,比如,要查询 姓名为李三,性别为男 的一条记录。但是我在录制脚本时显示的是以下信息。要怎么修改才能对姓名,性别进行参数化啊……
急急急……
问题如下:
web_custom_request("StationaryPopulationQuery.aspx",
"URL=http://210.43.118.195/PopulationManageUI/ExistPopulationManage/StationaryPopulationManage/StationaryPopulationQuery.aspx",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://210.43.118.195/PopulationManageUI/ExistPopulationManage/StationaryPopulationManage/StationaryPopulationQuery.aspx",
"Snapshot=t27.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
"Body=RadScriptManager1=RadScriptManager1%7Cbtn_Query&RadScriptManager1_TSM="
"%3B%3BSystem.Web.Extensions%2C%20Version%3D3.5.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D31bf3856ad364e35%3Azh-CN%3A3de828f0-5e0d-4c7d-a36b-56a9773c0def%3Aea597d4b%3Ab25378d2%3BTelerik.Web.UI%2C%20Version%3D2010.3.1124.35%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D121fae78165ba3d4%3Azh-CN%3A0d181486-d5e8-4953-8006-46fcf1874ef1%3A16e4e7cd%3Aed16cbdc%3A874f8ea2%3Af7645509%3A24ee1bba%3A19620875%3Af46195d3%3A39040b5c%3Af85f9819%3A86526ba7%3Ae330518b%3A1e771326%3A8e6f0d33%3A6a6d718d%3Ab7778d6c"
"%3Aaa288e2d%3A8674cba1%3Ac08e9f8a%3A59462f1%3Aa51ee93e%3A58366029&__EVENTTARGET=btn_Query&__EVENTARGUMENT=&__VIEWSTATE="
"%2FwEPDwUJNzExOTQ0NTIyDxYEHhVwYWdlRmlyc3RMb2FkVXNlck5hbWUFBHRlc3QeDV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hU0ICAmRkAgEPDxYEHwgFCXJjYkZvb3Rlch8JAgJkZAICDw8WBh8FBQVCbGFjax8GBQVCbGFjax8HaGRkAgMPDxYGHwUFB0RlZmF1bHQfBgUHRGVmYXVsdB8HZ2RkAgQPDxYGHwUFBkZvcmVzdB8GBQZGb3Jlc3QfB2hkZAIFDw8WBh8FBQNIYXkfBgUDSGF5HwdoZGQCBg8PFgYfBQUKT2ZmaWNlMjAwNx8GBQpPZmZpY2UyMDA3HwdoZGQCBw8PFgYfBQUHT3V0bG9vax8GBQdPdXRsb29rHwdoZGQCCA8PFgYfBQUGU2ltcGxlHwYFBlNpbXBsZR8HaGRkAgkPDxYGHwUFClNpdGVmaW5pdHkfBgUKU2l0ZWZpbml0eR8HaGRkAgoPDxYG"
作者:
feuji
时间:
2011-2-20 22:00
下面还有很多储如上面的代码,我看不懂这些代码是什么意思
谁能告诉我怎么办啊
作者:
msnshow
时间:
2011-2-20 22:24
中文被编码了
作者:
feuji
时间:
2011-2-22 15:19
那我应该怎么做啊
作者:
msnshow
时间:
2011-2-22 20:57
不管它,参数化还是用中文就行了
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2