Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Session-2: Agenda
Introduction
Associating Add-ins
Recording Modes How to record Recorded script overview How to run the script Test Results Actions
Q & A
QTP- Introduction
Functionality Testing tool Product of Mercury Interactive Scripting language used vb script Platform dependent
QuickTest Window
Tool bar Active Screen Data sheet
Active ScreenProvides a snapshot of your application as it appeared when you performed a certain step during the recording session. Data TableAssists you in parameterizing your test. Debug Viewer paneAssists you in debugging your test. The Debug Viewer pane contains the Watch, Variables, and Command tabs.
Keyword View
Expert View
Recording Modes
10
How to Record
Choose Automation > Record or click the Record button Record and Run Settings dialog box opens. . The
11
How to Record-Contd.
Click OK. QTP begins recording and captures every action the user perform Click Stop on the Testing toolbar to stop the recording process.
12
13
14
15
Actions
Actions help divide your test into logical units, such as specific activities that you perform in your application.
A test comprises calls to actions. When you create a new test, it contains a call to a single action. By creating tests that call multiple actions, you can design tests that are more modular and efficient.
16