software testing genius

Rehearsal of QTP in 1 Hr-Interview Questions 21-30

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

Rehearsal of QTP in 1 Hr: Interview Questions 21 30

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. 21: What is keyword view and Expert view in QTP?

By QTPs Keyword Driven approach, the test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is

round-trip synchronized with the Keyword View.

Advanced testers can view and edit their tests in the Expert View, which reveals the underlying industry-standard VBScript that QTP automatically generates.

Any changes made in the Expert View are automatically synchronized with the Keyword View.

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

Q. 22: How QTP recognizes Objects in AUT?

QTP stores the definitions for application objects in a file called the Object Repository.

As you record your test, QTP will add an entry for each item you interact with.

Each Object Repository entry will be identified by a logical name (determined automatically by QTP), and will contain a set of properties (type, name, etc) that uniquely identify each object.

Each line in the QTP script will contain a reference to the object that you interacted with, a call to the appropriate method (set, click, check) and any parameters for that method (such as the value for a call to the set method).

The references to objects in the script will all be identified by the logical name, rather than any physical, descriptive properties.

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

Q. 23: What are the types of Object Repositories in QTP?

QTP has two types of object repositories for storing object information:

1) Shared object repositories and

2) Action object repositories.

You can choose which type of object repository you want to use as the default type for new tests, and you can change the default as necessary for each new test.

The object repository per-action mode is the default setting. In this mode, QTP automatically creates an object repository file for each action in your test so that you can create and run tests without creating, choosing, or modifying object repository files.

However, if you modify values in an action object repository, your changes do not have any effect on other actions. Hence, if the same test object exists in more than one action and if you modify an object's property values in one action, you may need to make the same change in every action (and any test) containing the object.

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

Q. 24: If I give some thousand tests to execute in 2 days what do you do?

Adhoc testing is done. It covers the least basic functionality to verify that the system is working fine.

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

Q. 25: How to "Turn Off" QTP results after running a Script?

Goto "Tools > Options > Run Tab" and Deselect "View results when run session ends". But this suppresses only the result window, but a log will be created and can be viewed manually which cannot be restricted from getting created.

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

Q. 26: Explain the Test Fusion Report of QTP?

Once a tester has run a test, a TestFusion report displays all aspects of the test run. This is a high-level results overview, an expandable Tree View of the test specifying the following:

# Exactly where application failures occurred,

# Test data used
# Application screen shots for every step that highlight any discrepancies
# Detailed explanations of each checkpoint pass and failure.

By combining TestFusion reports with QTP, you can share reports across an entire QA and development team.

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

Q. 27: QTP supports which environments?

QTP supports functional testing of all enterprise environments, including Windows, Web, ..NET, Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe terminal emulators, and Web services.

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

Q. 28: What are the elements of QTP Window?

Before beginning creation of the tests,, it is essential to familiarize with the main QTP window.

The QTP window contains the following key elements:

1) Title bar: Displays the name of the currently open test.

2) Menu bar: Displays menus of QTP commands.

3) File toolbar: Contains buttons to assist you in managing your test.

4) Testing toolbar: Contains buttons to assist you in the testing process.

5) Debug toolbar: Contains buttons to assist you in debugging tests.

6) Test pane: Contains the Keyword View and Expert View tabs.

7) Active Screen: Provides a snapshot of your application as it appeared when you performed a certain step during the recording session.

8) Data Table: Assists you in parameterizing your test.

9) Debug Viewer pane: Assists you in debugging your test.

The Debug Viewer pane contains the Watch Expressions, Variables, and Command tabs.

(The Debug Viewer pane is not displayed when you open QTP for the first time.

You can display the Debug Viewer by choosing View < Debug Viewer.)

10) Status bar: Displays the status of the QTP application.

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

Q. 29: How does QTP identifies the object in the application?

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

For example: The Edit box is identified by


Class: WebEdit

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

Q. 30: If an application name is changes frequently i.e. while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?

QTP handles those situations using "Regular Expressions.

Continue to Next Set of QTP Rehearsal Questions 31 - 40

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