发布新日志

  • QTP中常用的VB函数

    2010-03-02 15:35:53

     

     

    Left 函数

    返回 Variant (String),其中包含字符串中从左边算起指定数量的字符。

    语法

    Left(string, length)

    Left 函数的语法有下面的命名参数:

    部分

    说明

    string

    必要参数。字符串表达式其中最左边的那些字符将被返回。如果 string 包含 Null,将返回 Null。

    length

    必要参数;为 Variant (Long)。数值表达式,指出将返回多少个字符。如果为 0,返回零长度字符串 ("")。如果大于或等于 string 的字符数,则返回整个字符串。

     

    说明

    欲知 string 的字符数,使用 Len 函数。

    注意    LeftB 函数作用于包含在字符串中的字节数据。所以 length 指定的是字节数,而不是要返回的字符数。

     

     

    Mid 函数

    从字符串中返回指定数目的字符。

    Mid(string, start[, length])

    参数

    string

    字符串表达式,从中返回字符。如果 string 包含 Null,则返回 Null

    Start

    string 中被提取的字符部分的开始位置。如果 start 超过了 string 中字符的数目,Mid 将返回零长度字符串 ("")

    Length

    要返回的字符数。如果省略或 length 超过文本的字符数(包括 start 处的字符),将返回字符串中从 start 到字符串结束的所有字符。

    说明

    要判断 string 中字符的数目,可使用 Len 函数。

    下面的示例利用 Mid 函数返回字符串中从第四个字符开始的六个字符:

    Dim MyVar

    MyVar = Mid("VB脚本is fun!", 4, 6) 'MyVar 包含 "Script"

    注意   MidB 函数与包含在字符串中的字节数据一起使用。其参数不是指定字符数,而是字节数。

     

    Len 函数

    返回字符串内字符的数目,或是存储一变量所需的字节数。

    Len(string | varname)

    参数

    string

    任意有效的字符串表达式。如果 string 参数包含 Null,则返回 Null

    Varname

    任意有效的变量名。如果 varname 参数包含 Null,则返回 Null

    说明

    下面的示例利用 Len 函数返回字符串中的字符数目:

    Dim MyString

    MyString = Len("VBSCRIPT") 'MyString 包含 8

    注意   LenB 函数与包含在字符串中的字节数据一起使用。LenB 不是返回字符串中的字符数,而是返回用于代表字符串的字节数。

     

    Right 函数

    从字符串右边返回指定数目的字符。

    Right(string, length)

    参数

    string

    字符串表达式,其最右边的字符被返回。如果 string 参数中包含 Null,则返回 Null

    Length

    数值表达式,指明要返回的字符数目。如果为 0,返回零长度字符串;如果此数大于或等于 string 参数中的所有字符数目,则返回整个字符串。

    说明

    要确定 string 参数中的字符数目,使用 Len 函数。

    下面的示例利用 Right 函数从字符串右边返回指定数目的字符:

    Dim AnyString, MyStr

    AnyString = "Hello World"      ' 定义字符串。

    MyStr = Right(AnyString, 1)    ' 返回 "d"

    MyStr = Right(AnyString, 6)    ' 返回 " World"

    MyStr = Right(AnyString, 20)   ' 返回 "Hello World"

    注意   RightB 函数用于字符串中的字节数据,length 参数指定返回的是字节数目,而不是字符数目。

     

    InStr 函数

    返回某字符串在另一字符串中第一次出现的位置。

    InStr([start, ]string1, string2[, compare])

    参数

    start

    可选项。数值表达式,用于设置每次搜索的开始位置。如果省略,将从第一个字符的位置开始搜索。如果 start 包含 Null,则会出现错误。如果已指定 compare,则必须要有 start 参数。

    string1

    必选项。接受搜索的字符串表达式。

    string2

    必选项。要搜索的字符串表达式。

    compare

    可选项。指示在计算子字符串时使用的比较类型的数值。有关数值,请参阅设置部分。如果省略,将执行二进制比较。

    设置

    compare 参数可以有以下值:

    常数

    描述

    vbBinaryCompare

    0

    执行二进制比较。

    vbTextCompare

    1

    执行文本比较。

    返回值

    InStr 函数返回以下值:

    如果

    InStr 返回

    string1 为零长度

    0

    string1 Null

    Null

    string2 为零长度

    start

    string2 Null

    Null

    string2 没有找到

    0

    string1 中找到 string2

    找到匹配字符串的位置

    start > Len(string2)

    0

    说明

    下面的示例利用 InStr 搜索字符串:

    Dim SearchString, SearchChar, MyPos

    SearchString ="XXpXXpXXPXXP"   ' 要搜索的字符串。

    SearchChar = "P"   ' Search for "P".

    MyPos = Instr(4, SearchString, SearchChar, 1)   ' 在位置 4 进行的文本比较。返回 6

    MyPos = Instr(1, SearchString, SearchChar, 0)   ' 在位置 1 进行的二进制比较。返回 9

    MyPos = Instr(SearchString, SearchChar)   ' 默认情况下,进行的是二进制比较(省略了最后的参数)。返回 9

    MyPos = Instr(1, SearchString, "W")   ' 在位置 1 进行的二进制比较。返回 0(找不到 "W")。

    注意   InStrB 函数使用包含在字符串中的字节数据,所以 InStrB 返回的不是一个字符串在另一个字符串中第一次出现的字符位置,而是字节位置。

     

    LTrimRTrim Trim 函数

    返回不带前导空格 (LTrim)、后续空格 (RTrim) 或前导与后续空格 (Trim) 的字符串副本。

    LTrim(string)

    RTrim(string)

    Trim(string)

    string 参数是任意有效的字符串表达式。如果 string 参数中包含 Null,则返回 Null

    说明

    下面的示例利用 LTrim, RTrim, Trim 函数分别用来除去字符串开始的空格、尾部空格、 开始和尾部空格:

    Dim MyVar

    MyVar = LTrim("   vbscript. ")   'MyVar 包含 "vbscript. "

    MyVar = RTrim("   vbscript. ")   'MyVar 包含 "   vbscript"

    MyVar = Trim("   vbscript. ")   'MyVar 包含 "vbscript"

     

    Rnd 函数

    返回一个随机数。

    Rnd[(number)]

    number 参数可以是任意有效的数值表达式。

    说明

    Rnd 函数返回一个小于 1 但大于或等于 0 的值。number 的值决定了 Rnd 生成随机数的方式:

    如果 number

    Rnd 生成

    小于零

    每次都相同的值,使用 number 作为种子。

    大于零

    序列中的下一个随机数。

    等于零

    最近生成的数。

    省略

    序列中的下一个随机数。

    因每一次连续调用 Rnd 函数时都用序列中的前一个数作为下一个数的种子,所以对于任何最初给定的种子都会生成相同的数列。

    在调用 Rnd 之前,先使用无参数的 Randomize 语句初始化随机数生成器,该生成器具有基于系统计时器的种子。

    要产生指定范围的随机整数,请使用以下公

  • 做自己情绪的主人

    2010-03-02 15:32:52

    Today I will be master of my emotions.

    And with this new knowledge I will also understand and recognize the moods of him on whom I call. I will make allowances for his anger and irritation of today for he knows not the secret of controlling his mind. I can withstand his arrows and insults for now I know that tomorrow he will change and be a joy to approach.

    今天我学会控制情绪。

    有了这项新本领,我也更能体察别人的情绪变化。我宽容怒气冲冲的人,因为他尚未懂得控制自己的情绪,就可以忍受他的指责与辱骂,因为我知道明天他会改变,重新变得随和。

    No longer will I judge a man on one meeting; no longer will I fail to call again tomorrow on he who meets me with hate today. This day he will not buy gold chariots for a penny, yet tomorrow he would exchange his home for a tree. My knowledge of this secret will be my key to great wealth.

    Today l will be master of my emotions.

    我不再只凭一面之交来判断一个人,也不再一时的怨恨与人绝交,今天不肯花一分钱买金蓬马车的人,明天也许会用全部家当换树苗。知道了这个秘密,我可以获得极大的财富。

    今天我学会控制情绪。

    Henceforth I will recognize and identify the mystery of moods in all mankind, and in me. From this moment I am prepared to control whatever personality awakes in me each day. I will master my moods through positive action and when I master my moods I will control my destiny.

    我从此领悟人类情绪的变化的奥秘。对于自己千变万化的个性,我不再听之任之,我知道,只有积极主动地控制情绪,才能掌握自己的命运。

    Today I control my destiny, and my destiny is to become the greatest salesman in the world!

    I will become master of myself.

    I will become great.
    我控制自己的命运就是成为世界上最伟大的推销员!

    我成为自己的主人。

    我由此而变得伟大。
  • 新东方英语背诵美文30篇(1)

    2010-03-02 12:07:52

    ·第一篇:Youth 青春

    Youth

     

    Youth is not a time of life; it is a state of mind; it is not a matter of rosy cheeks, red lips and supple knees; it is a matter of the will, a quality of the imagination, a vigor of the emotions; it is the freshness of the deep springs of life.

     

    Youth means a temperamental predominance of courage over timidity, of the appetite for adventure over the love of ease. This often exists in a man of 60 more than a boy of 20. Nobody grows old merely by a number of years. We grow old by deserting our ideals.

     

    Years may wrinkle the skin, but to give up enthusiasm wrinkles the soul. Worry, fear, self-distrust bows the heart and turns the spirit back to dust.

     

    Whether 60 or 16, there is in every human being’s heart the lure of wonders, the unfailing appetite for what’s next and the joy of the game of living. In the center of your heart and my heart, there is a wireless station; so long as it receives messages of beauty, hope, courage and power from man and from the infinite, so long as you are young.

     

    When your aerials are down, and your spirit is covered with snows of cynicism and the ice of pessimism, then you’ve grown old, even at 20; but as long as your aerials are up, to catch waves of optimism, there’s hope you may die young at 80.
  • 在VBS中,程序分为两种:Sub程序和Function程序

    2008-09-10 15:30:03

    对于Sub程序和Function程序

    在安装QuickTest Professional后可以查看它的文档,QuickTest Professional Help里面也有关于VBscrīpt Procedures的说明:

    VBscrīpt Procedures

    In VBscrīpt, there are two kinds of procedures; the Sub procedure and the Function procedure.

    Sub Procedures

    A Sub procedure is a series of VBscrīpt statements (enclosed by Sub and End Sub statements) that perform actions but don't return a value. A Sub procedure can take arguments (constants, variables, or expressions that are passed by a calling procedure). If a Sub procedure has no arguments, its Sub statement must include an empty set of parentheses ().

    The following Sub procedure uses two intrinsic, or built-in, VBscrīpt functions, MsgBox and InputBox, to prompt a user for information. It then displays the results of a calculation based on that information. The calculation is performed in a Function procedure created using VBscrīpt. The Function procedure is shown after the following discussion.

    Sub ConvertTemp()
       temp = InputBox("Please enter the temperature in degrees F.", 1)
       MsgBox "The temperature is " & Celsius(temp) & " degrees C."
    End Sub

    Function Procedures

    A Function procedure is a series of VBscrīpt statements enclosed by the Function and End Function statements. A Function procedure is similar to a Sub procedure, but can also return a value. A Function procedure can take arguments (constants, variables, or expressions that are passed to it by a calling procedure). If a Function procedure has no arguments, its Function statement must include an empty set of parentheses. A Function returns a value by assigning a value to its name in one or more statements of the procedure. The return type of a Function is always a Variant.

    In the following example, the Celsius function calculates degrees Celsius from degrees Fahrenheit. When the function is called from the ConvertTemp Sub procedure, a variable containing the argument value is passed to the function. The result of the calculation is returned to the calling procedure and displayed in a message box.

    Sub ConvertTemp()
       temp = InputBox("Please enter the temperature in degrees F.", 1)
       MsgBox "The temperature is " & Celsius(temp) & " degrees C."
    End Sub
    
    Function Celsius(fDegrees)
       Celsius = (fDegrees - 32) * 5 / 9
    End Function

    Getting Data into and out of Procedures

    Each piece of data is passed into your procedures using an argument . Arguments serve as placeholders for the data you want to pass into your procedure. You can name your arguments any valid variable name. When you create a procedure using either the Sub statement or the Function statement, parentheses must be included after the name of the procedure. Any arguments are placed inside these parentheses, separated by commas. For example, in the following example, fDegrees is a placeholder for the value being passed into the Celsius function for conversion.

    Function Celsius(fDegrees)
       Celsius = (fDegrees - 32) * 5 / 9
    End Function

    To get data out of a procedure, you must use a Function. Remember, a Function procedure can return a value; a Sub procedure can't.

    Using Sub and Function Procedures in Code

    A Function in your code must always be used on the right side of a variable assignment or in an expression. For example:

    Temp = Celsius(fDegrees)

    -or-

    MsgBox "The Celsius temperature is " & Celsius(fDegrees) & " degrees."

    To call a Sub procedure from another procedure, type the name of the procedure along with values for any required arguments, each separated by a comma. The Call statement is not required, but if you do use it, you must enclose any arguments in parentheses.

    The following example shows two calls to the MyProc procedure. One uses the Call statement in the code; the other doesn't. Both do exactly the same thing.

    Call MyProc(firstarg, secondarg)
    MyProc firstarg, secondarg

    Notice that the parentheses are omitted in the call when the Call statement isn't used.

     

     

     

    下面是关于 Function Definition

     

    Defining the Function Definition

    After you open the Function Definition Generator, you can begin defining a function.



    For example, if you want to define a function that verifies the value of a specified property, you might name it VerifyProperty and define it as a public function so that it can be called from any associated component (as long as the function library is associated with its application area). (If you define it as private, the function can only be called from elsewhere in the same function library. Private functions cannot be registered to a test object.)

    To define a function:

    1. In the Name box, enter a name for the new function. The name should clearly indicate what the operation does so that it can be easily selected from the Step Generator (for function libraries) or the Keyword View. Function names cannot contain non-English letters or characters. In addition, function names must begin with a letter and cannot contain spaces or any of the following characters:  ! @ # $ % ^ & * ( ) + = [ ] \ { } | ; ` : "" , / < > ?
    2. Note: Do not give the user-defined function the same name as a built-in function (for example, GetLastError, MsgBox, or Print). Built-in functions take priority over user-defined functions, so if you call a user-defined function that has the same name as a built-in function, the built-in function is called instead. For a list of built-in functions, refer to the Built-in functions list in the Step Generator (Insert > Step Generator).

    3. From the Type list, choose Function or Sub, according to whether you want to define a function or a subroutine.
    4. From the Scope list, choose the scope of the function—either Public (to enable the function to be called by any component whose application area is associated with this function library), or Private (to enable the function to be called only from elsewhere in the same function library). By default, the scope is set to Public. (Only public functions can be registered to a test object.)
    5. Note: If you create a user-defined function manually and do not define the scope as Public or Private, it will be treated as a public function, by default.

      After you define a public function, you can register the function, as described in Registering a Function Using the Function Generator. Alternatively, if you defined a private function, or if you do not want to register the function, you can continue by specifying arguments for the function. For more information, see Specifying Arguments for the Function.

  • 关于vb脚本中function和Sub的比较学习

    2008-09-10 09:52:17

  • 软件测试的类型——续

    2008-09-09 16:22:43

    关于软件测试的类型

     

    10.多语种测试
    又称本地化测试,是指为各个地方开发产品的测试,如英文版,中文版等等,包括程序是否能够正常运行,界面是否符合当地习俗,快捷键是否正常起作用等等,特别测试在A语言环境下运行B语言软件(比如在英文win98下试图运行中文版的程序),出现现象是否正常。

    本地化测试还要考虑:
    l
    当语言从A翻译到B,字符长度变化是否影响页面效果。比如中文软件中有个按键叫看广告,翻译到英文版本中为 “View advertisement”可能影响页面的美观程度
    l
    要考虑同一单词在各个国家的不同意思,比如football在英文中为足球,而美国人使用中可能理解为美式橄榄球。
    l
    要考虑各个国家的民族习惯,比如龙个美国中被理解邪恶的象征,但翻译到中国,中国人认为为吉祥的象征。

    11.文字测试
    文字测试测试软件中是否拼写正确,是否易懂,不存在二义性,没有语法错误;文字与内容是否有出入等等,包括图片文字。
    比如:比如,请输入正确的证件号码!何谓正确的证件号码,证件可以为身份证,驾驶证,也可为军官证,如果改为请输入正确的身份证号码!用户就比较容易理解了。

    12.分辨率测试
    测试在不同分辨率下,界面的美观程度,分为800*6001024*7681152*8641280*7681280*10241200*1600大小字体下测试。一个好的软件要有一个极佳的分辨率,而在其他分辨率下也都能可以运行。

    13发布测试
    主要在产品发布前对一些附带产品,比如说明书,广告稿等进行测试
    13.1
    说明书测试
    主要为语言检查,功能检查,图片检查
    语言检查:检查说明书语言是否正确,用词是否易于理解;
    功能检查:功能是否描述完全,或者描述了并没有的功能等;
    图片检查::检查图片是否正确
    13.2
    宣传材料测试
    主要测试产品中的附带的宣传材料中的语言,描述功能,图片
    13.3
    帮助文件测试
    帮助文件是否正确,易懂,是否人性化。最好能够提供检索功能。
    13.4
    广告用语
    产品出公司前的广告材料文字,功能,图片,人性化的检查


    14 文档审核测试
    文档审核测试目前越来越引起人们的重视,软件质量不是检查出来的,而是融进软件开发中来。前置软件测试发越来越受到重视。请看一个资料:
    文档审核测试主要包括需求文档测试,设计文档测试,为前置软件测试测试中的一部分。
    14.1
    需求文档测试
    主要测试需求中是否存在逻辑矛盾以及需求在技术上是否可以实现;
    14.2
    设计文档测试
    测试设计是否符合全部需求以及设计是否合理。

    总结
    据美国软件质量安全中心2000年对美国一百家知名的软件厂商统计,得出这样一个结论:软件缺陷在开发前期发现比在开发后期发现资金,人力上节约90%;软件缺陷在推向市场前发现比在推出后发现资金,人力上节约90%。所以说软件的缺陷应该尽早发现。不是所有的软件都要进行任何类型的软件测试的,可以根据产品的具体情况进行组装测试不同的类型。

  • 软件测试的类型(转载)

    2008-09-09 16:16:36

    关于软件测试的类型

     

    软件测试是指使用人工或者自动的手段来运行或测定某个软件产品系统的过程,其目的是在于检验是否满足规定的需求或者弄清预期的结果与实际结果的区别。本文主要描述软件测试的类型。
    1
    数据和数据库完整性测试

    数据与数据库完整测试是指测试关系型数据库完整性原则以及数据合理性测试。
    数据库完整性原即:
    主码完整性:主码不能为空;
    外码完整性:外码必须等于对应的主码或者为空。
    数据合理性指数据在数据库中的类型,长度,索引等是否建的比较合理。
    在项目名称中,数据库和数据库进程应作为一个子系统来进行测试。在测试这些子系统时,不应将测试对象的用户界面用作数据的接口。对于数据库管理系统 (DBMS),还需要进行深入的研究,以确定可以支1持测试的工具和技术
    比如,有两张表:部门和员工。部门中有部门编号,部门名称,部门经理等字段,主码为部门编号;员工表中有员工编号,员工所属部门编号,员工名称,员工类型等字段,主码为员工编号,外码为员工所属部门编号,对应部门表。如果在某条部门记录中部门编号或员工记录员工编号为空,他就违反主码完整性原则。如果某个员工所属部门的编号为##,但是##在部门编号中确找不到,这就违反外码完整性原则。
    员工类型如下定义:0:职工,1:职员,2:实习生。但数据类型为Int,我们都知道Int占有4个字节,如果定义成char(1).就比原来节约空间。

    2 白盒测试
    白盒测试是基于代码的测试,测试人员通过阅读程序代码或者通过使用开发工具中的单步调试来判断软件的质量,一般黑盒测试由项目经理在程序员开发中来实现。白盒测试分为动态白盒测试和静态白盒测试
    2.1
    静态白盒测试
    利用眼睛,浏览代码,凭借经验,找出代码中的错误或者代码中不符合书写规范的地方。比如,代码规范中规定,函数必须为动宾结构。而黑盒测试发现一个函数定义如下:
    Function NameGet(){
    ….
    }
    这是属于不符合开发规范的错误。
    有这样一段代码:
    if (i<0) & (i>=0)

    这段代码交集为整个数轴,IF语句没有必要

    I=0;
    while(I>100){
    J=J+100;
    T=J*PI;
    }
    在循环体内没有I的增加,bug产生。
    2.2
    动态白盒测试
    利用开发工具中的调式工具进行测试。比如一段代码有4个分支,输入4组不同的测试数据使4组分支都可以走通而且结果必须正确。
    看一段代码
    if(I<0){
    P1
    }else{
    P2
    }
    在调试中输入I=-1,P1程序段通过, P2程序段未通过,属于动态黑盒测试的缺陷

    3.功能测试
    功能测试
    指测试软件各个功能模块是否正确,逻辑是否正确。
    对测试对象的功能测试应侧重于所有可直接追踪到用例或业务功能和业务规则的测试需求。这种测试的目标是核实数据的接受、处理和检索是否正确,以及业务规则的实施是否恰当。此类测试基于黑盒技术,该技术通过图形用户界面 (GUI) 与应用程序进行交互,并对交互的输出或结果进行分析,以此来核实应用程序及其内部进程。功能测试的主要参考为类似于功能说明书之类的文档。
    比如一个对电子商务系统,前台用户浏览商品-放入购物车-进入结账台,后台处理订单,配货,付款,发货,这一系列流程必须正确无误的走通,不能存在任何的错误。

    4.UI测试
    UI
    测试指测试用户界面的风格是否满足客户要求,文字是否正确,页面美工是否好看,文字,图片组合是否完美,背景是否美观,操作是否友好等等
    用户界面 (UI) 测试用于核实用户与软件之间的交互。UI 测试的目标是确保用户界面会通过测试对象的功能来为用户提供相应的访问或浏览功能。另外,UI 测试还可确保 UI 中的对象按照预期的方式运行,并符合公司或行业的标准。包括用户友好性,人性化,易操作性测试。UI测试比较主观,与测试人员的喜好有关
    比如:页面基调颜色刺眼;用户登入页面比较难于找到,文字中出现错别字,页面图片范围太广等都属于UI测试中的缺陷,但是这些缺陷都不太严重。

    5.性能测试
    性能测试
    主要测试软件测试的性能,包括负载测试,强度测试,数据库容量测试,基准测试以及基准测试
    5.1
    负载测试
    负载测试是一种性能测试指数据在超负荷环境中运行,程序是否能够承担。
    在这种测试中,将使测试对象承担不同的工作量,以评测和评估测试对象在不同工作量条件下的性能行为,以及持续正常运行的能力。负载测试的目标是确定并确保系统在超出最大预期工作量的情况下仍能正常运行。此外,负载测试还要评估性能特征,例如,响应时间、事务处理速率和其他与时间相关的方面。
    比如,在B/S结构中用户并发量测试就是属于负载测试的用户,可以使用webload工具,模拟上百人客户同时访问网站,看系统响应时间,处理速度如何?
    5.2
    强度测试
    强度测试是一种性能测试,他在系统资源特别低的情况下软件系统运行情况。这类测试往往可以书写系统要求的软硬件水平要求。
    实施和执行此类测试的目的是找出因资源不足或资源争用而导致的错误。如果内存或磁盘空间不足,测试对象就可能会表现出一些在正常条件下并不明显的缺陷。而其他缺陷则可能由于争用共享资源(如数据库锁或网络带宽)而造成的。强度测试还可用于确定测试对象能够处理的最大工作量。
    比如:一个系统在内存366M下可以正常运行,但是降低到258M下不可以运行,告诉内存不足,这个系统对内存的要求就是366M
    5.3
    数据库容量测试
    数据库容量测试指通过存储过程往数据库表中插入一定数量的数据,看看相关页面是否能够及时显示数据。
    数据库容量测试使测试对象处理大量的数据,以确定是否达到了将使软件发生故障的极限。容量测试还将确定测试对象在给定时间内能够持续处理的最大负载或工作量。例如,如果测试对象正在为生成一份报表而处理一组数据库记录,那么容量测试就会使用一个大型的测试数据库,检验该软件是否正常运行并生成了正确的报表。做这种测试通常通过书写存储过程向数据库某个表中插入一定数量的记录,计算相关页面的调用时间。
    比如,在电子商务系统中,通过insert customer user表中插入10 000数据,看其是否可以正常显示顾客信息列表页面,如果要求达到最多可以处理100 000个客户,但是顾客信息列表页面不能够在规定的时间内显示出来,就需要调整程序中的SQL查询语句;如果在规定的时间内显示出来,可以将用户数分别提高到20 000 , 50 000, 100 000进行测试。
    5.4
    基准测试
    基准测试与已知现有的系统进行比较,主要检验是否与类似的产品具有竞争性的一种测试。
    如果你要开发一套财务系统软件并且你已经获得用友财务系统的性能等数据,你可以测试你这套系统,看看哪些地方比用友财务系统好,哪些地方差?以便改进自己的系统,也可为产品广告提供数据。
    5.5
    竞争测试
    软件竞争使用各种资源(数据纪录,内存等),看他与其他相关系统对资源的争夺能力。比如:一台机器上即安装您的财务系统,又安装用友财务系统。当CPU占有率下降后,看看是否能够强过用友财务系统,而是自己的系统能够正常运行?


    6. 安全性和访问控制测试
    安全性和访问控制测试侧重于安全性的两个关键方面:
    应用程序级别的安全性,包括对数据或业务功能的访问
    系统级别的安全性,包括对系统的登录或远程访问。
    6.1
    应用程序级别的安全性
    可确保:在预期的安全性情况下,主角只能访问特定的功能或用例,或者只能访问有限的数据。例如,可能会允许所有人输入数据,创建新账户,但只有管理员才能删除这些数据或账户。如果具有数据级别的安全性,测试就可确保用户类型一能够看到所有客户消息(包括财务数据),而用户二只能看见同一客户的统计数据。
    比如B/S系统,不通过登入页面,直接输入URL,看其是否能够进入系统?
    6.2
    系统级别的安全性
    可确保只有具备系统访问权限的用户才能访问应用程序,而且只能通过相应的网关来访问。
    比如输入管理员账户,检查其密码是否容易猜取,或者可以从数据库中获得?

    7.故障转移和恢复测试
    故障转移和恢复测试指当主机软硬件发生灾难时候,备份机器是否能够正常启动,使系统是否可以正常运行,这对于电信,银行等领域的软件是十分重要的。
    故障转移和恢复测试可确保测试对象能成功完成故障转移,并能从导致意外数据损失或数据完整性破坏的各种硬件、软件或网络故障中恢复。
    故障转移测试可确保:对于必须持续运行的系统,一旦发生故障,备用系统就将不失时机地顶替发生故障的系统,以避免丢失任何数据或事务。
    恢复测试是一种对抗性的测试过程。在这种测试中,将把应用程序或系统置于极端的条件下(或者是模拟的极端条件下),以产生故障(例如设备输入/输出 (I/O) 故障或无效的数据库指针和关健字)。然后调用恢复进程并监测和检查应用程序和系统,核实应用程序或系统和数据已得到了正确的恢复。一定要注意主备定时备份
    比如电信系统,突然主机程序发生死机,备份机器是否能够启动,使系统能够正常运行,从而不影响用户打电话?

    8.配置测试
    又叫兼容性测试。配置测试核实测试对象在不同的软件和硬件配置中的运行情况。在大多数生产环境中,客户机工作站、网络连接和数据库服务器的具体硬件规格会有所不同。客户机工作站可能会安装不同的软件例如,应用程序、驱动程序等而且在任何时候,都可能运行许多不同的软件组合,从而占用不同的资源。(如浏览器版本,操作系统版本等)
    下面列出主要配置测试
    8.1
    浏览器兼容性
    测试软件在不同产商的浏览器下是否能够正确显示与运行;
    比如测试IENatscape浏览器下是否可以运行这套软件?
    8.2
    操作系统兼容性
    测试软件在不同操作系统下是否能够正确显示与运行;
    比如测试WINDOWS98,WINDOWS 2000,WINDOWS XP,LINU, UNIX下是否可以运行这套软件?
    8.3
    硬件兼容性
    测试与硬件密切相关的软件产品与其他硬件产品的兼容性,比如该软件是少在并口设备中的,测试同时使用其他并口设备,系统是否可以正确使用.
    比如在INTER,舒龙CPU芯片下系统是否能够正常运行?

    这样的测试必须建立测试实验室,在各种环境下进行测试。

    9.安装测试
    安装测试有两个目的。第一个目的是确保该软件在正常情况和异常情况的不同条件下: 例如,进行首次安装、升级、完整的或自定义的安装_都能进行安装。异常情况包括磁盘空间不足、缺少目录创建权限等。第二个目的是核实软件在安装后可立即正常运行。这通常是指运行大量为功能测试制定的测试。
    安装测试包括测试安装代码以及安装手册。安装手册提供如何进行安装,安装代码提供安装一些程序能够运行的基础数据。

    10.多语种测试
    又称本地化测试,是指为各个地方开发产品的测试,如英文版,中文版等等,包括程序是否能够正常运行,界面是否符合当地习俗,快捷键是否正常起作用等等,特别测试在A语言环境下运行B语言软件(比如在英文win98下试图运行中文版的程序),出现现象是否正常。

    查看(377) 评论(0) 收藏 分享 管理

  • 自动化测试的好处 (转载)

    2008-09-09 16:09:41

    自动化测试的好处(转载)

    自动化测试就是希望能够通过自动化测试工具或其他手段,按照测试工程师的预定计划进行自动的测试,目的是减轻手工测试的劳动量,从而达到提高软件质量的目的。自动化测试的目的在于发现老缺陷。而手工测试的目的在于发现新缺陷。

    测试自动化涉及到测试流程、测试体系、自动化化编译、持续集成、自动发布测试系统以及自动化测试等方面整合。也就是说要让测试能够自动化,不仅是技术、工具的问题,更是一个公司和组织的文化问题。首先公司从资金、管理上支持您,其次要有专门的测试团队去建立适合自动化测试的测试流程、测试体系;其次就是把原代码从受控库中取出、编译、集成、发布可运行系统、进行自动化的单元测试和自动化的功能测试的过程。

    (一)、自动化测试的好处

    1、 对新版本执行回归测试--测试每个特征

    对于产品型的软件,每发布一个新的版本,其中大部分功能和界面都和上一个版本相似或完全相同,这部分功能特别适合于自动化测试, 从而可以让测试达到测试每个特征的目的。

    2、 更多更频繁的测试--沉闷、耗时

    我们的产品向市场的发布周期是3个月,也就是我们的开发周期只有短短的3个月,而在测试期间是每天/每2天都要发布一个版本供测试人员测试,一个系统的功能点有几千个上万个,人工测试是非常的耗时和繁琐,这样必然会使测试效率低下。

    3、替代手工测试的困难--300个用户有些非功能性方面的测试:压力测试、并发测试、大数据量测试、崩溃性测试,用人来测试是不可能达到的。 在没有引入自动化测试工具之前,为了测试并发,研发中心的一、两百号人在研发经理的口令:1-、2-、3!, 大家同时按下同一个按钮。回想起这中情景也蛮有意思的。

    4、具有一致性和可重复性

    由于每次自动化测试运行的脚本是相同的, 所以每次执行的测试具有一致性, 人是很难做到的. 由于自动化测试的一致性,很容易发现被测软件的任何改变。

    5、更好的利用资源--周未/晚上

    理想的自动化测试能够按计划完全自动的运行, 在开发人员和测试人员不可能实行三班倒的情况下, 自动化测试可以胜任这个任务, 完全可以在周末和晚上执行测试. 这样充分的利用了公司的资源,也避免了开发和测试之间的等待.

    6、解决测试与开发之间的矛盾

    通常在开发的末期,进入集成测试阶段, 由于每发布一个版本的初期,测试系统的错误比较少,这时开发人员有等待测试人员测试出错误的时间. 事实上在叠代周期很短的开发模式中,存在更多的矛盾, 但自动化测试可以解决其中的主要矛盾。

    7、增加软件信任度

  • 开始→运行(cmd)命令大全(转载)

    2008-09-09 15:03:13

    开始→运行(cmd)命令大全

    作者: 欧绍华   发表日期: 2007-01-05 22:33  点击数: 51846

    gpedit.msc-----组策略 sndrec32-------录音机
      Nslookup-------IP地址侦测器 explorer-------打开资源管理器
      logoff---------注销命令 tsshutdn-------60秒倒计时关机命令
      lusrmgr.msc----本机用户和组 services.msc---本地服务设置
      oobe/msoobe /a----检查XP是否激活notepad--------打开记事本
      cleanmgr-------垃圾整理 net start messenger----开始信使服务
      compmgmt.msc---计算机管理 net stop messenger-----停止信使服务
      conf-----------启动netmeeting dvdplay--------DVD播放器
      charmap--------启动字符映射表 diskmgmt.msc---磁盘管理实用程序
      calc-----------启动计算器 dfrg.msc-------磁盘碎片整理程序
      chkdsk.exe-----Chkdsk磁盘检查 devmgmt.msc--- 设备管理器
      regsvr32 /u *.dll----停止dll文件运行drwtsn32------ 系统医生
      rononce -p ----15秒关机 dxdiag---------检查DirectX信息
      regedt32-------注册表编辑器 Msconfig.exe---系统配置实用程序
      rsop.msc-------组策略结果集 mem.exe--------显示内存使用情况
      regedit.exe----注册表 winchat--------XP自带局域网聊天
      progman--------程序管理器 winmsd---------系统信息
      perfmon.msc----计算机性能监测程序 winver---------检查Windows版本
      sfc /scannow-----扫描错误并复原 winipcfg-------IP配置
      taskmgr-----任务管理器(2000/xp/2003)command--------cmd
      fsmgmt.msc 共享文件夹 netstat -an----查看端口
      osk 屏幕键盘install.asp----修改注册网页
      eventvwr.msc 时间查看器
      secpol.msc 本地安全设置
      services.msc 服务
      2K
      
      accwiz.exe > 辅助工具向导
      acsetups.exe > acs setup dcom server executable
      actmovie.exe > 直接显示安装工具
      append.exe > 允许程序打开制定目录中的数据
      arp.exe > 显示和更改计算机的ip与硬件物理地址的对应列表
      at.exe > 计划运行任务
      atmadm.exe > 调用管理器统计
      attrib.exe > 显示和更改文件和文件夹属性
      autochk.exe > 检测修复文件系统
      autoconv.exe > 在启动过程中自动转化系统
      autofmt.exe > 在启动过程中格式化进程
      autolfn.exe > 使用长文件名格式
      bootok.exe > boot acceptance application for registry
      bootvrfy.exe > 通报启动成功
      cacls.exe > 显示和编辑acl
      calc.exe > 计算器
      cdplayer.exe > cd播放器
      change.exe > 与终端服务器相关的查询
      charmap.exe > 字符映射表
      chglogon.exe > 启动或停用会话记录
      chgport.exe > 改变端口(终端服务)
      chgusr.exe > 改变用户(终端服务)
      chkdsk.exe > 磁盘检测程序
      chkntfs.exe > 磁盘检测程序
      cidaemon.exe > 组成ci文档服务
      cipher.exe > 在ntfs上显示或改变加密的文件或目录
      cisvc.exe > 索引内容
      ckcnv.exe > 变换cookie
      cleanmgr.exe > 磁盘清理
      cliconfg.exe > sql客户网络工具
      clipbrd.exe > 剪贴簿查看器
      clipsrv.exe > 运行clipboard服务
      clspack.exe > 建立系统文件列表清单
      cluster.exe > 显示域的集群
      _cmd_.exe > 没什么好说的!
      cmdl32.exe > 自动下载连接管理
      cmmgr32.exe > 连接管理器
      cmmon32.exe > 连接管理器监视
      cmstp.exe > 连接管理器配置文件安装程序
      comclust.exe > 集群
      comp.exe > 比较两个文件和文件集的内容*
      compact.exe > 显示或改变ntfs分区上文件的压缩状态
      conime.exe > ime控制台
      control.exe > 控制面板
      convert.exe > 转换文件系统到ntfs
      convlog.exe > 转换iis日志文件格式到ncsa格式
      cprofile.exe > 转换显示模式
      cscrīpt.exe > 较本宿主版本
      csrss.exe > 客户服务器runtime进程
      csvde.exe > 日至格式转换程序
      dbgtrace.exe > 和terminal server相关
      dcomcnfg.exe > dcom配置属性
      dcphelp.exe > ?
      dcpromo.exe > ad安装向导
      ddeshare.exe > dde共享
      ddmprxy.exe >
      debug.exe > 就是debug啦!
      dfrgfat.exe > fat分区磁盘碎片整理程序
      dfrgntfs.exe > ntfs分区磁盘碎片整理程序
      dfs_cmd_.exe > 配置一个dfs树
      dfsinit.exe > 分布式文件系统初始化
      dfssvc.exe > 分布式文件系统服务器
      diantz.exe > 制作cab文件
      diskperf.exe > 磁盘性能计数器
      dllhost.exe > 所有com+应用软件的主进程
      dllhst3g.exe >
      dmadmin.exe > 磁盘管理服务
      dmremote.exe > 磁盘管理服务的一部分
      dns.exe > dns applications dns
      doskey.exe > 命令行创建宏
      dosx.exe > dos扩展
      dplaysvr.exe > 直接运行帮助
      drwatson.exe > 华生医生错误检测
      drwtsn32.exe > 华生医生显示和配置管理
      dtcsetup.exe > installs mdtc
      dvdplay.exe > dvd播放
      dxdiag.exe > direct-x诊断工具
      edlin.exe > 命令行的文本编辑器(历史悠久啊!)
      edlin.exe > 命令行的文本编辑器(历史悠久啊!)
      esentutl.exe > ms数据库工具
      eudcedit.exe > type造字程序
      eventvwr.exe > 事件查看器
      evnt_cmd_.exe > event to trap translator; configuration tool
      evntwin.exe > event to trap translator setup
      exe2bin.exe > 转换exe文件到二进制
      expand.exe > 解压缩
      extrac32.exe > 解cab工具
      fastopen.exe > 快速访问在内存中的硬盘文件
      faxcover.exe > 传真封面编辑
      faxqueue.exe > 显示传真队列
      faxsend.exe > 发送传真向导
      faxsvc.exe > 启动传真服务
      fc.exe > 比较两个文件的不同
      find.exe > 查找文件中的文本行
      findstr.exe > 查找文件中的行
      finger.exe > 一个用户并显示出统计结果
      fixmapi.exe > 修复mapi文件
      flattemp.exe > 允许或者禁用临时文件目录
      fontview.exe > 显示字体文件中的字体
      forcedos.exe > forces a file to start in dos mode. 强制文件在dos模式下运行
      freecell.exe > popular windows game 空当接龙
      ftp.exe > file transfer protocol used to transfer files over a network conne
      ction 就是ftp了
      gdi.exe > graphic device interface 图形界面驱动
      grovel.exe >
      grpconv.exe > program manager group convertor 转换程序管理员组
      help.exe > displays help for windows 2000 commands 显示帮助
      hostname.exe > display hostname for machine. 显示机器的hostname
      ie4uinit.exe > ie5 user install tool ie5用户安装工具
      ieshwiz.exe > customize folder wizard 自定义文件夹向导
      iexpress.exe > create and setup packages for install 穿件安装包
      iisreset.exe > restart iis admin service 重启iis服务
      internat.exe > keyboard language indicator applet 键盘语言指示器
      ipconfig.exe > windows 2000 ip configuration. 察看ip配置
      ipsecmon.exe > ip security monitor ip安全监视器
      ipxroute.exe > ipx routing and source routing control program ipx路由和源路由
      控制程序
      irftp.exe > setup ftp for wireless communication 无线连接
      ismserv.exe > intersite messaging service 安装或者删除service control manage
      r中的服务
      jdbgmgr.exe > microsoft debugger for java 4 java4的调试器
      jetconv.exe > convert a jet engine database 转换jet engine数据库
      jetpack.exe > compact jet database. 压缩jet数据库
      jview.exe > command-line loader for java java的命令行装载者
      krnl386.exe > core component for windows 2000 2000的核心组件
      label.exe > change label for drives 改变驱动器的卷标
      lcwiz.exe > license compliance wizard for local or remote systems. 许可证符合
      向导
      ldifde.exe > ldif cmd line manager ldif目录交换命令行管理
      licmgr.exe > terminal server license manager 终端服务许可协议管理
      lights.exe > display connection status lights 显示连接状况
      llsmgr.exe > windows 2000 license manager 2000许可协议管理
      llssrv.exe > start the license server 启动许可协议服务器
      lnkstub.exe >
      locator.exe > rpc locator 远程定位
      lodctr.exe > load perfmon counters 调用性能计数
      logoff.exe > log current user off. 注销用户
      lpq.exe > displays status of a remote lpd queue 显示远端的lpd打印队列的状态,
      显示被送到基于unix的服务器的打印任务
      lpr.exe > send a print job to a network printer. 重定向打印任务到网络中的打印
      机。通常用于unix客户打印机将打印任务发送给连接了打印设备的nt的打印机服务器。
      
      lsass.exe > lsa executable and server dll 运行lsa和server的dll
      lserver.exe > specifies the new dns domain for the default server 指定默认se
      rver新的dns域
      os2.exe > an os/2 warp server (os2 /o) os/2
      os2srv.exe > an os/2 warp server os/2
      os2ss.exe > an os/2 warp server os/2
      osk.exe > on screen keyboard 屏幕键盘
      packager.exe > windows 2000 packager manager 对象包装程序
      pathping.exe > combination of ping and tracert 包含ping和tracert的程序
      pax.exe > is a posix program and path names used as arguments must be specif
      ied in posix format. use "//c/users/default" instead of "c:usersdefault."
      启动便携式存档互换 (pax) 实用程序
      pentnt.exe > used to check the pentium for the floating point division error
      . 检查pentium的浮点错误
      perfmon.exe > starts windows performance monitor 性能监视器
      ping.exe > packet internet groper 验证与远程计算机的连接
      posix.exe > used for backward compatibility with unix 用于兼容unix
      print.exe > cmd line used to print files 打印文本文件或显示打印队列的内容。
      progman.exe > program manager 程序管理器
      proquota.exe > profile quota program
      psxss.exe > posix subsystem application posix子系统应用程序
      qappsrv.exe > displays the available application terminal servers on the net
      work
      在网络上显示终端服务器可用的程序
      qprocess.exe > display information about processes local or remote 在本地或远
      程显示进程的信息(需终端服务)
      query.exe > query termserver user process and sessions 查询进程和对话
      quser.exe > display information about a user logged on 显示用户登陆的信息(需
      终端服务)
      qwinsta.exe > display information about terminal sessions. 显示终端服务的信息
      
      rasadmin.exe > start the remote access admin service 启动远程访问服务
      rasautou.exe > creates a ras connection 建立一个ras连接
      rasdial.exe > dial a connection 拨号连接
      ras.exe > starts a ras connection 运行ras连接
      rcp.exe > copies a file from and to a rcp service. 在 windows 2000 计算机和运
      行远程外壳端口监控程序 rshd 的系统之间复制文件
      rdpclip.exe > rdpclip allows you to copy and paste files between a terminal
      session and client console session. 再终端和本地复制和粘贴文件
      recover.exe > recovers readable information from a bad or defective disk 从坏
      的或有缺陷的磁盘中恢复可读取的信息。
      redir.exe > starts the redirector service 运行重定向服务
      regedt32.exe > 32-bit register service 32位注册服务
      regini.exe > modify registry permissions from within a scrīpt 用脚本修改注册
      许可
      register.exe > register a program so it can have special execution character
      istics. 注册包含特殊运行字符的程序
      regsvc.exe >
      regsvr32.exe > registers and unregister"s dll"s. as to how and where it regi
      ster"s them i dont know. 注册和反注册dll
      regtrace.exe > options to tune debug options for applications failing to dum
      p trace statements
      trace 设置
      regwiz.exe > registration wizard 注册向导
      remrras.exe >
      replace.exe > replace files 用源目录中的同名文件替换目标目录中的文件。
      reset.exe > reset an active section 重置活动部分
      rexec.exe > runs commands on remote hosts running the rexec service. 在运行
      rexec 服务的远程计算机上运行命令。rexec 命令在执行指定命令前,验证远程计算机
      上的用户名,只有安装了 tcp/ip 协议后才可以使用该命令。
      risetup.exe > starts the remote installation service wizard. 运行远程安装向导
      服务
      route.exe > display or edit the current routing tables. 控制网络路由表
      routemon.exe > no longer supported 不再支持了!
      router.exe > router software that runs either on a dedicated dos or on an os
      /2 system. route软件在 dos或者是os/2系统
      rsh.exe > runs commands on remote hosts running the rsh service 在运行 rsh 服
      务的远程计算机上运行命令
      rsm.exe > mounts and configures remote system media 配置远程系统媒体
      rsnotify.exe > remote storage notification recall 远程存储通知回显
      rsvp.exe > resource reservation protocol 源预约协议
      runas.exe > run a program as another user 允许用户用其他权限运行指定的工具和
      程序
      rundll32.exe > launches a 32-bit dll program 启动32位dll程序
      runonce.exe > causes a program to run during startup 运行程序再开始菜单中
      rwinsta.exe > reset the session subsystem hardware and software to known ini
      tial values 重置会话子系统硬件和软件到最初的值
      savedump.exe > does not write to e:winntuser.dmp 不写入user.dmp中
      scardsvr.exe > smart card resource management server 子能卡资源管理服务器
      schupgr.exe > it will read the schema update files (.ldf files) and upgrade
      the schema. (part of adsi) 读取计划更新文件和更新计划
      secedit.exe > starts security editor help 自动安全性配置管理
      services.exe > controls all the services 控制所有服务
      sethc.exe > set high contrast - changes colours and display mode logoff to s
      et it back to normal 设置高对比
      setreg.exe > shows the software publishing state key values 显示软件发布的国
      家语言
      setup.exe > gui box prompts you to goto control panel to configure system co
      mponents 安装程序(转到控制面板)
      setver.exe > set version for files 设置 ms-dos 子系统向程序报告的 ms-dos 版本
      号
      sfc.exe > system file checker test and check system files for integrity 系统
      文件检查
      sfmprint.exe > print services for macintosh 打印macintosh服务
      sfmpsexe.exe >
      sfmsvc.exe >
      shadow.exe > monitor another terminal services session. 监控另外一台中端服务
      器会话
      share.exe > windows 2000 和 ms-dos 子系统不使用该命令。接受该命令只是为了与
      ms-dos 文件兼容
      shmgrate.exe >
      shrpubw.exe > create and share folders 建立和共享文件夹
      sigverif.exe > file signature verification 文件签名验证
      skeys.exe > serial keys utility 序列号制作工具
      smlogsvc.exe > performance logs and alerts 性能日志和警报
      smss.exe >
      sndrec32.exe > starts the windows sound recorder 录音机
      sndvol32.exe > display the current volume information 显示声音控制信息
      snmp.exe > simple network management protocol used for network mangement 简单
      网络管理协议
      snmptrap.exe > utility used with snmp snmp工具
      sol.exe > windows solitaire game 纸牌
      sort.exe > compares files and folders 读取输入、排序数据并将结果写到屏幕、文
      件和其他设备上
      SPOOLSV.EXE > Part of the spooler service for printing 打印池服务的一部分
      sprestrt.exe >
      srvmgr.exe > Starts the Windows Server Manager 服务器管理器
      stimon.exe > WDM StillImage- > Monitor
      stisvc.exe > WDM StillImage- > Service
      subst.exe > Associates a path with a drive letter 将路径与驱动器盘符关联
      svchost.exe > Svchost.exe is a generic host process name for services that a
      re run from dynamic-link libraries (DLLs). DLL得主进程
      syncapp.exe > Creates Windows Briefcase. 创建Windows文件包
      sysedit.exe > Opens Editor for 4 system files 系统配置编辑器
      syskey.exe > Encrypt and secure system database NT账号数据库按群工具
      sysocmgr.exe > Windows 2000 Setup 2000安装程序
      systray.exe > Starts the systray in the lower right corner. 在低权限运行syst
      ray
      macfile.exe > Used for managing MACFILES 管理MACFILES
      magnify.exe > Used to magnify the current screen 放大镜
      makecab.exe > MS Cabinet Maker 制作CAB文件
      mdm.exe > Machine Debug Manager 机器调试管理
      mem.exe > Display current Memory stats 显示内存状态
      migpwd.exe > Migrate passwords. 迁移密码
      mmc.exe > Microsoft Management Console 控制台
      mnmsrvc.exe > Netmeeting Remote Desktop Sharing NetMeeting远程桌面共享
      mobsync.exe > Manage Synchronization. 同步目录管理器
      mountvol.exe > Creates, deletes, or lists a volume mount point. 创建、删除或
      列出卷的装入点。
      mplay32.exe > MS Media Player 媒体播放器
      mpnotify.exe > Multiple Provider Notification application 多提供者通知应用程
      序
      mq1sync.exe >
      mqbkup.exe > MS Message Queue Backup and Restore Utility 信息队列备份和恢复工
      具
      mqexchng.exe > MSMQ Exchange Connector Setup 信息队列交换连接设置
      mqmig.exe > MSMQ Migration Utility 信息队列迁移工具
      mqsvc.exe > ?
      mrinfo.exe > Multicast routing using SNMP 使用SNMP多点传送路由
      mscdexnt.exe > Installs MSCD (MS CD Extensions) 安装MSCD
      msdtc.exe > Dynamic Transaction Controller Console 动态事务处理控制台
      msg.exe > Send a message to a user local or remote. 发送消息到本地或远程客户
      
      mshta.exe > HTML Application HOST HTML应用程序主机
      msiexec.exe > Starts Windows Installer Program 开始Windows安装程序
      mspaint.exe > Microsoft Paint 画板
      msswchx.exe >
      mstask.exe > Task Schedule Program 任务计划表程序
      mstinit.exe > Task scheduler setup 任务计划表安装
      narrator.exe > Program will allow you to have a narrator for reading. Micros
      oft讲述人
      nbtstat.exe > Displays protocol stats and current TCP/IP connections using N
      BT 使用 NBT(TCP/IP 上的 NetBIOS)显示协议统计和当前 TCP/IP 连接。
      nddeapir.exe > NDDE API Server side NDDE API服务器端
      net.exe > Net Utility 详细用法看/?
      net1.exe > Net Utility updated version from MS Net的升级版
      netdde.exe > Network DDE will install itself into the background 安装自己到后
      台
      netsh.exe > Creates a shell for network information 用于配置和监控 Windows 2
      000 命令行脚本接口。
      netstat.exe > Displays current connections. 显示协议统计和当前的 TCP/IP 网络
      连接。
      nlsfunc.exe > Loads country-specific information 加载特定国家(地区)的信息。
      Windows 2000 和 MS-DOS 子系统不使用该命令。接受该命令只是为了与 MS-DOS 文件兼
      容。
      notepad.exe > Opens Windows 2000 Notepad 记事本
      nslookup.exe > Displays information for DNS 该诊断工具显示来自域名系统 (DNS)
      名称服务器的信息。
      ntbackup.exe > Opens the NT Backup Utility 备份和故障修复工具
      ntbooks.exe > Starts Windows Help Utility 帮助
      ntdsutil.exe > Performs DB maintenance of the ADSI 完成ADSI的DB的维护
      ntfrs.exe > NT File Replication Service NT文件复制服务
      ntfrsupg.exe >
      ntkrnlpa.exe > Kernel patch 核心补丁
      ntoskrnl.exe > Core NT Kernel KT的核心
      ntsd.exe >
      ntvdm.exe > Simulates a 16-bit Windows environment 模拟16位Windows环境
      nw16.exe > Netware Redirector NetWare转向器
      nwscrīpt.exe > runs netware scrīpts 运行Netware脚本
      odbcad32.exe > ODBC 32-bit Administrator 32位ODBC管理
      odbcconf.exe > Configure ODBC driver"s and data source"s from command line 命
      令行配置ODBC驱动和数据源
      taskman.exe > Task Manager 任务管理器
      taskmgr.exe > Starts the Windows 2000 Task Manager 任务管理器
      tcmsetup.exe > telephony client wizard 电话服务客户安装
      tcpsvcs.exe > TCP Services TCP服务
      .exe > Telnet Utility used to connect to Telnet Server
      termsrv.exe > Terminal Server 终端服务
      tftp.exe > Trivial FTP 将文件传输到正在运行 TFTP 服务的远程计算机或从正在运行
      TFTP 服务的远程计算机传输文件
      tftpd.exe > Trivial FTP Daemon
      themes.exe > Change Windows Themes 桌面主题
      tlntadmn.exe > Telnet Server Administrator Telnet服务管理
      tlntsess.exe > Display the current Telnet Sessions 显示目前的Telnet会话
      tlntsvr.exe > Start the Telnet Server 开始Telnet服务
      tracert.exe > Trace a route to display paths 该诊断实用程序将包含不同生存时间
      (TTL) 值的 Internet 控制消息协议 (ICMP) 回显数据包发送到目标,以决定到达目标
      采用的路由
      tsadmin.exe > Terminal Server Administrator 终端服务管理器
      tscon.exe > Attaches a user session to a terminal session. 粘贴用户会话到终端
      对话
      tsdiscon.exe > Disconnect a user from a terminal session 断开终端服务的用户
      tskill.exe > Kill a Terminal server process 杀掉终端服务
      tsprof.exe > Used with Terminal Server to query results. 用终端服务得出查询结
      果
      tsshutdn.exe > Shutdown the system 关闭系统
      unlodctr.exe > Part of performance monitoring 性能监视器的一部分
      upg351db.exe > Upgrade a jet database 升级Jet数据库
      ups.exe > UPS service UPS服务
      user.exe > Core Windows Service Windows核心服务
      userinit.exe > Part of the winlogon process Winlogon进程的一部分
      usrmgr.exe > Start the windows user manager for domains 域用户管理器
      utilman.exe > This tool enables an administrator to designate which computers automatically open accessibility tools when Windows 2000 starts. 指定2000启动时自动打开那台机器
      verifier.exe > Driver Verifier Manager Driver Verifier Manager
      vwipxspx.exe > Loads IPX/SPX VDM 调用IPX/SPX VDM
      w32tm.exe > Windows Time Server 时间服务器
      wextract.exe > Used to extract windows files 解压缩Windows文件
      winchat.exe > Opens Windows Chat 打开Windows聊天
      winhlp32.exe > Starts the Windows Help System 运行帮助系统
      winlogon.exe > Used as part of the logon process. Logon进程的一部分
      winmine.exe > windows Game 挖地雷
      winmsd.exe > Windows Diagnostic utility 系统信息
      wins.exe > Wins Service Wins服务
      winspool.exe > Print Routing 打印路由
      winver.exe > Displays the current version of Windows 显示Windows版本
      wizmgr.exe > Starts Windows Administration Wizards Windows管理向导
      wjview.exe > Command line loader for Java 命令行调用Java
      wowdeb.exe > . For starters, the 32-bit APIs require that the WOWDEB.EXE tas
      k runs in the target debugee"s VM 启动时,32位API需要
      wowexec.exe > For running Windows over Windows Applications 在Windows应用程序
      上运行Windows
      wpnpinst.exe > ?
      write.exe > Starts MS Write Program 写字板
      wscrīpt.exe > Windows scrīpting Utility 脚本工具
      wupdmgr.exe > Starts the Windows update Wizard (Internet) 运行Windows升级向导
      xcopy.exe > 复制文件和目录,包括子目录
Open Toolbar