51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1610|回复: 4
打印 上一主题 下一主题

[求助] 请问这个关联该怎么解决,不会了。。。

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-8-22 16:26:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. ///办理业务的表单页面,页面信息为空

  2. web_submit_form("tt.aspx",
  3. "Snapshot=t16.inf",
  4. ITEMDATA,
  5. "Name=Button1", "Value=Button", ENDITEM,
  6. EXTRARES,
  7. "Url=../ajaxpro/Approve_ApproveDoc,App_Web_chzfd6vz.ashx", "Referer=http://192.168.40.50/hrbjz/Approve/ApproveDoc.aspx?Doc_ID=110&Step_ID=21103&PID=210&FlowType=2&FlowSType=1", ENDITEM,
  8. "Url=../ajaxpro/Btms_City_CityApp,App_Web_7ypzrl8a.ashx", "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0", ENDITEM,
  9. "Url=../Images/GreenImg/right_top_02.gif", "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0", ENDITEM,
  10. "Url=../Images/GreenImg/right_top_01.gif", "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0", ENDITEM,
  11. "Url=../Images/GreenImg/baocun.gif", "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0", ENDITEM,
  12. LAST);

  13. web_url("ShowUploaded.aspx",
  14. "URL=http://192.168.40.50/hrbjz/Btms/ShowUploaded.aspx?Doc_ID=110&Step_ID=21103&Imgstate=0&FamilyID=0",
  15. "Resource=0",
  16. "RecContentType=text/html",
  17. "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0",
  18. "Snapshot=t17.inf",
  19. "Mode=HTML",
  20. EXTRARES,
  21. "Url=../css/btn_cartoon.gif", "Referer=http://192.168.40.50/hrbjz/Btms/ShowUploaded.aspx?Doc_ID=110&Step_ID=21103&Imgstate=0&FamilyID=0", ENDITEM,
  22. LAST);

  23. web_custom_request("Btms_City_CityApp,App_Web_7ypzrl8a.ashx",
  24. "URL=http://192.168.40.50/hrbjz/ajaxpro/Btms_City_CityApp,App_Web_7ypzrl8a.ashx",
  25. "Method=POST",
  26. "Resource=0",
  27. "RecContentType=text/plain",
  28. "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0",
  29. "Snapshot=t18.inf",
  30. "Mode=HTML",
  31. "EncType=text/plain; charset=utf-8",
  32. "Body={}",
  33. LAST);

  34. lr_think_time(10);

  35. web_custom_request("Btms_City_CityApp,App_Web_7ypzrl8a.ashx_2",
  36. "URL=http://192.168.40.50/hrbjz/ajaxpro/Btms_City_CityApp,App_Web_7ypzrl8a.ashx",
  37. "Method=POST",
  38. "Resource=0",
  39. "RecContentType=text/plain",
  40. "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0",
  41. "Snapshot=t19.inf",
  42. "Mode=HTML",
  43. "EncType=text/plain; charset=utf-8",
  44. "Body={}",
  45. LAST);

  46. web_submit_data("CityApp.aspx",
  47. "Action=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0+&QeqURL=+&isValue=0",
  48. "Method=POST",
  49. "RecContentType=text/html",
  50. "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0 &QeqURL= &isValue=0",
  51. "Snapshot=t20.inf",
  52. "Mode=HTML",
  53. ITEMDATA,
  54. "Name=__EVENTTARGET", "Value=", ENDITEM,
  55. "Name=__EVENTARGUMENT", "Value=", ENDITEM,
  56. "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState10}", ENDITEM,
  57. "Name=__EVENTVALIDATION", "Value=/wEWQgLbqZu+CwLClsKXBwL7nPiqBwL46ezIAgLEhISFCwLnxeeyCgLxh73wDgKJrvrvCAKY7LTrBQL24sefBAK5pc7FBwKgtbSqAwLSoNLYAgLXxNzSDALv7ITZAgLztN7YDwK4nYDNBwKdw5SVDwK8t860AwLdl/"
  58. "r9BwKpn46FDQLX8+GOBgLFydLDCQLE4YTcBAKMkP+WCALt8tOkBgLq+ICECwKFuZQemywJUEQdx+31S6xOY8aIMdkQyp8=", ENDITEM,
  59. "Name=txtDistrict", "Value=道里区", ENDITEM,
  60. "Name=txtStreet", "Value=兆麟街道", ENDITEM,
  61. "Name=txtCommunity", "Value=兆麟社区居委会", ENDITEM,
  62. "Name=txtName", "Value=张三", ENDITEM,
  63. "Name=txtIDCard", "Value=330825196609105203", ENDITEM,
  64. "Name=txtBirth", "Value=1966-09-10", ENDITEM,
  65. "Name=txtGender", "Value=女", ENDITEM,
  66. "Name=txtMarrage", "Value=", ENDITEM,
  67. "Name=txtFamilyNum", "Value=1", ENDITEM,
  68. "Name=txtEmployment", "Value=在职", ENDITEM,
  69. "Name=txtBtmSNum", "Value=", ENDITEM,
  70. "Name=txtBank", "Value=", ENDITEM,
  71. "Name=txtWorkPlace", "Value=", ENDITEM,
  72. "Name=txtAddress", "Value=", ENDITEM,
  73. "Name=txtHouseFeature", "Value=私有", ENDITEM,
  74. "Name=txtHousingArea", "Value=", ENDITEM,
  75. "Name=txtHeatingState", "Value=非集中", ENDITEM,
  76. "Name=txtFamilyIncome", "Value=0.00", ENDITEM,
  77. "Name=txtAvgIncome", "Value=0.00", ENDITEM,
  78. "Name=hddIsRich", "Value=poor", ENDITEM,
  79. "Name=txtBuZhu", "Value=360.00", ENDITEM,
  80. "Name=txtJiaSum", "Value=0.00", ENDITEM,
  81. "Name=txtJiaFa", "Value=0", ENDITEM,
  82. "Name=txtSum", "Value=360.00", ENDITEM,
  83. "Name=RblType", "Value=11", ENDITEM,
  84. "Name=txtApplyReason", "Value=1", ENDITEM,
  85. "Name=txtInvestigationReport", "Value=1", ENDITEM,
  86. "Name=txtInvestigation", "Value=1", ENDITEM,
  87. "Name=txtExposeResult", "Value=1", ENDITEM,
  88. "Name=txtCommunitySug", "Value=1", ENDITEM,
  89. "Name=txtCommunityMembers", "Value=1", ENDITEM,
  90. "Name=txtCommunityPrincipal", "Value=1", ENDITEM,
  91. "Name=txtStreetSug", "Value=", ENDITEM,
  92. "Name=txtStreetEvaluationMembers", "Value=", ENDITEM,
  93. "Name=txtStreetPrincipal", "Value=", ENDITEM,
  94. "Name=txtDistrictSug", "Value=", ENDITEM,
  95. "Name=txtDistrictHandler", "Value=", ENDITEM,
  96. "Name=txtDistrictPrincipal", "Value=", ENDITEM,
  97. "Name=hddSubmit", "Value=hi", ENDITEM,
  98. "Name=hddFamilyId", "Value=210", ENDITEM,
  99. "Name=time", "Value=2012-08-22", ENDITEM,
  100. "Name=cmdSubmit.x", "Value=0", ENDITEM,
  101. "Name=cmdSubmit.y", "Value=0", ENDITEM,
  102. EXTRARES,
  103. "Url=/hrbjz/ajaxpro/Btms_City_CityApp,App_Web_7ypzrl8a.ashx", "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0+&QeqURL=+&isValue=0", ENDITEM,
  104. LAST);

  105. web_submit_data("ApproveDoc.aspx",
  106. "Action=http://192.168.40.50/hrbjz/Approve/ApproveDoc.aspx?Doc_ID=110&Step_ID=21103&PID=210&FlowType=2&FlowSType=1",
  107. "Method=POST",
  108. "RecContentType=text/html",
  109. "Referer=http://192.168.40.50/hrbjz/Approve/ApproveDoc.aspx?Doc_ID=110&Step_ID=21103&PID=210&FlowType=2&FlowSType=1",
  110. "Snapshot=t21.inf",
  111. "Mode=HTML",
  112. ITEMDATA,
  113. "Name=__EVENTTARGET", "Value=", ENDITEM,
  114. "Name=__EVENTARGUMENT", "Value=", ENDITEM,
  115. "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState9}", ENDITEM,
  116. "Name=__EVENTVALIDATION", "Value=/wEWCgL5wY7qDwLii9zeAwKo2pmgAgKc7d/KCQK1y9flAwLP863kBwK17ZrjAQLd/sT1BAL9v5i2DgL51IuaCbeKPhZ4j91wyLGwSNs9DJUzYyta", ENDITEM,
  117. "Name=BtnSubmit", "Value=提交", ENDITEM,
  118. "Name=ReturnStepID", "Value=-1", ENDITEM,
  119. "Name=hDoc_ID", "Value=110", ENDITEM,
  120. "Name=hStep_ID", "Value=21103", ENDITEM,
  121. "Name=ReturnCount", "Value=", ENDITEM,
  122. "Name=hPID", "Value=210", ENDITEM,
  123. "Name=hUserID", "Value=2478", ENDITEM,
  124. "Name=hFlowType", "Value=2", ENDITEM,
  125. "Name=hFlowSType", "Value=1", ENDITEM,
  126. LAST);

  127. web_url("ShowUploaded.aspx_2",
  128. "URL=http://192.168.40.50/hrbjz/Btms/ShowUploaded.aspx?Doc_ID=110&Step_ID=21103&Imgstate=0&FamilyID=0",
  129. "Resource=0",
  130. "RecContentType=text/html",
  131. "Referer=http://192.168.40.50/hrbjz/Btms/City/CityApp.aspx?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0+&QeqURL=+&isValue=0",
  132. "Snapshot=t22.inf",
  133. "Mode=HTML",
  134. LAST);

  135. web_url("PPreTreat.aspx",
  136. "URL=http://192.168.40.50/hrbjz/Approve/PPreTreat.aspx?FlowType=2&FlowSType=1&Num=0&D=%200&D%20=%200&S=0&C=0&N=&I=&B=",
  137. "Resource=0",
  138. "RecContentType=text/html",
  139. "Referer=http://192.168.40.50/hrbjz/Approve/ApproveDoc.aspx?Doc_ID=110&Step_ID=21103&PID=210&FlowType=2&FlowSType=1",
  140. "Snapshot=t23.inf",
  141. "Mode=HTML",
  142. EXTRARES,
  143. "Url=../ajaxpro/Approve_PPreTreat,App_Web_chzfd6vz.ashx", "Referer=http://192.168.40.50/hrbjz/Approve/PPreTreat.aspx?FlowType=2&FlowSType=1&Num=0&D= 0&D = 0&S=0&C=0&N=&I=&B=", ENDITEM,
  144. "Url=../Images/GreenImg/chaxun.gif", "Referer=http://192.168.40.50/hrbjz/Approve/PPreTreat.aspx?FlowType=2&FlowSType=1&Num=0&D= 0&D = 0&S=0&C=0&N=&I=&B=", ENDITEM,
  145. "Url=../Images/GreenImg/tb.gif", "Referer=http://192.168.40.50/hrbjz/Approve/PPreTreat.aspx?FlowType=2&FlowSType=1&Num=0&D= 0&D = 0&S=0&C=0&N=&I=&B=", ENDITEM,
  146. "Url=../Images/IconImg/kaoqin3.gif", "Referer=http://192.168.40.50/hrbjz/Approve/PPreTreat.aspx?FlowType=2&FlowSType=1&Num=0&D= 0&D = 0&S=0&C=0&N=&I=&B=", ENDITEM,
  147. LAST);

  148. return 0;
复制代码


业务描述:新建家庭,然后给户主办理低保。
只是到了办理低保那,再显示的页面不能获取户主信息。
脚本回放报错:
-26612: 对于“http://192.168.40.50/hrbjz/Btms/ ... ?Doc_ID=110&Step_ID=21103&UserID=2478&PID=210&Edit=0&FlowType=2&FlowSType=1&Imgstate=0&FamilyID=0+&QeqURL=+&isValue=0”,HTTP 状态代码=500
---
1、请问怎么解决?
2、如果是LR无法获取到动态的Doc_ID业务编号、User_ID用户编号、PID户主编号。该怎么解决,关联?不是很明白,麻烦细说一下,谢谢。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2012-8-22 21:58:45 | 只看该作者
你的业务别人不懂,帮不上的
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2012-8-22 22:19:33 | 只看该作者
回复 2# 云层
这个我也清楚,但我还是想找点希望,总比坐以待毙强。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2012-8-23 10:43:24 | 只看该作者
拉你们开发多聊聊吧!
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2012-8-23 11:20:06 | 只看该作者
回复 4# cibsoft

一起弄了3天,他们有劲使不上。估计这任务要夭折了
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-7 16:38 , Processed in 0.073846 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表