software testing genius

Rehearsal of QTP in 1 Hr-Interview Questions 121-130

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

Rehearsal of QTP in 1 Hr: Interview Questions 121 – 130

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. 121: How you can enhance your test?

There is variety of options to enhance our test:

1) You can add checkpoints to your test. A checkpoint is a step in your test that compares the values of the specified property during a test run with the values stored for the same test object property

within the test. This enables you to identify whether or not your Web site or application is functioning correctly.

2) You can parameterize your test to replace fixed values with values from an external source during your test run. The values can come from a Data Table, environment variables you define, or values that QTP generates during the test run.

3) You can retrieve values from your test and store them in the Data Table as output values. You can subsequently use these values as an input parameter in your test. This enables you to use data retrieved during a test in other parts of the test.

4) You can divide your test into actions to streamline the testing process of your Web site or application.

5) You can use special QTP options to enhance your test with programming statements. The Step Generator guides you step-by-step through the process of adding recordable and non-recordable methods to your test. You can also synchronize your test to ensure that your application is ready for QTP to perform the next step in your test, and you can measure the amount of time it takes for your application to perform steps in a test by defining and measuring transactions.

6) You can also manually enter standard VBScript statements, as well as statements using QTP test objects and methods, in the Expert View.

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

Q. 122: Explain different recording modes in QTP?

QTP’s normal recording mode records the objects in your application and the operations performed on them. This mode is the default and takes full advantage of QTP’s test object model, recognizing the objects in your application regardless of their location on the screen.

Analog Recording - enables you to record the exact mouse and keyboard operations you perform in relation to either the screen or the application window. In this recording mode, QTP records and tracks every movement of the mouse as you drag the mouse around a screen or window.

This mode is useful for recording operations that cannot be recorded at the level of an object, for example, recording a signature produced by dragging the mouse. You cannot edit analog recording steps from within QTP.

Low Level Recording - enables you to record on any object in your application, whether or not QTP recognizes the specific object or the specific operation.

This mode records at the object level and records all run-time objects as Window or WinObject test objects. Use low-level recording for recording tests in an environment or on an object not recognized by QTP.

You can also use low-level recording if the exact coordinates of the object are important for your test. Note: Steps recorded using low-level mode may not run correctly on all objects.

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

Q. 123: How do you display the DataTable or Active screen if they are not shown by default?

In Menu choose View → Active Screen or View → Data Table.

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

Q. 124: What is a parameter?

A parameter is a variable that is assigned a value from an external data source or generator.

If you wish to parameterize the same value in several steps in your test or component, you may want to consider using the Data Driver rather than adding parameters manually.

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

Q. 125: How many types of parameters are there?

There are four types of parameters:

1. Test, action or component parameters: Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test.

2. Data Table parameters: Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, QTP uses a different value from the Data Table.

3. Environment variable parameters: Environment variable parameters enable you to use variable values from other sources during the run session. These may be values you supply, or values that QTP generates for you based on conditions and options you choose.

4. Random number parameters: Random number parameters enable you to insert random numbers as values in your test or component.

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

Q. 126: What are the QTP workflow Phases?

Create, Display, Verify and Enhance, Integrate.

Alternatively it can be said that:

Create test suite, Create an engine, Automate test cases, Debug the script, Deploy the script to QA team.

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

Q. 127: What are the conditional statements provided in QTP?




Do….. While,

If… Else…. End If,

Select…. Case.

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

Q. 128: What is the first step to change the logical name of the object recorded by QTP?

Answer - 1: Identify the instances of the object in the script. {S1, S2…S10 - OR}

Answer - 2: Identify the instances of the object in the Object Repository{S_1, S_2…S_10}.

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

Q. 129: What is the use of Information pane and Missing Resource pane?

The Information pane provides a list of syntax errors in your test or function library scripts.

The Missing Resources pane provides a list of the resources that are specified in your test but cannot be found, such as missing calls to actions, unmapped shared object repositories, and parameters that are connected to shared object repositories.

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

Q. 130: What is the file extension of the code file & object repository file in QTP?

1) For code file the extension is .vbs
2) For object repository file the extension is .tsr
3) File extension for per action is (.mtr)

Continue to Next Set of QTP Rehearsal Questions 131 - 140

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