|
7#
楼主 |
发表于 2010-4-21 14:01:33
|
只看该作者
谢谢楼上两位提示,现在的问题大概是这样,提交这个操作是用JQuery实现的,录制脚本的时候web_url("submit"
这个动作是,LR抓的是server返回的提交成功状态返回的数组,如下:
锘縶"data_saved":[],"data_record":[{"status_record":"\u5df2\u63d0\u4ea4","department_record":"DD","project_record":"PT001","task_record":"E001\u6d4b\u8bd5\u6587\u6863\u51c6\u5907\u660e\u786e","subtask_record":"","normaltime_record":"0.8","beyondtime_record":"0.0","overtime_record":"0.0","remark_record":"","reject_reason_record":"","timesheetid_record":"209","version_record":"1"}],"lackedDate":["2010-04-09","2010-04-12","2010-04-13","2010-04-14"],"lack_more":1,"url":""}
data_record部分返回的是插入成功的那条记录相关字段值,用于http://192.168.89.99/timesheet/singleentry/index这个页面上显示刚才提交成功的那条记录
今天上午我试着用web_reg_save_param抓回放时取data_record":[{" 与 lackedDate 之间的内容,但是返回的内容却是http://192.168.89.99/timesheet/singleentry/index上面的,server返回的数组内容抓不到···· |
|