灿烂的阳光,苦涩的生活,认真做,你能行!

发布新日志

  • testlink登录成功进入后页头的一个安全错误

    2009-09-30 15:49:05

    1.To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = SILENT;
    解决方案,找到config.inc.php,找到“Cfg->config_check_warning_mode”,修改如下:

    /** $tlCfg->config_check_warning_mode = 'FILE';        */
    $tlCfg->config_check_warning_mode = 'SILENT';  

    2.在IE中访问http://localhost/testlink/index.php,弹出Testlink页面为英文,修改配置文件使其默认为中文;

    打开C:"xampp"htdocs"testlink下的config.inc.php文件;
    查找$g_default_language = 'en_GB';
    修改为$g_default_language = 'zh_CN';

    3.汉化TestLink:下载utf8版本的strings.txt替换C:\xampp\htdocs\testlink\locale\zh_CN目录下的strings.txt即可;

  • Windows下安装 TestLink1.7.5(和bugzilla运行于同一服务器上)

    2009-09-27 11:46:08

    Mantis没有使用过,有待调查。现在讲Windows下安装 TestLink1.7.5(和bugzilla运行于同一服务器上)

    在安装Testlink之前,需要首先安装Apache, PHP, Mysql支持软件包,我选择的是XAMPP,XAMPP集成了这些,特别方便。

    1 访问http://www.apachefriends.org/zh_cn/xampp.html 下载并安装最新的XAMPP版本。比如我下载的是xampp1.7.1版本

    2 安装“xampp”采用默认方式,一直“下一步”操作即可;

    3 启动“Apache”,“Mysql”服务(修改mysql的root用户的密码为123123),如下图所示:


    4 http://sourceforge.net/project/showfiles.php?group_id=90976

    下载Testlink1.7.5

    5 安装TestLink1.7.5

    (1)  将TestLink解压缩到D:\xampp\htdocs,命名为testlink;

    (2)  在IE中访问http://localhost/testlink/install/index.php

    (3)  点击“New Installation”安装TestLink;

    (4)  Mysql数据库和TestLink数据库访问权限设置;

    Database Type Mysql

    Database host   localhost

    //配置访问Mysql的地址;

    Database login   root

    Database password 123123

    //配置访问mysql的权限;


    TestLink DB login root

    TestLink DB passwaord 123123

    //配置访问Testlink数据库的权限 ;


    (6) 点击“同意许可协议”,继续
     

    (7)安装完成,点击最后一行的(Please Click Me!)

    (8)在Testlink第一次安装成功后,默认管理员帐户为admin,密码admin,使用其登录

    (9)登录Testlink成功后,在菜单栏中的Personal中更改admin的密码,然后注销;
    (10)删除C:\xampp\htdocs\testlink\install目录;

    (11)在IE中访问http://localhost/testlink/index.php,弹出Testlink页面为英文,修改配置文件使其默认为中文;

     打开C:"xampp"htdocs"testlink下的config.inc.php文件;
     查找$g_default_language = 'en_GB';
     修改为$g_default_language = 'zh_CN';
        

    (12)汉化TestLink:目前xampp\htdocs\testlink\locale\zh_CN目录下的strings.txt已经汉化完成,只要修改步骤(11)的配置文件即可;

    (13)修改配置文件config.inc.php,解决日期乱码问题;

    打开xampp\htdocs\testlink下的config.inc.php文件;

    在配置文件的最下方,添加如图所示内容’zh_CN’ =>,
    'zh_CN' => "%Y-%m-%d %H:%M:%S"


     

    (13)登录http://localhost/testlink/index.php,即为已经汉化完成的TestLink主界面

    (14)关于TestLink的配置、使用将在下篇中列举。

  • Testlink中关键字的作用

    2009-09-17 13:25:36

    Testlink手册中关于“关键字”的描述:
    3.3 Keywords
    Keywords were created to give users another level of depth when categorizing Test Cases.
    Keywords serve as a means of grouping Test Cases with some attribute within a Test
    Specification. For example, you can use it to define:
    • Regression or Sanity set
    • Reviewed Test Cases
    • Set of Test Cases valid for one platform
    Keyword Creation
    At this time keywords can only be created by users with the mgt_modify_key rights. These
    rights are currently held only by Leaders. Once a keyword or grouping of keywords has been
    created users may assign them to Test Cases.
    Illustration 6: List of related Test Plans is listed on the "View Test Case" page
    Assigning Keywords
    Keywords may be assigned to Test Cases either from the assign keyword screen (in batch) or
    via the Test Case management (individually).
    Filter by Keyword
    Users have the ability to filter by Keywords to:
    • Search Test Cases in Test Specification.
    • Add groups of Test Cases in a Test Case Suite (Test Plan).
    • Execute test screen.

    Testlink@Fulong 中的关键字及其解释如下表所示:

    < /tr>
    功能 功能测试
    针对产品的功能点进行测试
     
    可用 可用性测试
    测试用户是否能够满意使用。具体体现为操作是否方便,界面是否友好等。
     
    安全 安全性测试
    安全性和访问控制测试侧重于安全性的两个关键方面:
    应用程序级别的安全性,包括对数据或业务功能的访问
    系统级别的安全性,包括对系统的登录或远程访问。
     
    性能 性能测试
    性能测试主要测试软件的性能,包括负载测试,强度测试,数据库容量测试,基准测试以及基准测试
     
    恢复 恢复测试
    采用人工的干扰使软件出错,中断使用,检测系统的恢复能力,特别是通讯或网络相关的系统。恢复测试时,应该参考性能测试的相关测试指标。
     
    手动 手动测试
    需要人工干涉的测试
     
    正面 正面测试用例
    即输入是系统定义中合法的输入数据的用例
     
    自动 自动测试
    利用工具或脚本自动化测试
     
    负面 负面测试用例
    即输入[不是]系统定义中合法的输入数据的用例

Open Toolbar