希望和喜欢做测试的朋友进行学习交流

发布新日志

  • 使用bugfree的简单步骤

    2007-07-06 16:33:07

        今天在网上搜集整理了一些关于bugfree1.1的资料,经过不段的尝试终于安装成功,并提交了一个bug体验了一下.现在我把我整理的资料贴在这里和大家分享一下,我也希望能与喜欢使用bugfree的朋友多多交流.

    使用bugfree的简单步骤:
    1。把解压后的文件夹GreenAMP放到 D盘
    2。启动GreenAMP.bat,然后在浏览器中验证一下
    http://localhost/,如果看到目录式页面说明安装真的OK
    3。把解压后的文件夹BugFree1.1放到 D盘文件夹GreenAMP下的www文件夹下面,设置好后在浏览器当中输入
    http://localhost/bugfree就可以看到首页了
    4。在浏览器中输入
    http://localhost/phpMyAdmin,输入用户名root,密码默认为空,登录到MySQL的后台管理界面。为了安全起见,建议大家进去后马上修改密码。修改的方法是在进去的主页上点击“更改密码”即可。
    5。输入BugFree作为数据库名,点击“创建”生成新的数据库。之后点击左边导航栏,选择BugFree,再点击“结构”旁边的“SQL”选项,在最下方点击浏览SQL文本文件D:\GreenAMP\bugFree\document\BugFree.sql,接着点击下方的“执行”按钮,批量执行sql操作。至此,我们将成功创建了BugFree需要的所有表及其他相关数据结构。
    6。在浏览器中输入
    http://localhost/bugfree/install.php,显示的BugFree的配置页面填写管理员相关信息等。需要注意的一点是通知Email的配置,它是创建Bug是用来发送通知给bug。
    7。把BugFree目录下的install.php和upgrate.php移除或者更名
    8。在浏览器中输入
    http://localhost/bugfree/login.php用刚刚设置的管理员帐号登录到BugFree系统。
    9。点击右上角的“后台管理”创建项目组和其他成员的帐号(先创建一个项目,然后添加成员,最后创建组,把成员与项目对应起来),在左上角点击“创建Bug”可以创建新的bug,自己可以指派一下接受处理Bug的成员,自己体验一下BugFree的功能。

  • 关于selenium的学习

    2007-05-23 15:09:48

    1.如果没有安装firefox 下载fireFox 
    2.Selenium IDE

       1. 下载  Selenium IDE https://addons.mozilla.org/firefox/2079/
       2. Firefox > Tools > Selenium IDE
       3. Selenium IDE > Options > Options...
             1. 选择 Format 选项.
             2. 点击添加按钮.
             3. (Name of the fommat )给新添的起个名字 testSelenium
             4. 粘贴下面JS代码到文本恇
             5. 点击确定
       4. 点击工具 菜单 Selenium IDE > Options > Format > testSelenium
       5. 可以录脚本了


    testSelenium.js

    var  SEPARATORS = {
      pipe: "|",
      comma: ",",
      tab: "\t"
    };

    function formatCommands(commands) {
      var result = '';
      var sep = SEPARATORS[options.separator];
      var prefix = options.wrap == 'true' ? sep : "";
      var postfix = prefix;
      for (var i = 0; i < commands.length; i++) {
        var command = commands[i];
        if (command.type == 'command') {
          result += prefix + command.command + sep + command.target + sep + command.value + postfix + "\n";
        }
      }
      return result;
    }

    function parse(testCase, source) {
      var doc = source;
      var commands = [];
      var sep = SEPARATORS[options.separator];
      var base = options.wrap == 'true' ? 1 : 0;
      while (doc.length > 0) {
        var line = /(.*)(\r\n|[\r\n])?/.exec(doc);
        var array = line[1].split(sep);
        if (array.length >= (base+3)) {
          var command = new Command();
          command.command = array[base+0];
          command.target = array[base+1];
          command.value = array[base+2];
          commands.push(command);
        }
        doc = doc.substr(line[0].length);
      }
      testCase.setCommands(commands);
    }

    function format(testCase, name) {
      return formatCommands(testCase.commands);
    }

    options = {
        separator: 'pipe',
        wrap: 'true'
    };

    configForm =
        '<descrīption>Separator</descrīption>' +
        '<menulist id="options_separator">' +
        '<menupopup>' +
        '<menuitem label="Pipe" value="pipe"/>' +
        '<menuitem label="Comma" value="comma"/>' +
        '<menuitem label="Tab" value="tab"/>' +
        '</menupopup>' +
        '</menulist>' +
        '<checkbox id="options_wrap" label="Wrap command with separator"/>';

        昨天我在网上查的资料,我按照上面的步骤操作了一下,可以录制成功了.如果也有朋友想学习的话,可以参考一下.
        我也希望可以和大家多多交流一下,我还有很多地方搞不清楚@_@

  • QTP安装出现的问题

    2007-04-06 16:35:50

    我今天在安装QTP8.2版本的时候,在安装完成,重启电脑后,打开Quick Test Professional时提示license error,有谁碰到过类似的问题没有呀?该怎么解决啊?

  • 我是新手

    2007-03-15 13:12:28

    我是新手,从事软件测试才几月,感觉大脑一片空白,请教高手指点秘经

我的栏目

数据统计

  • 访问量: 3103
  • 日志数: 4
  • 建立时间: 2007-03-13
  • 更新时间: 2007-07-06

RSS订阅

Open Toolbar