software testing genius

Rehearsal of QTP in 1 Hr-Interview Questions 61-70

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

Rehearsal of QTP in 1 Hr: Interview Questions 61 – 70

While appearing in an interview for a position on HP QuickTest Professional, do a quick rehearsal of your knowledge on this tool.

Here is a collection of 180 short questions, QTP Managers commonly use while interviewing new aspirants for their organization.

The entire rehearsal of these questions can take less than an hour.

Set of Ten Questions

Q. 61: How do you create new test sets in Test Director?

Login to Test Director.

Click on "Test Lab" tab.

Select the Desired folder under which we need to Create the Test Set. (Test Sets can be grouped as per module.)


on "New Test Set or Ctrl+N" Icon to create a Test Set.

<<<<<< =================== >>>>>>

Q. 62: Explain the concept of object repository and how QTP recognizes objects?

Object Repository: displays a tree of all objects in the current component or in the current action or entire test (depending on the object repository mode you selected).

We can view or modify the test object description of any test object in the repository or to add new objects to the repository.

QTP learns the default property values and determines in which test object class it fits. If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description.

If no assistive properties are available, then it adds a special Ordianl identifier such as objects location on the page or in the source code.

<<<<<< =================== >>>>>>

Q. 63: What are the properties you would use for identifying a browser and page when using Descriptive Programming?

"name" would be another property apart from "title" that we can use.


We can also use the property "micClass".

For example: Browser("micClass:=browser").page("micClass:=page")....

<<<<<< =================== >>>>>>

Q. 64: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

You can still make the notepad open without using the record or System utility script, just by mentioning the path of the notepad " (i.e., where the notepad.exe is stored in the system) in the "Windows Applications Tab" of the "Record and Run Settings window.

<<<<<< =================== >>>>>>

Q. 65: If an application name is changed frequently i.e. while recording it has name, in this case how does QTP handle it?

QTP handles those situations using ?Regular Expressions?. ...

<<<<<< =================== >>>>>>

Q. 66: How does QTP identify the objects in the application?

QTP identifies the object in the application by LogicalName and Class.

For example: The Edit box is identified by Logical Name: PSOPTIONS_BSE_TIME20 Class: WebEdit ...

<<<<<< =================== >>>>>>

Q. 67: IF we use batch testing, the result shown for last action only. Then how can I get result for every action.

You can click on the icon in the tree view to view the result of every action

<<<<<< =================== >>>>>>

Q. 68: How do we draw a brief comparison of WinRunner & QTP?

Although it is quite difficult to remember so much of the tabulated data as given below, however you can just glance through the contents & present the maximum out of it as per the memory in the event such a question is asked.

Environment Coverage Comparison:

Common environments shared by both WinRunner and QTP:

Web-Related Environments

IE, Netscape, AOL


JDK, Java Foundation Classes, AWT


Symantec Visual Café


ActiveX Controls


Oracle: Jinitiator, 11i, NCA

Custom Client Server





Visual Basic

Operating Systems

Windows 98, 2000, NT, ME, XP


3270, 5250 Emulators



Environments WinRunner Only:

Custom Client/Server















PeopleSoft Windows


Siebel 5, 6 GUI Clients


Oracle GUI Forms

Environments QTP Only:




Siebel 7.x


PeopleSoft 8.x






.Net controls

Web Services





J2EE, .Net





Feature Comparison:

Common features found in both WinRunner and QTP:


ODBC & Excel Connectivity

Code Editor & Debugger

Recovery Manager

Shared Object Repository

Rapid Object Import

Numerous Checkpoints


Script & Function Libraries


Environments for WinRunner Only:

Function Generator

Database Integration

Run Wizard




Environments for QTP Only:



Tree View


Data Table


Function Generator

Run Wizard

<<<<<< =================== >>>>>>

Q. 69: How to Import data from a ".xls" file to Data table during Runtime.

Datatable.Import "...XLS file name..."

DataTable.ImportSheet(FileName, SheetSource, SheetDest)

DataTable.ImportSheet "C:name.xls" ,1 ,"name"

<<<<<< =================== >>>>>>

Q. 70: How to export data present in Datatable to an ".xls" file?

DataTable.Export "....xls file name..."

Continue to Next Set of QTP Rehearsal Questions 71 - 80

Study Material - HP QTP & QC Certification Exam

Study Material - HP LoadRunner Certification Exam

Study Material - IBM RFT Certification Exam

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Full Study Material for Popular Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Study Material - ISTQB Certification Exam

Consolidated Study Material - Testing & QA

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

General HR Interview Questions Common For All 

Tricky HR Interview Questions Common For All

Rehearsal of LoadRunner in 1 Hr. -  Interview Questions


Comments :


Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri