51Testing软件测试论坛

标题: 请教:lr11录制flash时的问题 [打印本页]

作者: jerryaaa    时间: 2011-5-12 11:07
标题: 请教:lr11录制flash时的问题
用的是java和flash builder开发的web软件,录制完没有看到登录的用户名和密码,我录制时选择了2个协议flex和HTTP,以下是录制脚本
Action()
{

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_concurrent_start(NULL);

        web_url("LspClient.conf",
                "URL=http://192.168.20.2:906/lspclient/config/LspClient.conf",
                "Resource=1",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf",
                "Snapshot=t10.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("ZoneBtn.swf",
                "URL=http://192.168.20.2:906/lspclient/images/zone/ZoneBtn.swf",
                "Resource=1",
                "RecContentType=application/x-shockwave-flash",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf",
                "Snapshot=t11.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("ZoneBtn.swf_2",
                "URL=http://192.168.20.2:906/lspclient/images/zone/ZoneBtn.swf",
                "Resource=1",
                "RecContentType=application/x-shockwave-flash",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf",
                "Snapshot=t12.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("rolePane2.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/rolePane2.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t13.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("ChatBG.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/ChatBG.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t14.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("expLine.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/expLine.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t15.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("BtnBar.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/BtnBar.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t16.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("BigPane.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/BigPane.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t17.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("CompanyPane.png",
                "URL=http://192.168.20.2:906/lspclient/images/ui/CompanyPane.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t18.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("m_young_001.jpg",
                "URL=http://192.168.20.2:906/lspclient/images/role/m_young_001.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t19.inf",
                LAST);

        web_add_header("x-flash-version",
                "10,2,159,1");

        web_url("BigPane.png_2",
                "URL=http://192.168.20.2:906/lspclient/images/ui/BigPane.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.20.2:906/lspclient/LspClient.swf/[[DYNAMIC]]/2",
                "Snapshot=t20.inf",
                LAST);

        web_concurrent_end(NULL);

        return 0;
}
作者: jerryaaa    时间: 2011-5-12 11:25
麻烦请帮忙,需要改lr哪些配置呢?
作者: jerryaaa    时间: 2011-5-12 17:55
有人做过没?




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