Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

101.

How You Can Decide Which Type Of Object Repository You Have To Use?

Answer»

DEPENDING on the usage of OBJECTS we DECIDE which repository to USE.

Depending on the usage of Objects we decide which repository to use.

102.

What Are The Ordinal Identifiers In Web Page?

Answer»

The different ORDINAL IDENTIFIERS in web pages are:
i) Index
ii) Location
III) Creation Time

The different ordinal identifiers in web pages are:
i) Index
ii) Location
iii) Creation Time

103.

What Is Smart Identification?

Answer»

SMART IDENTIFICATION is a MECHANISM that helps QUICK Test to identify an object, even when the recorded description fails due to changes in one or more property values.

Smart Identification is a mechanism that helps Quick Test to identify an object, even when the recorded description fails due to changes in one or more property values.

104.

What Is Object Identification?

Answer»

USED by Quick TEST to identify the objects with UNIQUE DESCRIPTION to each of the Object.

Used by Quick Test to identify the objects with unique description to each of the Object.

105.

Where You Get The Run Time Data Table?

Answer»

In RESULTS WINDOW.

In Results window.

106.

What Are The Types Of Data Tables In Qtp?

Answer»

Three TYPES of DATA tables are:
i) Global
ii) ACTION
III) Run-Time

Three types of data tables are:
i) Global
ii) Action
iii) Run-Time

107.

How Do You Delete Unwanted Results In Qtp?

Answer»

The NAVIGATION to delete unwanted RESULTS from QTP is:
START->Programs->QTP->Tools->Test Results DELETION TOOL

The navigation to delete unwanted results from QTP is:
Start->Programs->QTP->Tools->Test Results Deletion Tool

108.

Have You Done Batch Testing In Qtp? If Yes How You Are Doing?

Answer»

Yes. We can do Batch testing by selecting the tests to be INCLUDED in batch and running them. To add tests to batch the navigation is:
Start -> Programs ->QTP ->Tools->Test Batch Runner -> Add

Yes. We can do Batch testing by selecting the tests to be included in batch and running them. To add tests to batch the navigation is:
Start -> Programs ->QTP ->Tools->Test Batch Runner -> Add

109.

What Is Optional Step?

Answer»

Your SCRIPT will be SKIPPED to the NEXT step if any ERROR occurs in the step. That step is called Optional step.

Your Script will be skipped to the next step if any error occurs in the step. That step is called Optional step.

110.

How Can I Change Object Description Or Check Point Values In Qtp?

Answer»

USING OBJECT REPOSITORY.

Using Object Repository.

111.

How Can You Give Wait Up To 10 Seconds In Qtp?

Answer»

WAIT (10)

Wait (10)

112.

Where We Can Use The Synchronization?

Answer»

i) When waiting for the message box to be OPENED
II) When waiting for the Web Page to be DOWNLOADED

i) When waiting for the message box to be opened
ii) When waiting for the Web Page to be downloaded

113.

What Is Synchronization? What Are The Ways You Can Synchronize?

Answer»

It is used to ELIMINATE the anticipated TIMING problems between the Quick test Script and the APPLICATION. Different ways of synchronizations are:
i) WAIT
ii) Sync
iii) Exist
iv) WaitProperty
v) SYNCHRONIZATION timeout

It is used to eliminate the anticipated timing problems between the Quick test Script and the Application. Different ways of synchronizations are:
i) Wait
ii) Sync
iii) Exist
iv) WaitProperty
v) Synchronization timeout

114.

How Many Types Of Status Are There?

Answer»

There are 4 types of Status in QTP. They are
i) Passed
ii) Failed
III) WARNING
iv) DONE

There are 4 types of Status in QTP. They are
i) Passed
ii) Failed
iii) Warning
iv) Done

115.

How Can Get Count Of List Box?

Answer»

By USING getItemscount METHOD

By using getItemscount method

116.

How Can You Send User Defined Messages To Test Report?

Answer»

