software testing genius

HP QTP Question Bank-Q 81 to 90

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

HP QTP Question Bank: Q. 81 to 90

Q. 81: What is the use of Keyword View in QTP?

The Keyword View enables us to create and view the steps of our test in a modular, table format.

Each step is a row in the Keyword View that is comprised of individual, modifiable parts. We create and modify steps by selecting items and operations in the Keyword View and entering information as required. Each step is automatically documented as we complete it, enabling us to view a description of our test in understandable sentences.

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

Q. 82: What are Conditional and Loop Statements used in the Keyword View in QTP?

Using conditional statements, we can incorporate decision making

into the tests. Using loop statements, we can run a group of steps repeatedly, either while or until a condition is true. We can also use loop statements to repeat a group of steps a specific number of times. A few conditional & Loop statements are given below:

1) If...Then statement

2) ElseIf...Then statement

3) Else statement

4) While...Wend statement

5) For...Next statement

6) Do...While statement

7) Do...Until statement

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

Q. 83: What is the use of a Comment in the Comment cell of a step in QTP?

A Comment is free text entry which can help improve readability and make a test easier to update. For example, we may want to add a comment step at the beginning of each action to specify what that section includes.

QTP does not process comments when it runs a test.

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

Q. 84: What are Nesting Actions & what is the use of them?

Sometimes we may want to call an action from within an action. This is called nesting. By nesting actions, you can:

1) Maintain the modularity of your test.

2) Run one or more actions based on the results of a conditional statement.

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

Q. 85: Splitting Actions option is not available under what circumstances in QTP?

You cannot split an action, and the option is disabled when:

1) An external action is selected

2) The first step of an action is selected

3) We are working with a read-only test

4) Recording a test

5) Running a test

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

Q. 86: What is the use of Action Parameters in QTP?

Action parameters enable us to transfer input values from our test to a top-level action, from a parent action to a nested action, or from an action to a sibling action that occurs later in the test.

We can use action parameters in any step in our action including function calls.

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

Q. 87: What are the various types of Exit Action Statements in QTP?

There are four types of exit action statements we can use:

1) ExitAction: Exits the current action, regardless of its iteration attributes.

2) ExitActionIteration: Exits the current iteration of the action.

3) ExitRun: Exits the test, regardless of its iteration attributes.

4) ExitGlobalIteration: Exits the current global iteration.

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

Q. 88: What is the use of Checkpoints in QTP?

A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property. This enables us to identify whether our application is functioning correctly.

When we run the test, QTP compares the expected results of the checkpoint to the current results. If the results do not match, the checkpoint fails. We can view the results of the checkpoint in the Test Results window.

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

Q. 89: What are the situations best suited for using an existing Checkpoint?

1) If each page of our application contains our organizationís logo, we can reuse a bitmap checkpoint to verify each occurrence in the application.

2) If our application contains multiple edit boxes, we can reuse a checkpoint to confirm the enabled status of these edit boxes throughout our test.

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

Q. 90: What is the reason that "Add Existing Checkpoint" dialog box is not visible?

"Add Existing Checkpoint" dialog box option is available only if at least one of the object repositories associated with the current action (including the local object repository) contains at least one checkpoint.

Continue to Next Part : Q 91 to 100 

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.

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

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 QTP 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