software testing genius

Rehearsal of QTP in 1 Hr-Interview Questions 111-120

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

Rehearsal of QTP in 1 Hr: Interview Questions 111 120

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. 111: How many Add-ins comes by default with QTP?

There are 3 Add-ins comes with QTP:

1) ActiveX

2) Visual Basic

3) Web


=================== >>>>>>

Q. 112: What are the different views available in QTP?

1) Keyword View

2) Expert View

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

Q. 113: What is Active Screen?

The Active Screen provides a snapshot of your application, as it appeared when you performed a certain step during a recording session.

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

Q. 114: What are the key elements of a QTP window?

The QTP window contains the following key elements:

1) QTP title bar: Displays the name of the currently open test or component.

2) Menu bar: Displays menus of QTP commands.

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

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

5) Debug toolbar: Contains buttons to assist you in debugging your test or component (not displayed by default).

6) Action toolbar: Contains buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow.

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

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

9) Data Table: Assists you in parameterizing your test or component. For a test, the Data Table contains the Global tab and a tab for each action. For a component, the Data Table contains single tab.

10) Debug Viewer pane: Assists you in debugging your test or component. The Debug Viewer pane contains the Watch Expressions, Variables, and Command tabs (not displayed by default).

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

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

Q. 115: How many tabs are available in Debug Viewer Pane?

The Debug Viewer pane contains three tabs to assist us in debugging our test or component like:

1) Watch Expressions: The Watch Expressions tab enables you to view the current value of any variable or other VBScript expression.

2) Variables: The Variables tab enables you to view the current value of all variables that have been recognized up to the last step performed in the run session.

3) Command: The Command tab enables you to execute a line of script in order to set or modify the current value of a variable or VBScript object in your test or component. When you continue the run session, QTP uses the new value that was set in the command.

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

Q. 116: How many toolbars QTP has?

QTP has Four built-in toolbars:

1) The File toolbar

2) The Testing toolbar

3) The Debug toolbar

4) Action toolbar

The Action toolbar is available in the Keyword View and contains options that enable you to view all actions in the test flow or to view the details of a selected action.

The Action toolbar is not available for components.

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

Q. 117: Explain the terms Password Encoder, Remote Agent, Test Batch Runner, Test Results Deletion tool?

Password Encoder: Enables you to encode passwords. You can use the resulting strings as method arguments or Data Table parameter values.

Remote Agent:: Determines how QTP behaves when a test or component is run by a remote application such as Quality Center.

Test Batch Runner: Enables you to set up QTP to run several tests in succession.

Test Results Deletion Tool: Enables you to delete unwanted or obsolete results from your system according to specific criteria that you define.

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

Q. 118: Explain the terms Test Object Model, Test Object and Run-Time object?

The test object model is a large set of object types or classes that QTP uses to represent the objects in your application.

Each test object class has a list of properties that can uniquely identify objects of that class and a set of relevant methods that QTP can record for it.

A test object is an object that QTP creates in the test or component to represent the actual object in your application.

QTP stores information about the object that will help it identify and check the object during the run session.

A run-time object is the actual object in your Web site or application on which methods are performed during the run session.

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

Q. 119: What are assistive properties or an ordinal identifier?

When mandatory property values are not sufficient to uniquely identify the object within its parent object, QTP adds some assistive properties and/or an ordinal identifier to create a unique description.

You can retrieve or modify property values of the test object during the run session by adding GetTOProperty and SetTOProperty statements in the Keyword View or Expert View.

You can retrieve property values of the runtime object during the run session by adding GetROProperty statements.

If the available test object methods or properties for an object do not provide the functionality you need, you can access the internal methods and properties of any run-time object using the Object property.

You can also use the attribute object property to identify Web objects in your application according to user-defined properties.

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

Q. 120: What is object Repository? Explain different types of Object Repositories?

QTP identifies objects in your application based on a set of test object properties. It stores the object data it learns in the object repository.

You can save your objects either in a shared object repository or in action object repository. In shared object repository mode, you can use one object repository file for multiple tests or components.

In object repository peraction mode, QTP automatically creates an object repository file for each action in your test.

Object repository per-action mode is not available for components.

Continue to Next Set of QTP Rehearsal Questions 121 - 130

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