In Keyword view, keep your CURSOR at a step and CLICK on
INSERT -> Step -> Report
Select the status from the list box, name the message and give the message to be displayed in the DETAILS box.

In Keyword view, keep your cursor at a step and click on
Insert -> Step -> Report
Select the status from the list box, name the message and give the message to be displayed in the details box.

117.

How Many Types Of Trigger Events Are There In Qtp?

Answer»

The different types of TRIGGER Events in QTP are:
i) Pop-Up window
ii) Object State
III) TEST RUN Error
iv) Application Crash

The different types of Trigger Events in QTP are:
i) Pop-Up window
ii) Object State
iii) Test Run Error
iv) Application Crash

118.

What Are The Trigger Events In Qtp?

Answer»

TRIGGER EVENTS are events that INTERRUPT you in your RUN SESSION.

Trigger Events are events that interrupt you in your run session.

119.

What Is Recovery Scenario Manager? When You Go For Recovery Scenario Manager? Tell Me One Scenario Were Your Used Recovery Scenario In Your Project?

Answer»

Recovery Scenario Manager will INSTRUCT Quick Test how to handle unexpected EVENTS in the run session. If you EXECUTE your test SCRIPTS unattended then we will GO for Recovery Scenario manager.

Recovery Scenario Manager will instruct Quick Test how to handle unexpected Events in the run session. If you execute your test scripts unattended then we will go for Recovery Scenario manager.

120.

How Can You Exit From An Action?

Answer»

You can exit an ACTION before it runs in its entirety. There are 4 types of Exit action Statements you can use. They are:
i) Exit Action: Exits the current action, regardless of its iteration ATTRIBUTES.
ii) Exit Action Iteration: Exits the current iteration of the action.
iii) Exit Run: Exits the test, regardless of its iteration attributes.
iv) Exit Global Iteration: Exits the current Global Iteration.
You can VIEW the Exit action NODE in the Test Results TREE.

You can exit an action before it runs in its entirety. There are 4 types of Exit action Statements you can use. They are:
i) Exit Action: Exits the current action, regardless of its iteration attributes.
ii) Exit Action Iteration: Exits the current iteration of the action.
iii) Exit Run: Exits the test, regardless of its iteration attributes.
iv) Exit Global Iteration: Exits the current Global Iteration.
You can view the Exit action node in the Test Results tree.

121.

How Can You Pass Value One Action To Another Action?

Answer»

You can pass the values of one action to another action by mentioning the INPUT and OUTPUT values of those particular actions in Input Action parameters and Output action parameters of those actions. NAVIGATION to specify parameters in QTP is
Test -> Settings -> Parameters TAB

You can pass the values of one action to another action by mentioning the input and Output values of those particular actions in Input Action parameters and Output action parameters of those actions. Navigation to specify parameters in QTP is
Test -> Settings -> Parameters Tab

122.

Suppose You Are Using Shared Objects Repository In Your Test And You Want To Split Your Present Action? At That Time Shared Object Repository Is Single Or It's Also Splits?

Answer»

You will have only ONE SHARED OBJECT Repository for all the actions. Your shared repository will never SPLIT into two. It will remain SINGLE.

You will have only one Shared Object Repository for all the actions. Your shared repository will never split into two. It will remain single.

123.

I Created 3 Actions In Test Suppose I Want To Run Action 1 In Single Time, Action 2 Is 4 Time What I Do?

Answer»

“RunAction” is the KEYWORD used to run an ACTION. Syntax to run an action for Particular number of times is
RunAction, Action NAME, iterationQuantity

Example:
RunAction “action 1”, oneIteration
RunAction “action 2”, 1, “1-4”

“RunAction” is the keyword used to run an action. Syntax to run an action for Particular number of times is
RunAction, Action Name, iterationQuantity

Example:
RunAction “action 1”, oneIteration
RunAction “action 2”, 1, “1-4”

124.

How You Calling Actions In Qtp?

Answer»

