51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[原创] 关联真让人头疼

[复制链接]
  • TA的每日心情
    开心
    2016-7-15 11:52
  • 签到天数: 8 天

    连续签到: 1 天

    [LV.3]测试连长

    跳转到指定楼层
    1#
    发表于 2016-6-14 16:34:38 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
    本帖最后由 hy_安静 于 2016-6-14 17:33 编辑

    一会取不到值,一会取到值但不是想要的值,一会有取不到值,郁闷郁闷
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    昨天 07:24
  • 签到天数: 2771 天

    连续签到: 2 天

    [LV.Master]测试大本营

    3#
    发表于 2016-6-14 19:31:30 | 只看该作者
    反正我自己做关联的时候都要试好几次的,不是一次就成功的,慢慢来吧,加油
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2016-7-15 11:52
  • 签到天数: 8 天

    连续签到: 1 天

    [LV.3]测试连长

    2#
     楼主| 发表于 2016-6-14 16:35:38 | 只看该作者
    Action()
    {
            web_reg_save_param("look",
                    "LB=Bug.php?BugID=",
                    "RB=\" method=\"post",
                    "Ord=1",
                    "NotFound=WARNING",
    //                 "Search=Body",
                    LAST);


            web_url("bugfree",
                    "URL=http://localhost:8080/bugfree/",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t1.inf",
                    "Mode=HTML",
                    LAST);

            web_url("Login.php",
                    "URL=http://localhost:8080/bugfree/Login.php",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8080/bugfree/",
                    "Snapshot=t2.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=Image/login_button.png", ENDITEM,
                    "Url=Image/login_input.gif", ENDITEM,
                    "Url=Image/login_separate_line.gif", ENDITEM,
                    "Url=Image/login_bg_center.gif", ENDITEM,
                    "Url=../favicon.ico", "Referer=", ENDITEM,
                    LAST);

            web_custom_request("Login.php_2",
                    "URL=http://localhost:8080/bugfree/Login.php",
                    "Method=POST",
                    "TargetFrame=RightBottomFrame",
                    "Resource=0",
                    "RecContentType=text/xml",
                    "Referer=http://localhost:8080/bugfree/Login.php",
                    "Snapshot=t3.inf",
                    "Mode=HTML",
                    "Body=xajax=xCheckUserLogin&xajaxr=1465890359223&xajaxargs[]=%3Cxjxquery%3E%3Cq%3ETestUserName%3Dtest001%26TestUserPWD%3Dtest001%26Language%3DZH_CN_UTF-8%26HttpRefer%3D%3C%2Fq%3E%3C%2Fxjxquery%3E",
                    LAST);

    //         web_reg_save_param("1",
    //                 "LB=1",
    //                 "RB=",
    //                 "Ord=1",
    //
    //                 "Search=Body",
    //                 LAST);

            web_url("bugfree_2",
                    "URL=http://localhost:8080/bugfree/",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8080/bugfree/Login.php",
                    "Snapshot=t4.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=Image/TreeMenu/blank.gif", "Referer=http://localhost:8080/bugfree/ModuleList.php", ENDITEM,
                    "Url=Image/TreeMenu/opened.gif", "Referer=http://localhost:8080/bugfree/ModuleList.php", ENDITEM,
                    "Url=Image/Loading.gif", "Referer=http://localhost:8080/bugfree/UserControl.php", ENDITEM,
                    "Url=Image/icon_refresh.gif", "Referer=http://localhost:8080/bugfree/UserControl.php", ENDITEM,
                    "Url=../favicon.ico", "Referer=", ENDITEM,
                    LAST);



            web_url("新建bug2",
                    "URL=http://localhost:8080/bugfree/Bug.php?BugID={look}",
                    "TargetFrame=_blank",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8080/bugfree/BugList.php",
                    "Snapshot=t5.inf",
                    "Mode=HTML",
                    LAST);

            return 0;
    }
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-9-20 06:58 , Processed in 0.068884 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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