51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1557|回复: 2
打印 上一主题 下一主题

[原创] 请教:lr11录制flash时的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-5-12 11:07:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用的是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;
}
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2011-5-12 11:25:36 | 只看该作者
麻烦请帮忙,需要改lr哪些配置呢?
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2011-5-12 17:55:17 | 只看该作者
有人做过没?
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-8 03:38 , Processed in 0.079308 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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