you can call actions in QTP in 2 ways. They are
i) Call to Copy of an action
II) Call to EXTERNAL action

you can call actions in QTP in 2 ways. They are
i) Call to Copy of an action
ii) Call to External action

125.

Is It Possible To Split An Action? How?

Answer»

YES, you can SPLIT an ACTION. But if your action is either external or READ only, then you can’t split your action. Or if your cursor is at the first line of your action’s script then ALSO you can’t split your action.

Yes, you can split an Action. But if your action is either external or Read only, then you can’t split your action. Or if your cursor is at the first line of your action’s script then Also you can’t split your action.

126.

How You Create New Action In Qtp?

Answer»

Open QTP startup window, CLICK on “Insert” in the menu bar, select “Call to new ACTION”. It will CREATE a new Action.

Open QTP startup window, click on “Insert” in the menu bar, select “Call to new Action”. It will create a new Action.

127.

If Created One Virtual Object? Next Time I Changed The Window Position Will It Work?

Answer»

No, It will not work. The application or WINDOW should be in the same position as it was at the CREATION time of VIRTUAL OBJECT.

No, It will not work. The application or window should be in the same position as it was at the creation time of virtual object.

128.

Is Virtual Object Supported In Low Level Recording Mode?

Answer»

Virtual Object will be supported only in NORMAL RECORDING. Both Analog and LOW LEVEL Recording will not support Virtual Objects.

Virtual Object will be supported only in Normal Recording. Both Analog and Low Level Recording will not support Virtual Objects.

129.

Suppose I Created One Object As Virtual Object? That Object Is Applicable To That Test? Or All The Tests?

Answer»

No, the VIRTUAL OBJECT you CREATED will be APPLICABLE only to that TEST.

No, the virtual Object you created will be applicable only to that test.

130.

I Have Created 3 Actions In Test Action1, Action2, Action3 But I Want Run Action 1,action 3,action2 How Can You Change In The Actions In Keyword View?

Answer»

Go to KEYWORD VIEW, Select the Action (keep your mouse button PRESSED) and DROP it in the order you want. That will do it.

Go to Keyword view, Select the Action (keep your mouse button pressed) and Drop it in the order you want. That will do it.

131.

How To Check Bitmap Output Value?

Answer»

There is no OUTPUT VALUE for BITMAP.

There is no output value for Bitmap.

132.

What Is Accessibility Check Point?

Answer»

Accessibility Checkpoints are designed to help you EASILY locate the AREAS of your Web SITE that require special attention according to W3C Web Content Accessibility Guidelines.

Accessibility Checkpoints are designed to help you easily locate the areas of your Web Site that require special attention according to W3C Web Content Accessibility Guidelines.

133.

What Is Output Value? How Many Types Of Output Values Are There In Qtp?

Answer»

Retrieving values from the Application to the Data Table. An Output value is a step in which one or more values are CAPTURED during the run session for use to another POINT in the run. When any of the values is NEEDED LATER in the run as input, Quick TEST retrieves it from the specified output location.

Retrieving values from the Application to the Data Table. An Output value is a step in which one or more values are captured during the run session for use to another point in the run. When any of the values is needed later in the run as input, Quick test retrieves it from the specified output location.

134.

Do You Know How To Connect Database? Can You Tell Me The Procedures?

Answer»

Step 1: you NEED to create a CONNECTION String Object
Step 2: you need to create a Record Set to hold the values from table
Step 3: EXECUTE the Query
Step 4: ASSIGN the values to the Record Set
Step 5: Close the Connection String

Step 1: you need to create a Connection String Object
Step 2: you need to create a Record Set to hold the values from table
Step 3: Execute the Query
Step 4: Assign the values to the Record Set
Step 5: Close the Connection String

135.

In Qtp Is It Possible To Check Broken Links Of A Page?

Answer»

YES. You can check the broken LINKS through WEB Testing. The navigation to check the broken links is
TOOLS->options->Web->Check Broken Links checkbox

