xsh_nancy 发表于 2016-3-10 13:45:26

录制人员新增时,找不到设置参数化的地方

以下是我录制的脚本,录入人员基本信息后,点击保存,准备参数化,但是不知道在哪如何参数化,请大神们指导,谢谢啦!
感觉应该在web_custom_request("code.html_20", ……   在这下边进行设置
save()
{
lr_think_time(25);
        web_url("bg_tuoming.png",
                "URL=http://192.168.123.211:8080/his/images/bg_tuoming.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.123.211:8080/his/main.html",
                "Snapshot=t7.inf",
                LAST);

        web_url("personadd.jsp",
                "URL=http://192.168.123.211:8080/his//his/input/personadd.jsp",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.123.211:8080/his/main.html",
                "Snapshot=t8.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/his/style/easyUI/icons/clear.png", ENDITEM,
                "Url=/his/style/easyUI/icons/filesave.png", ENDITEM,
                "Url=/his/style/easyUI/icons/upload.png", ENDITEM,
                "Url=/his/style/easyUI/default/images/combo_arrow.png", ENDITEM,
                "Url=/his/style/easyUI/default/images/datebox_arrow.png", ENDITEM,
                "Url=/his/style/easyUI/default/images/pagination_icons.png", ENDITEM,
                "Url=/his/style/easyUI/default/images/calendar_arrows.png", ENDITEM,
                LAST);
        web_custom_request("code.html",
                "URL=http://192.168.123.211:8080/his/sys/dict/code.html?dictcode=AAC004&type=box",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://192.168.123.211:8080/his/",
                "Snapshot=t10.inf",
                "Mode=HTML",
                "EncType=",
                LAST);
…………………………………………
        web_custom_request("code.html_20",
                "URL=http://192.168.123.211:8080/his/sys/dict/code.html?dictcode=AJA004&type=box",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://192.168.123.211:8080/his/",
                "Snapshot=t29.inf",
                "Mode=HTML",
                "EncType=",
                EXTRARES,
                "Url=/his/his/personreduce/query1.html?zjm=&_=1457580038206&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                "Url=/his/his/personreduce/query2.html?pageNumber=1&pageSize=20&_=1457580038207&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                "Url=/his/his/personadd/query2.html?pageNumber=1&pageSize=20&_=1457580038178&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                "Url=/his/his/personadd/query1.html?aac002=210104198506020030&_=1457580038179&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                "Url=/his/his/personadd/save1.html?aac002=210104198506020030&aac003=%E7%8E%8B%E5%A4%A7%E7%89%9B&aac004=1&aac005=10&aac007=2016-03-10&aac009=12&aac040=2569.00&aac006=1985-06-02&aac010=&aac011=&aac012=&aac013=&aac014=&aac015=&aac016=&aac019=&aac020=&aac021=&aac024=&aac204=&aae005=&aja004=&aae007=&aae008=&aae009=&aae010=&akc020=156&akc021=&aae006=&bab020=&bab022=&bab023=&_=1457580038180&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                "Url=/his/his/personadd/query2.html?pageNumber=1&pageSize=20&_=1457580038181&functionlogid=EE52C3F1048DA33DFBEFD8CFA818677E", "Referer=http://192.168.123.211:8080/his/", ENDITEM,
                LAST);
        lr_start_transaction("保存");
        lr_end_transaction("保存",LR_AUTO);
        return 0;
}

远方的小企鹅 发表于 2016-3-10 14:26:21

你们程序是不是对用户人员信息进去保密了

xsh_nancy 发表于 2016-3-10 14:39:40

远方的小企鹅 发表于 2016-3-10 14:26
你们程序是不是对用户人员信息进去保密了

恩,貌似是的,我只想参数化一个身份证号,其他的都一样无所谓,只有身份证号会校验唯一性,但是不造怎么参数化这个身份证

远方的小企鹅 发表于 2016-3-10 14:56:57

xsh_nancy 发表于 2016-3-10 14:39
恩,貌似是的,我只想参数化一个身份证号,其他的都一样无所谓,只有身份证号会校验唯一性,但是不造怎么 ...

和你们开发沟通下,如果加密了不能参数化,可以让他修改下,等测完再改过来
页: [1]
查看完整版本: 录制人员新增时,找不到设置参数化的地方