51Testing软件测试论坛

标题: 图像检查点的设置有问题么?为什么检查失败,帮看下脚本。 [打印本页]

作者: 470454788    时间: 2011-6-22 16:39
标题: 图像检查点的设置有问题么?为什么检查失败,帮看下脚本。
Action()
{

        web_url("xl7bho.ini",
                "URL=http://media.info.client.xunlei.com/xl7bho.ini",
                "Resource=1",
                "RecContentType=application/octet-stream",
                "Referer=",
                "Snapshot=t3.inf",
                LAST);

        lr_start_transaction("start");

        web_url("export",
                "URL=http://192.168.0.84:8399/arcgis/rest/services/World100/MapServer/export?bbox=-198.412420654297,-98.681381225586,206.660833740235,92.3090057373047",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t4.inf",
                "Mode=HTML",
                LAST);


        web_image_check("web_image_check",
                "Src=http://192.168.0.84:8399/arcgis/server/arcgisoutput/_ags_map4dd910a11ca54e1896e26416c69b6f36.png",
                LAST);
        lr_end_transaction("start", LR_AUTO);


return 0;
}
作者: jiangsh    时间: 2011-6-24 09:47
看看是不是在,Runtime-setting-->preference里面未开启 “Enable image and test check”




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