天天看点

Learn QTP

KnowLedge:

1 Context sensitive record/replay

2 Low leve Record/replay

3 synchronization

4 static checkpoints

5 parameterization/output Values

6 Actions/Datatables

7 object repository

8 quickTest Recording configuration

9 Exception handing/error handing

10 Add-Ins/standard environments

Example:

1 QTP=vbscript+QTP_Language

  LR=c+LR_Language

  WR=TSL+WR_Language

2 QTP:function of every-project-files

  .xls--including:datatable 's data

3 Execute Some functions order:

  configure key-words view

4 QTP-TOOLs(Start-program-QTP):

  Password-EnCode-Tool/Values Encrypt

  set/setsecure

  Crypt.Encrypt("")

5 Parameterized/Data-Driver

  input Values/Object properties

  parameter("dd")/object("index:="&i")/Environment("OS")

6 every kind of timeout

7 Two-Run Mode/Three Record Mode

8 launch QTP and Test-Applation Order

9 base arithmatic and construction

10 Description/ChildObjects

11 Record-set//on these application or any based window-application

12 add-in manage

13 Connection to Quality Center//and save test

14 Reporter Methord

   reporter.reportEvent

15  Edit Recording object Event

     eg:image---ondblclick,fireEvent"ondblclick"

16  Kinds of Record

17  WScript.Shell

     eg.SendKeys

继续阅读