Yes. You can check the broken links through Web Testing. The navigation to check the broken links is
Tools->options->Web->Check Broken Links checkbox

136.

Is Text Area Check Point Supports For Web Applications?

Answer»

No

No

137.

Suppose I Want Fail That Check Point? How Can You Do That?

Answer»

After recording PARTICULAR OBJECT, just change the value and play it BACK. The Checkpoint will be failed.

After recording particular object, just change the value and play it back. The Checkpoint will be failed.

138.

What Is Text Check Point And Text Area Check Point?

Answer»
  • Text: With Text checkpoint you can check only a SINGLE string VALUE.
  • Text AREA: With Text Area you can check MULTIPLE rows and columns of text Strings.

139.

For Example You Are Checking Bit Map Check Point Before Coming To The Results. How Can You Say It Is Passed? Or Failed? Anyways?

Answer»

If the Execution has halted at a Step for more than ESTIMATED time, then you can Estimate that the CHECK has been failed. you NEED not wait for the results window to come to tell whether the result is pass or fail.

If the Execution has halted at a Step for more than estimated time, then you can Estimate that the check has been failed. you need not wait for the results window to come to tell whether the result is pass or fail.

140.

Have You Used Xml Check Point In Your Project?

Answer»

No

No

141.

What Is The Diff Between Image And Bitmap Check Point?

Answer»

142.

What Is A Checkpoint? How Many Check Points Are There In Qtp?

Answer»

It is a Verification point that compares the current value with the expected value for a specified property of an OBJECT.
The DIFFERENT types of checkpoints are:
i) Standard checkpoint
II) Text Checkpoint
III) Text Area checkpoint
iv) Page checkpoint
v) Image checkpoint
VI) Bitmap checkpoint
vii) Table checkpoint
viii) Database checkpoint
ix) XML checkpoint

It is a Verification point that compares the current value with the expected value for a specified property of an object.
The different types of checkpoints are:
i) Standard checkpoint
ii) Text Checkpoint
iii) Text Area checkpoint
iv) Page checkpoint
v) Image checkpoint
vi) Bitmap checkpoint
vii) Table checkpoint
viii) Database checkpoint
ix) XML checkpoint

143.

How Many Ways Is To Parameterize The Value?

Answer»

Four ways. They are:
i) Test/Action
II) DATA Driver
III) Environment variable
IV) Random Number

Four ways. They are:
i) Test/Action
ii) Data Driver
iii) Environment variable
iv) Random Number

144.

If I Change The Property Value At Runtime Is It Effect Is Object Repository?

Answer»

No.

No.

145.

Is It Possible To Change The Property Value At Runtime? How It Is Possible?

Answer»

YES, USING SetTOProperty (PROPERTY NAME, VALUE)

Yes, using SetTOProperty (property name, Value)

146.

How To Get The Particular Property Value?

Answer»

EITHER USING OBJECT Spy or using GETTOPROPERTY (Property Name).

Either using Object Spy or using GetTOProperty (Property Name).

147.

If I Change The Object Name In One Action Will It Be Updated In All The Actions? Or Not?

Answer»

No, CHANGES made to OBJECTS in one ACTION will not be REFLECTED in any other Action.

No, changes made to objects in one Action will not be reflected in any other Action.

148.

How Qtp Recognizes The Object?

Answer»

QTP RECOGNIZES OBJECTS through OBJECT REPOSITORY.

QTP recognizes Objects through Object Repository.

149.

What Is The Difference Between Per-action And Shared?

Answer»
  • Per-Action REPOSITORY will store only those OBJECTS that are recorded in that Particular action. Each Action will have its own Per-Action Repository.
  • SHARED Repository will store all the objects that are recorded during the test Irrespective of the ACTIONS.

150.

Is It Possible To Merge Two Object Repository Files In Qtp?

Answer»

No, you can’t MERGE OBJECT REPOSITORY FILES with each other.

No, you can’t merge Object repository files with each other.