51Testing软件测试论坛

标题: 录制脚本无法打开网页,报如下错误? [打印本页]

作者: tinafrog    时间: 2008-7-10 12:00
标题: 录制脚本无法打开网页,报如下错误?
录制脚本无法打开网页,报如下错误? [attach]43843[/attach]点击确定后又可继续进行,试了多次都是如此.
作者: durbey_712    时间: 2008-7-10 13:30
标题: 可否把脚本发上来看看
可否把脚本发上来看看:)
作者: tinafrog    时间: 2008-7-10 14:34
部分脚本如下:


        lr_think_time( 8 );

        web_reg_find("Text=帶分頁的報表",
                LAST);

        web_submit_data("a_0307.shtml_2",
                "Action=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=a_0307_QList",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=a_0307_Q&flag=1",
                "Snapshot=t80.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=cifn", "Value=", ENDITEM,
                "Name=cgrpno", "Value=", ENDITEM,
                "Name=custname", "Value=", ENDITEM,
                "Name=acno", "Value=", ENDITEM,
                "Name=archno", "Value=", ENDITEM,
                "Name=occubusi", "Value=", ENDITEM,
                "Name=sizeclas", "Value=11", ENDITEM,
                "Name=agntuser", "Value=", ENDITEM,
                "Name=stus", "Value=", ENDITEM,
                "Name=startdate", "Value=", ENDITEM,
                "Name=enddate", "Value=", ENDITEM,
                "Name=page", "Value=1", ENDITEM,
                "Name=sub", "Value=查 詢", ENDITEM,
                LAST);

        web_url("css.css_3",
                "URL=http://192.168.0.194:8080/cms//page/styles/css.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=a_0307_QList",
                "Snapshot=t81.inf",
                LAST);

        web_url("修牳?,
                "URL=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=page_load&page=2&taskNo=100002",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=a_0307_QList",
                "Snapshot=t82.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("yahoo-min.js_3",
                "URL=http://192.168.0.194:8080/cms//plugins/YahooUI/yahoo-min.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=page_load&page=2&taskNo=100002",
                "Snapshot=t83.inf",
                LAST);

        web_url("event-min.js_4",
                "URL=http://192.168.0.194:8080/cms//plugins/YahooUI/event-min.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.0.194:8080/cms/platform/a_0307.shtml?action=page_load&page=2&taskNo=100002",
                "Snapshot=t84.inf",
                LAST);

回放时出现如下错误,然后就无法进行下去了.
Action.c (273): missing "
Action.c (273): missing "
c:\\docume~1\\admini~1\\locals~1\\temp\\noname11\\\\combined_noname11.c (4): 2 errors, not writing pre_cci.ci




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2