Information Steps |
QTP – Add-in : Add-ins / Plug-ins are used to make recording more acceptable to a specific application. We use web plug-ins to automate test cases with respect to web applications. QTP has default plug-ins for ActiveX controls, web applications and VB objects. Plug-ins for other objects, such as Microsoft .NET objects, JAVA, SAP, Oracle applications are also available. Multimedia plug-ins and a plug-in for Windows Mobile are also available. In general, QTP plug-in is available to identify corresponding application and thus support that application recording and script design. |
QTP – Scripting Views : QTP has two views to design test scripts Keyword View Expert View |
Keyword View : Explains the AUT – Objects (with their Logical names) Explains the Operations performed on the AUT – Objects Explains the Values set for the AUT – Objects Describes the Documentation for each of the operations made Keyword view Keyword View lets users create and view the steps of a test in a modular, table format. Each row in the table represents a step that can be modified. The Keyword View can also contain any of the following columns: Item, Operation, Value, Assignment, Comment, and Documentation. For every step in the Keyword View, HP QuickTest Professional displays a corresponding line of script based on the row and column value. Users can add, delete or modify steps at any point. In Keyword View, users can also view properties for items such as checkpoints, output values, and actions, use conditional and loop statements, and insert breakpoints to assist in debugging a test. |
Expert View: Provides greater efficiency when working / coding test components. Coding based window Explains code based implementations on the AUT - Objects Easy to implement advanced programming Allows to create effective functions/actions/code modules Expert view In Expert View, HP QuickTest Professional lets users display and edit a test's source code using VBScript. Designed for more advanced users, users can edit all test actions except for the root Global action, and changes are synchronized with the Keyword View. VBScript code can be designed directly in Expert View. |
Active Screen : Provides Snapshots of AUT It captures and stores layers/active screens while recording Enables to parameterize object values Insert checkpoints, methods, and output values for any object in the page, even if your application is not available |
Record and Playback : Initial development of automated tests with QTP is usually done by record-and-playback. User actions are captured via QTP’s Record and Playbackmechanism. User actions/ tests are recorded into Actions, a kind of subroutine, as VBScript commands. All manipulated objects that QTP recognizes are also added to the QTP’s Object Repository. There are three recording modes available in QTP: · Normal Recording · Analog Recording · Low Level Recording |
Object Repository: OR – Object Repository O Object Repository is the storage place where QTP identifies, captures and stores the AUT – Objects in the form of objects logical names and physical descriptions. O Objects are identified and stored by QTP in OR with respect to their properties (like..name, class, type…) O QTP helps testers (users) to make use of these objects / Test Object properties to identify objects on AUT during runtime to identify and to work with them using METHODS (like..Activate, Click, Set, Type…) O Note: Object à Object is the one exists Once recorded, the scripts are editable in either Keyword View or Expert View. After clicking on the playback button all these actions will be played back on the application; During playback, QTP attempts to identify and perform operations on the same objects, again using stored objects information from its Object Repository. |
No screenshots were saved for this Information step. |
Information Step 8: |
No screenshots were saved for this Information step. |
Information Step 9: |
No screenshots were saved for this Information step. |
-->
0 comments:
Post a Comment