Professional Documents
Culture Documents
QTP Training
QTP Fundamentals, Features and VB Script by G C Reddy (91-9247837478)(gcreddy@gcreddy.com)
QTP TRAINING BY G C REDDY
QTP Guide
QTP Scripting
SQL
VB Script
QuickTest records the operations we perform, displays them as steps in the Keyword
View, and generates them in a script (in the Expert View).
2) How many Recording Modes available in QTP? What are they?
It Records exact mouse and keyboard operations, we can use this mode for
recording continues mouse operations like digital signatures, paints etc..
This mode doesn't generate statements for each and every operation, generates all
operations in a Track file.
By default this mode is disabled, after selecting Normal Recording mode only it
enables.
file:///G:/testing/qtp-iq-2.html 1/6
8/20/2017 QTP Training: QTP Interview Questions-II
Example:
GUI (Windows) Environment: Window, Dialog box, Edit Box, Button, Check Box,
Radio Button, List Box and Combo Box etc...
Web Environment: Browser, Page, Link, Image, edit Box, Button, Grid, Frame Etc..
1) Run-time Objects
2) Test Objects
3) Utility Objects
4) Automation / User Defined Objects
These are QTP reserved objects, used for Testing and Result reporting.
Example:
a) SystemUtil
b) Reporter
c) DataTable
d) Services
e) environment etc...
a) Local Repository
b) Shared Repository
11) What are the differences between Local and Shared Repositories?
Local Repository:
QTP Creates a Local Repository for every Action during Recording automatically and
also QTP maintenance Local Repositories, but user can edit these repositories.
file:///G:/testing/qtp-iq-2.html 2/6
8/20/2017 QTP Training: QTP Interview Questions-II
Shared Repository:
12) How to Start Test Automation Process, before the Application is ready?
QTP is providing a feature called "Define New Test Object" for creating new
objects without Application. This feature available in Local Repository and Object
Repository Manager.
We can Load Object Repositories during run-time using an Utility object called
"RepositoriesCollection"
Syntax:
RepositoriesCollection.Add "path of the Repository file"
Example:
RepositoriesCollection.Add "D:\gcreddy\Login.tsr"
3 comments:
Anonymous said...
It's really usefull information, One can easily feel what is Automation testing is all about
Jagadeesh said...
vamsi said...
Its really useful information for the QTP beginners Thanx u G.C
Post a Comment
file:///G:/testing/qtp-iq-2.html 3/6