我的最新日志

  • skiltest 错误日志记录(3)

    2008-8-02

    [ ] scrīpt loginuser1.t - 1 error
    [ ] Machine: (local)
    [ ] Started: 11:32:38AM on 02-Aug-2008
    [ ] Elapsed: 0:00:07
    [ ] Passed:  0 tests (0%)
    [ ] Failed:  1 test (100%)
    [ ] Totals:  1 test, 1 error, 0 warnings
    [ ]
    [-] Testcase Test1 - 1 error
     [ ]***Error:Window '[BrowserChild]BeLLE 信息发布平台' was not found
     [ ] Occurred in MoveMouse
     [ ] Called from Test1 at loginuser1.t(4)
  • skiltest 错误日志记录(2)

    2008-8-02

    [ ] scrīpt longuser.t - 1 error
    [ ] Machine: (local)
    [ ] Started: 11:18:08AM on 02-Aug-2008
    [ ] Elapsed: 0:00:06
    [ ] Passed:  0 tests (0%)
    [ ] Failed:  1 test (100%)
    [ ] Totals:  1 test, 1 error, 0 warnings
    [ ]
    [-] Testcase Test1 - 1 error
     [ ] *** Error: Window '[HtmlMarquee]#1' was not found
     [ ] Occurred in MoveMouse
     [ ] Called from Test1 at longuser.t(4)

    网站首页有滚动条,录制测试用例时,skiltest 提示信息:HtmlMarquee was not found


     

  • skiltest 错误日志记录(1)

    2008-7-29

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    [ ] scrīpt syslogin.t - 1 error
    [ ] Machine: (local)
    [ ] Started: 02:33:25PM on 29-Jul-2008
    [ ] Elapsed: 0:00:09
    [ ] Totals:  1 error, 0 warnings
    [ ]
    [ ] *** DefaultBaseState is restoring Browser
    [ ] *** Error: Window '[PushButton]View' was not found
    [ ] Occurred in IsChecked
    [ ] Called from Explorer.SetRequiredOptions at extend\explorer.inc(642)
    [ ] Called from Browser.SetRequiredOptions at browser.inc(555)
    [ ] Called from DefaultBaseState at defaults.inc(250)
    --------------------------------------------------------------------------

    以上是录制脚本,出现的错误。

    在google查询,得到的结果:本地语言不正确。

    After using the Workflow Toolbar to configure and record a testcase against a German version of IE 6. The recorded scrīpt fails on playback with the following error:

    [ ] *** Error: Window '[PushButton]View' was not found

    [ ] Occurred in IsChecked

    [ ] Called from Explorer.SetRequiredOptions at explorer.inc(642)

    [ ] Called from Browser.SetRequiredOptions at browser.inc(569)

    [ ] Called from DefaultBaseState at defaults.inc(250)


    This will probably be due to the fact that SilkTest is using the standard English versions of explorer.inc and browser.inc located in the SilkTest\Extend directory. However, SilkTest also provides support for both the German and French versions of Internet Explorer and Netscape Navigator. The following files, in ANSI format, are available in the <SilkTest Installation directory>\Locale:

    ...\french\browser.inc
    ...\french\explorer.inc
    ...\french\netscape.inc
    ...\german\browser.inc
    ...\german\explorer.inc
    ...\german\netscape.inc


    To change the default English-US browser include files to one of the supported localised browsers:

    1. Go to <SilkTest Installation directory>\Locale. In the Locale directory locate the language of the localized browser to be tested.
    2. Copy the files contained in the <Language directory> directory.
    3. Go to <SilkTest Installation directory>\Extend and paste the files, overwriting the existing files.

  • 思考skiltest 测试(一)

    2008-7-29

    一、自动化测试
    􀂄测试最常用的方法是采用:分层次的测试方法(The Layered Approach)
    􀂊Operability Tests(可操作性测试:each object的:state、size、caption、contents)
    􀂊Functionality Tests (功能测试:several objects组合在一起提供的特性)
    􀂊System Tests (系统测试:被测软件在其他软、硬件环境下的表现)
    􀂄其他类型的测试
    􀂊Regression Tests (回归测试:existing tests for new version of program)
    􀂊Error Tests (错误处理测试: system response for error condition)
    􀂊Stress Tests (压力测试:measure system response under repetiveor large amounts of data)
    􀂊White-Box Tests (白盒测试:internal structure of software)
    􀂊Black-Box Tests (黑盒测试:view software from end-user perspective and is unwareof the underlying code)

    SilkTest如何工作
    􀂊在SilkTest看来,应用由许多GUI对象组成,用户通过键盘/鼠标与这些对象交互
    􀂊使用SilkTest时,SilkTest通过面向对象的概念(类/属性/方法),识别这些GUI对象
    􀂊测试时,SilkTest模拟用户的操作,与这些GUI对象交互,并记录测试结果

    SilkTest组成
    􀂊SilkTestHost (Host Machine)
    􀂄用于develop/edit/compile/run/debug 测试脚本和测试计划
    􀂊SilkTestAgent (Remote Machine)
    􀂄interact with GUI of AUT (Application Under Test 被测应用)
    􀂄translate scrīpt into GUI commands
    􀂄driving and monitoring application
    􀂄run locally or remote

    SilkTest如何记录用户行为
    􀂊SilkTestrepository
    􀂄用于记录应用中各种GUI对象的描述
    􀂊SilkTest自动识别GUI对象,自动记录用户操作过程中对各个GUI对象的操作,将这些操作转换成相应的方法,写入脚本程序中。

     

     

  • DB2学习(1)

    2008-6-03

    db2 tool实际上可以分为两大类:

    control center (简称CC)
    主要管理DB2服务器。

    configuration Assistant(简称CA)
    用来设置客户机/服务器通信和维护注册表变量等。

    在任何db2工具中,都可以找到6种特性:
    (1) wizards (向导)
    向导可以用来在系统中添加数据库(对数据库进行编目)、创建数据库、备份数据库和恢复数据库、创建表、创建表空间、配置阶段提交、配置数据库日志、更新文档、调优性能等。

    (2)Generate DDL (生成数据库描述语言)
    允许重新生成数据库定义语言(data definition language) .

    (3)show sql /show command
    可以生成SQL语句或者db2命令

    (4)show related
    show related 特性显示表、索引、视图、别名、触发器、表空间、用户定义函数(UDF)和用户定义的类型(UDT)之间的直接关系。

    (5)filter
    在面板上可以直接过滤

    (6)help
    db2帮助是面向任务的,应该很容易执行特定任务

  • bugzilla的安装与使用(4)

    2008-4-17

    bugzilla的安装

    安装ActivePerl软件

    在这里使用windows2003 的IIS,作为WEB服务器。

    设置IIS,使其解析cgi

    可执行文件名:c:\perl\bin\perl.exe "%s"

    扩展名:.cgi

    动作:全部动作

     

  • bugzilla的安装与使用(3)

    2008-4-17

    3 、使用CVS获取最新Bugzilla

    获取方式用两种:

       (1)、从BUGZILLA官方网站下载最新版本(windows\linux)

       (2)、使用CVS获取最新Bugzilla(重点介绍)

    操作方法如下:

     A、在windwos XP/2003下,开始-运行 ,输入CMD,输入CD \,让系统处于C盘根目录下。

     B、登录:c:\>cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login

     (密码和用户一致)

     C、获取:c:\>cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot checkout bugzilla

     D、开始下载,下载完成,退出。

        退出:c:\>cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot logout

     

  • bugzilla的安装与使用(2)

    2008-4-17

    2、Bugzilla运行需求(可以从官方网站中获取最新版本)

    activePerl(版本:5.8.3 build 809)

     http://www.activestate.com/products/download/download.plex?id=ActivePerl

    MySql(版本:mysql-4.0.20a) MySql控制台

     http://www.mysql.com/downloads/index.html

     http://www.mysql.com/downloads/mysqlcc.html

    Apache(版本:2.049)

    http://www.apache.org/download.cgi

    bugzilla(版本:2.17.7)

    http://www.bugzilla.org/downloas.html

    建议使用CVS直接从服务器上checkout最新的版本。

    bugzilla 运行所需要的一些perl模块

    bugzilla的发信模块mailer(unix sendmail开发的)

  • bugzilla的安装与使用(1)

    2008-4-17

    1、bugzilla 简介

    bugzilla 是什么?

    Buazilla 是一个BUG管理系统,它遵照GPL发行,是免费开源软件。用于管理开发过程中所遇到的Bug,从Bug的提交,到BUG的处理,反馈验证等。能够确保每个BUG都能完成其生命周期,确保在开发过程中不会丢失BUG。

    使用Bugailla有什么好处?

    @@使用Bugzilla能够确保把握每一个BUG,确保开发过程中不丢失一个BUG,避免没有BUG管理软件中所造成的混乱。

    @@BUGZILLA提供了详细的查询功能,能够尽量保证不提交重复的BUG。

    @@提供了详细的统计分析功能,有助于项目管理者更好的了解项目的进展,同时能够对BUG的高发区进行有效管理。

    @@对比多个BUGZILLA管理的项目数据,能够为未来开发提供详细的数据支持。

     

  • error1324解决方法

    2008-3-16

    在安装 apache时,提示消息:Error 1324,the path My Documents contains a invalid character.

    解决办法:

             1、先备份注册表

             2、打开注册表regedit

               寻找路径: KEY_USERs\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

               将my  Documents  c:\Documentsand Settings\Administrator\My Pictures
    就可以正常安装.

     

Open Toolbar