web_find(web_reg_find)与web_image_check不能同时用?

上一篇 / 下一篇  2009-07-16 19:35:03 / 个人分类:LoadRunner测试

web_url("WebTours",
  "URL=http://127.0.0.1:1080/WebTours/",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  LAST);

//     web_find("singButton",
//      "LeftOf=to get access to",
//        "What=sign up now",
//        LAST);

   web_reg_find("Text=sign up now",
    "SaveCount=sign up now_count",
    "Search=Body",
    LAST);

//   web_image_check("web_image_check",
//    "Src=http://127.0.0.1:1080/WebTours/images/mer_login.gif",
//       LAST);

在上面这段代码中,不明白为什么web_find(web_reg_find)与web_image_check不能同时使用,脚本通过不过,查了半天资料也没有得到解释.请帮忙...谢谢


TAG: web_find web_image_check web_reg_find

引用 删除 godlike   /   2012-07-17 11:08:04
web_red_find 和web_find 的放位置是不一样的,一个放在页面前一个放在页面后。而且,你的代码写的有问题。把基础的知识看看吧
 

评分:0

我来说两句

日历

« 2024-03-28  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 7484
  • 日志数: 12
  • 建立时间: 2008-08-21
  • 更新时间: 2009-09-11

RSS订阅

Open Toolbar