Vous êtes sur la page 1sur 38

Jagan Mohan Julooru


1. PLz tell me any another function in winnrunner for file comparison except
file_compare(,,)?. Or give

2. what is object repository

The collection of objects is called object repository.for example.text box, calender, button etc.

3. Is it passible in winnrunner to handle result dir path through winnrunner script?

Yes its possible to handle a results directory in winrunner.

4. How do you parse xml?what tool do u use?

Winrunner is not support to XML. QTP is supported to XML. In QTP two types of chackpoints are
there one is web Xml chackpoint, document chackpoint.

5. How to recognise the objects during runtime in new build version (test suite)
comparing with old guim
Update GUI map file by teaching the Winrunner the new objects in the application while it is

6. sample code: wait(20)what is the minimum and maximum time the above mentioned
synchronization statements
The maximum time is 20 seconds and the minimum time is one second

7. Where in the user-defined function library should a new error code be defined?1.At the
begining of the

8. In a modular test tree,each test will receive the values for the parameters passed from
the main test.These

9. what is the scripting process in winrunner?

The testing proces in winrunner or In any typicall automation tools is 1. Learning of
objects/Creating Object Repository2. Record the Navigation Flow/Record The User Action3. Edit
Scripts/Placing user Check Points4. Debug Scripts/For Syntax Check5. Run Scripts/Executed
Scripts6. Analyze Results/Compare

10. how many scripts can we generate for one project?

Depending on project and application many test scripts can be generated. The number of test
scripts is not fixed.

11. What is the command in Winrunner ti invoke IE Browser?And once I open the IE
browser is there a unique

12. How do you load default comments into your new script like IDE's?

13. what is the new feature add in qtp 8.0 compare in qtp 6.0
•Advanced Key word Driven •Auto Documentation •Business Process Testing •Added Parameters
for parameterization •Step Generator for adding programmatic statements with having
programming knowledge. •Highlight option in Object Repository •Results file in XML format

14. When will you go to automation?

And also depends on interface the application developed. No. of future versions expected and
maturity between the releases.
Jagan Mohan Julooru

15. How to recognise the objects during runtime in new build version (test suite)
comparing with old guim
new build version runtime wizard same like a gui

16. what is use of GUI files in winrunner.

GUI files consists of object's physical description( like class,label,MSW class,window).

17. without using the datadriven test, how can we test the application with different set of

18. How do you load compiled module inside a comiled module?

In the similar way as you do in the main script. Use load command in the compile module

19. can u tell me the bug life cycle

20. How to find the length of the edit box through WinRunner?
The question is quite ambiguous. Yet, the answer is in 2 fold.1. If you are seeking for length of the
text, then there is length function avialable in winrunner.2. If you are looking for the edit box's (as
a control) length, which is nothing but width, then here is the code:obj_get_info(edit_box, "width"

21. What is file type of winruuner test files , its extension.?

22. what is candidate release??

When a tester has completed the testing of a project and the AUT has been moved to production
environment and been accepted by the stakeholders then the tester is released or signed of from
the project

23. what type of variables can be used with in the TSL function???
tiger Wrote: auto , static public,extern variables.auto: An auto variable can be declared only within
a function and is local to thatfunction. It exists only for as long as the function is running. A new
copy of thevariable is created each time the function is called.static: A static variable is

24. how to test the stored procedure???

You first unit-test each procedure by feeding it appropriate test data, observing the outcome, and
retesting as needed to make sure the bug fixes contain no new errors. Unit-testing a stored
procedure involves a series of test-debug-retest cycles. The number of cycles will depend on your
company's defect

25. WinRunner is suitable for which type of applications?

26. Is it possible to conduct loadtesting with winrunner?I f possible how to test?

SrujanWe can test performnace somehow using winrunner.Using TSL function get_time();

27. What is the framework of winrunner?

Depending on the Project what Architecture we had Designed (Test Automation Architecture For
Winrunner) for the project.We will place all the folders in our centralized repository like this
COMPANYNAME_PROJECTNAME_AUTOMATION this is the main folder and the sub folders
are Ex: Test Data,GUI

28. How WinRunner reads the color of the window/Object?

winrunner cannot read the colour of the objects but it can differentiate between them by bitmap
checkpoint and if there is a pixel difference between the images it shows the image where the
difference in images
Jagan Mohan Julooru

29. Conduct a Testing Java application Which add-in's Selected in Winrunneer?

30. what is the process of Functionality Testing?

when you do the testing in the project just we can check the functionality how to work the project
here we cant test the code just how it works this module.

31. how to conduct testing in Broken-links using Winrunner?

32. how can we get the day of the week for specific date in winnrunner? is it possible?
time_str([expression]) function will give the day of the week for specific date in winnrunner.I
appreciate your deep and excellence work in winrunner.

33. How do you check thecurrent item value in the list after I open a web page with this list
in WinRunner
list_get_selected ( list, out_item, out_num );will solve the problem that I have.It will return an item
(out_item) and the postion(out_num ) that is currently shown on the list.To check the with the
previous values I can store theprevious values in file and then read it from the filelater to compare

34. how can we remove the data driven wizard script from the existing script ? if there any
settings available
There is no Wizard to remove DDT, you need to remove manually the following
statementsddt_open, ddt_get_row_count, ddt_set_row, ddt_val, ddt_close

35. how to compile a module in winrunner?

Go to File-> Test Properties->General,Select Compiled Module from the Test type list box and
click Apply then OK Button.

36. What are the test case that we go for automate?What is the process that we go while
we are going before

37. What is the use of Framework?

The Template test provides a basic framework of an automated test that navigates through your
application. It opens and closes each window, leaving space for you to add code (through
recording or programming) that checks the window WinRunner, Mercury Interactive and the
Mercury Interactive

38. Explain WinRunner testing process?

WinRunner testing process involves six main stages: i. Create GUI Map File so that WinRunner
can recognize the GUI objects in the application being tested ii. Create test scripts by recording,
programming, or a combination of both. While recording tests, insert checkpoints where you want
to check

39. How you will make changes in thousands of automated scripts if interface and
functionality of application
If there are thousands of scripts and a CR forces all the scripts to modify accordingly, it's always
better to create the GUI files again and rerecord the scenarios, where the CRs affects.

40. Write and explain compile module?

41. What does Entry criteria and Exit criteria in the test plan means?
entry criteria: sign off proposal document by the client.exit criteria: sign off of test plan document
by the client (test strategy document)

42. What is the difference between set_window and window_activate?

set_window function is used for giving input to the window.win_activate function is used for the
Jagan Mohan Julooru

activate window.Note: In scripts, important to use win_activate function before set_window

function in point of syncronization

43. Given a set_window("main",10); what is the essential of 10? what difference it makes
with synchronizatio
Given a set_window("main",10); what is the essential of 10?Anwer:The meaning of 10 here is
timing for the execution of that statement.If you are using synchronization then the statement is
wait untill the point given by u is not meets but here the statement is using default time

44. In a winRunner script let say we have code sleep(10); set_window("main",5); what will
be the result?

45. what is the difference between winrunner 7.0 version and winrunner 7.5 version.

46. A screen with 10 records is displayed, On Clicking of each and every column, it should
sort all the records

47. What do you mean by "Regular Expressions" ? In Real time, where we will use this?
Give me some
While using an web application,if suppose u want to captured filed value that is alphanumeric for
one iteration and numeric for another iteration,so we can't able to check/verify our result whether
the field is alphanumberic/numberic,in this situation we can use regualr expression.Example

48. What do you mean by "Function Decomposition" in winrunner?

49. How to connect to Oracle DB using winrunner

We can also connect using db_connect("ses", "dsn") to get complete control on DB

50. How you will write Test case in Winrunner?

Nobody will write test cases in WinRunner. Just we will write the Test Script for a corresponding
test case. Initially we write all manual test cases. We will write the test scripts for the
corresponding test cases.

51. How cache memory is released in winrunner?

Restart the winrunner.It will help you.

52. Which Type of GUI file is Preferable?

if you are new to winrunner then GUI map file per test is preferable and for advanced users
Global GUI map file is prefered

53. How do you call windows APIs, explain with an example?


54. Have you used WinRunner in your project?

WinRunner for creating automates scripts for GUI, functional and regression testing of the AUT.

55. How you created you test scripts 1) by recording or 2) programming?

Programming. I have done complete programming only, absolutely no recording.

56. Difference Between set_window and win_activate

set_window: specifies the window to receive subsequent input and (optionally)specifies the
amount of time to wait for the specified window.win_activate:The win_activate function makes the
specified window the activewindow by bringing it into focus and raising it to the top of the
display(equivalent to
Jagan Mohan Julooru

57. How to make comments in GUI Map File?

make the comment in GUI map file by selecting the statements which you want to comment and
press Ctrl and T.

58. How an Argument is passed in WinRunner

Select File menu / Test Properties, click on Test Parameters Tab then click on Add button to
create a Parameter. You need to pass a value while calling this script.

59. How do you view the results of file comparison?


60. What is the difference between script and compile module?

Test script contains the executable file in WinRunner while Compiled Module is used to store
reusable functions. Complied modules are not executable. b. WinRunner performs a pre-
compilation automatically when it saves a module assigned a property value of “Compiled
Module”. c. By default

61. How do you update your expected results?

help of updating mode

62. why choose winrunner , being it is costly tool ?

it depends on the choice of the end user. If the user feels that the AUT is extensive and could
really benefit from using WR and if there are plenty of Versions/Data Driven Test/Regression
cycles etc and it could be done with minimal user interaction through WR ,they can go for it..

63. Why should we create Framework?

64. What are the contents of Framework?

65. What is the command in winrunner to get dos prompt?

The dos_system function executes a DOS system command from within a WinRunner test script.
dos_system ( expression ); Example dos_system("echo dos_system demo > c:demo.tmp"); -
writes a line to the file .

66. How do you run your script with multiple sets of expected results?
through DDT

67. How do you call a function from external libraries (dll).

if u want call dll file through Winrunner, u should use api controls. it is a special functions

68. How do you store and view batch test results?

To store Batch test result When you run a regular, interactive test, results are stored in a
subfolder under the test. The same is true when a test is called by a batch test. WinRunner saves
the results for each called test separately in a subfolder under the test. A subfolder is also

69. What are the stages in winrunner?

Learning the objects through guimapin the application/Recording/Editing/Running/Analysis of
results/Report the Defects

70. How WinRunner handles varying window labels?

We can handle varying window labels using regular expressions. WinRunner uses two “hidden”
properties in order to use regular expression in an object’s physical description. These properties
are regexp_label and regexp_MSW_class. i. The regexp_label property is used for windows
Jagan Mohan Julooru

71. How do you test a web application without opening the webbrowser?
Use Web_Browser_Invoke(IE, URL); to invoke the browser through the test script instead of
opening the application.

72. How do you view and evaluate test results for various check points?
Once the script is executed which has multiple checkpoints, the test results window shows a
detailed information of whether the chekpoint passed or failed.As we know, checkpoints compare
the expected results with the actual results, we can evaluate the result.

73. What is the purpose of step, step into, step out, step to cursor commands for
debugging your scrip
The purpose of the commands are : STEP--> Runs a single lline of the TSL script. STEP INTO-->
Calls and displays another test/user-defined function. STEP OUT-->Used in conjunction to STEP
INTO and completes the execution of the called test/user defined function. STEP TO CURSOR--

74. How do you declare external functions in TSL?

External functions are declared using the "extern" declaration that references an external
function. The syntax is: extern (parameter1,parameter2....). type--> refers to the return type of
the function.

75. What is the purpose of tl_step command?

Used to determine whether sections of a test pass or fail. Syntax: tl_step(step_name, status,

76. What is a watch list?

Watch list enables to monitor the values of variables, expressions and arrays while we debug a
test script.

77. What is the purpose of setting a break point?

we can use breakpoints to help debug our test scripts. A breakpoint stops a test run at a specified
line in the test script, or in a specified function. You may want to stop a test run using a
breakpoint in order to: 1.monitor the entries in the Watch List 2.begin stepping through a test

78. What is the purpose of load_dll?

Load_dll will help us to load dll into memory and call functions inside the dll

79. Write TSL functions for the following interactive modes: i. Creating a dialog box with
any message you
Answers: 1. Dialog box with any message, and edit field create_input_dialog ( message
); message - Any expression. This expression will appear in the dialog box as a single
line. Return Values - This function returns a string. If no string is found or if the Cancel button is

80. What TSL function you will use to pause your script?
we can also pause the script using pause() command.

81. What is the purpose of Wdiff utility?

WDiff v1.49 utility that displays differences between text files in directories (folders) or zip

82. Write and explain various loop command?

A for loop instructs WinRunner to execute one or more statements a specified number of times. It
has the following syntax: for ( [ expression1 ]; [ expression2 ]; [ expression3 ] ) statement i. First,
expression1 is executed. Next, expression2 is evaluated. If expression2 is true, statement is
Jagan Mohan Julooru

83. When it is appropriate to change physical description?

Changing the physical description is necessary when the property value of an object changes.

84. What is contained in the GUI map?

WinRunner stores information it learns about a window or object in a GUI Map. When WinRunner
runs a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map
and then looks for an object with the same properties in the application being tested. Each of

85. How does WinRunner recognize objects on the application?

WinRunner uses the GUI Map file to recognize objects on the application. When WinRunner runs
a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map and
then looks for an object with the same properties in the application being tested.

86. Have you created test scripts and what is contained in the test scripts?
It contains the statement in Mercury Interactive’s Test Script Language (TSL). These statements
appear as a test script in a test window. You can then enhance your recorded test script, either by
typing in additional TSL functions and programming elements

87. How does WinRunner evaluates test results?

Following each test run, WinRunner displays the results in a report. The report details all the
major events that occurred during the run, such as checkpoints, error messages, system
messages, or user messages. If mismatches are detected at checkpoints during the test run, you
can view the expected

88. Have you performed debugging of the scripts?

We can debug the script by executing the script in the debug mode. We can also debug script
using the Step, Step Into, Step out functionalities provided by the WinRunner.

89. How do you run your test scripts?

We run tests in Verify mode to test your application. Each time WinRunner encounters a
checkpoint in the test script, it compares the current data of the application being tested to the
expected data captured earlier. If any mismatches are found, WinRunner captures them as actual

90. How do you analyze results and report the defects?

Following each test run, WinRunner displays the results in a report. The report details all the
major events that occurred during the run, such as checkpoints, error messages, system
messages, or user messages. If mismatches are detected at checkpoints during the test run, you
can view the expected

91. What is the use of Test Director software?

TestDirector is Mercury Interactive’s software test management tool. It helps quality assurance
personnel plan and organize the testing process. With TestDirector you can create a database of
manual and automated tests, build test cycles, run tests, and report and track defects. You can

92. How you integrated your automated scripts from TestDirector?

When you work with WinRunner, you can choose to save your tests directly to your TestDirector
database or while creating a test case in the TestDirector we can specify whether the script in
automated or manual. And if it is automated script then TestDirector will build a skeleton for the

93. What are the different modes of recording?

There are two type of recording in WinRunner. i. Context Sensitive recording records the
operations you perform on your application by identifying Graphical User Interface (GUI) objects.
Jagan Mohan Julooru

ii. Analog recording records keyboard input, mouse clicks, and the precise x- and y-coordinates
traveled by

94. What is the purpose of loading WinRunner Add-Ins?

Add-Ins are used in WinRunner to load functions specific to the particular add-in to the memory.
While creating a script only those functions in the addin selected will be listed in the function
generator and while executing the script only those functions in the loaded add-in will be

95. What are the reasons that WinRunner fails to identify an object on the GUI?
WinRunner fails to identify an object in a GUI due to various reasons. i. The object is not a
standard windows object. ii. If the browser used is not compatible with the WinRunner version,
GUI Map Editor will not be able to learn any of the objects displayed in the browser window.

96. What do you mean by the logical name of the object.

An object’s logical name is determined by its class. In most cases, the logical name is the label
that appears on an object.

97. If the object does not have a name then what will be the logical name?
If the object does not have a name then the logical name could be the attached text.

98. What is the different between GUI map and GUI map files?
The GUI map is actually the sum of one or more GUI map files. There are two modes for
organizing GUI map files. i. Global GUI Map file: a single GUI Map file for the entire application ii.
GUI Map File per Test: WinRunner automatically creates a GUI Map file for each test created.
GUI Map file

99. How do you view the contents of the GUI map?

GUI Map editor displays the content of a GUI Map. We can invoke GUI Map Editor from the Tools
Menu in WinRunner. The GUI Map Editor displays the various GUI Map files created and the
windows and objects learned in to them with their logical name and physical description.

100. When you create GUI map do you record all the objects of specific objects?
If we are learning a window then WinRunner automatically learns all the objects in the window
else we will we identifying those object, which are to be learned in a window, since we will be
working with only those objects while creating scripts.

101. What is the purpose of set_window command?

Set_Window command sets the focus to the specified window. We use this command to set the
focus to the required window before executing tests on a particular window. Syntax:
set_window(<logical name>, time); The logical name is the logical name of the window and time
is the time the execution

102. How do you load GUI map?

We can load a GUI Map by using the GUI_load command. Syntax: GUI_load(<file_name>);

103. What is the disadvantage of loading the GUI maps through start up scripts?
If we are using a single GUI Map file for the entire AUT then the memory used by the GUI Map
may be much high. If there is any change in the object being learned then WinRunner will not be
able to recognize the object, as it is not in the GUI Map file loaded in the memory. So we will have
to learn

104. How do you unload the GUI map?

We can use GUI_close to unload a specific GUI Map file or else we call use GUI_close_all
command to unload all the GUI Map files loaded in the memory. Syntax:
GUI_close(<file_name>); or GUI_close_all;
Jagan Mohan Julooru

105. What actually happens when you load GUI map?

When we load a GUI Map file, the information about the windows and the objects with their logical
names and physical description are loaded into memory. So when the WinRunner executes a
script on a particular window, it can identify the objects using this information loaded in the

106. What is the purpose of the temp GUI map file?

While recording a script, WinRunner learns objects and windows by itself. This is actually stored
into the temporary GUI Map file. We can specify whether we have to load this temporary GUI
Map file should be loaded each time in the General Options.

107. What is the extension of gui map file?

The extension for a GUI Map file is “.gui”.

108. How do you find an object in an GUI map.

The GUI Map Editor is been provided with a Find and Show Buttons. i. To find a particular object
in the GUI Map file in the application, select the object and click the Show window. This blinks the
selected object. ii. To find a particular object in a GUI Map file click the Find button, which gives

109. What different actions are performed by find and show button?
To find a particular object in the GUI Map file in the application, select the object and click the
Show window. This blinks the selected object. To find a particular object in a GUI Map file click
the Find button, which gives the option to select the object. When the object is selected, if the

110. How do you identify which files are loaded in the GUI map?
The GUI Map Editor has a drop down “GUI File” displaying all the GUI Map files loaded into the

111. How do you modify the logical name or the physical description of the objects in GUI
You can modify the logical name or the physical description of an object in a GUI map file using
the GUI Map Editor.

112. When do you feel you need to modify the logical name?
Changing the logical name of an object is useful when the assigned logical name is not
sufficiently descriptive or is too long.

113. What is the purpose of regexp_label property and regexp_MSW_class property?

The regexp_label property is used for windows only. It operates “behind the scenes” to insert a
regular expression into a window’s label description.The regexp_MSW_class property inserts a
regular expression into an object’s MSW_class. It is obligatory for all types of windows

114. How do you suppress a regular expression?

We can suppress the regular expression of a window by replacing the regexp_label property with
label property.

115. How do you copy and move objects between different GUI map files?
We can copy and move objects between different GUI Map files using the GUI Map Editor. The
steps to be followed are: i. Choose Tools > GUI Map Editor to open the GUI Map Editor. ii.
Choose View > GUI Files. iii. Click Expand in the GUI Map Editor. The dialog box expands to
display two GUI

116. How do you select multiple objects during merging the files?
Use the Shift key and/or Control key to select multiple objects. To select all objects in a GUI map
file, choose Edit > Select All.
Jagan Mohan Julooru

117. How do you clear a GUI map files?

We can clear a GUI Map file using the “Clear All” option in the GUI Map Editor.

118. How do you filter the objects in the GUI map?

GUI Map Editor has a Filter option. This provides for filtering with 3 different types of options. i.
Logical name displays only objects with the specified logical name. ii. Physical description
displays only objects matching the specified physical description. Use any substring belonging to

119. How do you configure GUI map?

When WinRunner learns the description of a GUI object, it does not learn all its properties.
Instead, it learns the minimum number of properties to provide a unique identification of the
object.Many applications also contain custom GUI objects. A custom object is any object not
belonging to one

120. What is the purpose of GUI map configuration?

GUI Map configuration is used to map a custom object to a standard object.

121. How do you make the configuration and mappings permanent?

The mapping and the configuration you set are valid only for the current WinRunner session. To
make the mapping and the configuration permanent, you must add configuration statements to
your startup test script.

122. What is the purpose of GUI spy?

Using the GUI Spy, you can view the properties of any GUI object on your desktop. You use the
Spy pointer to point to an object, and the GUI Spy displays the properties and their values in the
GUI Spy dialog box. You can choose to view all the properties of an object, or only the selected
set of

123. What is the purpose of obligatory and optional properties of the objects?
For each class, WinRunner learns a set of default properties. Each default property is classified
“obligatory” or “optional”. i. An obligatory property is always learned (if it exists). ii. An optional
property is used only if the obligatory properties do not provide unique

124. When the optional properties are learned?

An optional property is used only if the obligatory properties do not provide unique identification of
an object.

125. What is the purpose of location indicator and index indicator in GUI map
In cases where the obligatory and optional properties do not uniquely identify an object,
WinRunner uses a selector to differentiate between them. Two types of selectors are available: i.
A location selector uses the spatial position of objects.

126. How do you handle custom objects?

A custom object is any GUI object not belonging to one of the standard classes used by
WinRunner. WinRunner learns such objects under the generic “object” class. WinRunner records
operations on custom objects using obj_mouse_ statements. b. If a custom object is similar to a

127. What is the name of custom class in WinRunner and what methods it applies on the
custom objects?
WinRunner learns custom class objects under the generic “object” class. WinRunner records
operations on custom objects using obj_ statements.
Jagan Mohan Julooru

128. In a situation when obligatory and optional both the properties cannot uniquely
identify an object what
In cases where the obligatory and optional properties do not uniquely identify an object,
WinRunner uses a selector to differentiate between them. Two types of selectors are available: i.
A location selector uses the spatial position of objects. ii. An index selector uses a unique number
to identify

129. What is the purpose of different record methods 1) Record 2) Pass up 3) As Object 4)
Record instructs WinRunner to record all operations performed on a GUI object. This is the
default record method for all classes. (The only exception is the static class (static text), for which
the default is Pass Up.) b. Pass Up instructs WinRunner to record an operation performed on this

130. How do you find out which is the start up file in WinRunner?
The test script name in the Startup Test box in the Environment tab in the General Options dialog
box is the start up file in WinRunner.

131. What are the virtual objects and how do you learn them?
Applications may contain bitmaps that look and behave like GUI objects. WinRunner records
operations on these bitmaps using win_mouse_click statements. By defining a bitmap as a virtual
object, you can instruct WinRunner to treat it like a GUI object such as a push button, when you
record and run

132. What are the two modes of recording?

There are 2 modes of recording in WinRunner i. Context Sensitive recording records the
operations you perform on your application by identifying Graphical User Interface (GUI)
objects.ii. Analog recording records keyboard input, mouse clicks, and the precise x- and y-
coordinates traveled by the mouse

133. What is a checkpoint and what are different types of checkpoints?

Checkpoints allow you to compare the current behavior of the application being tested to its
behavior in an earlier version. You can add four types of checkpoints to your test scripts: i. GUI
checkpoints verify information about GUI objects. For example, you can check that a button is
enabled or

134. What are data driven tests?

When you test your application, you may want to check how it performs the same operations with
multiple sets of dat

135. What are the synchronization points?

Synchronization points enable you to solve anticipated timing problems between the test and your
application. For example, if you create a test that opens a database application, you can add a
synchronization point that causes the test to wait until the database records are loaded on the

136. What is parameterizing?

In order for WinRunner to use data to drive the test, you must link the data to the test script which
it drives. This is called parameterizing your test. The data is stored in a data table.

137. How do you maintain the document information of the test scripts?
Before creating a test, you can document information about the test in the General and
Description tabs of the Test Properties dialog box. You can enter the name of the test author, the
type of functionality tested, a detaileddescription of the test, and a reference to the relevant
functional specifications
Jagan Mohan Julooru

138. What do you verify with the GUI checkpoint for single property and what command it
generates, explain
You can check a single property of a GUI object. For example, you can check whether a button is
enabled or disabled or whether an item in a list is selected. To create a GUI checkpoint for a
property value, use the Check Property dialog box to add one of the following functions to the test

139. What do you verify with the GUI checkpoint for object/window and what command it
generates, explain
You can create a GUI checkpoint to check a single object in the application being tested. You can
either check the object with its default properties or you can specify which properties to check. b.
Creating a GUI Checkpoint using the Default Checks i. You can create a GUI checkpoint that

140. What do you verify with the GUI checkpoint for multiple objects and what command it
generates, explain
To create a GUI checkpoint for two or more objects: i. Choose Create > GUI Checkpoint > For
Multiple Objects or click the GUI Checkpoint for Multiple Objects button on the User toolbar. If you
are recording in Analog mode, press the CHECK GUI FOR MULTIPLE OBJECTS softkey in order
to avoid extraneous

141. What information is contained in the checklist file and in which file expected results
are stored?
The checklist file contains information about the objects and the properties of the object we are
verifying. b. The gui*.chk file contains the expected results which is stored in the exp folder

142. What do you verify with the bitmap check point for object/window and what
command it generates, explain
You can check an object, a window, or an area of a screen in your application as a bitmap. While
creating a test, you indicate what you want to check. WinRunner captures the specified bitmap,
stores it in the expected results folder (exp) of the test, and inserts a checkpoint in the test script.

143. What do you verify with the bitmap checkpoint for screen area and what command it
generates, explain
You can define any rectangular area of the screen and capture it as a bitmap for comparison. The
area can be any size: it can be part of a single window, or it can intersect several windows. The
rectangle is identified by the coordinates of its upper left and lower right corners, relative to the

144. What do you verify with the database checkpoint default and what command it
generates, explain synta
By adding runtime database record checkpoints you can compare the information in your
application during a test run with the corresponding record in your database. By adding standard
database checkpoints to your test scripts, you can check the contents of databases in different
versions of your

145. How do you handle dynamically changing area of the window in the bitmap
The difference between bitmaps option in the Run Tab of the general options defines the
minimum number of pixels that constitute a bitmap mismatch

146. What do you verify with the database check point custom and what command it
generates, explain synta
When you create a custom check on a database, you create a standard database checkpoint in
which you can specify which properties to check on a result set. b. You can create a custom
Jagan Mohan Julooru

check on a database in order to: i. check the contents of part or the entire result set ii. edit the
expected results

147. What do you verify with the sync point for object/window property and what
command it generates, explain
Synchronization compensates for inconsistencies in the performance of your application during a
test run. By inserting a synchronization point in your test script, you can instruct WinRunner to
suspend the test run and wait for a cue before continuing the test.b. You can a synchronization

148. What do you verify with the sync point for object/window bitmap and what command
it generates, explain
You can create a bitmap synchronization point that waits for the bitmap of an object or a window
to appear in the application being tested. b. During a test run, WinRunner suspends test
execution until the specified bitmap is redrawn, and then compares the current bitmap with the
expected one captured

149. What do you verify with the sync point for screen area and what command it
generates, explain synta
For screen area verification we actually capture the screen area into a bitmap and verify the
application screen area with the bitmap file during execution Syntax: obj_wait_bitmap(object,
image, time, x, y, width, height);

150. How do you edit checklist file and when do you need to edit the checklist file?
WinRunner has an edit checklist file option under the create menu. Select the “Edit GUI
Checklist” to modify GUI checklist file and “Edit Database Checklist” to edit database checklist
file. This brings up a dialog box that gives you option to select the checklist file

151. How do you edit the expected value of an object?

We can modify the expected value of the object by executing the script in the Update mode. We
can also manually edit the gui*.chk file which contains the expected values which come under the
exp folder to change the values.

152. How do you modify the expected results of a GUI checkpoint?

We can modify the expected results of a GUI checkpoint be running the script containing the
checkpoint in the update mode.

153. How do you handle ActiveX and Visual basic objects?

WinRunner provides with add-ins for ActiveX and Visual basic objects. When loading WinRunner,
select those add-ins and these add-ins provide with a set of functions to work on ActiveX and VB

154. How do you create ODBC query?

We can create ODBC query using the database checkpoint wizard. It provides with option to
create an SQL file that uses an ODBC DSN to connect to the database. The SQL File will contain
the connection string and the SQL statement.

155. How do you record a data driven test?

We can create a data-driven testing using data from a flat file, data table or a database. i. Using
Flat File: we actually store the data to be used in a required format in the file.

156. How do you convert a database file to a text file?

You can use Data Junction to create a conversion file which converts a database to a target text
Jagan Mohan Julooru

157. How do you parameterize database check points?

When you create a standard database checkpoint using ODBC (Microsoft Query), you can add
parameters to an SQL statement to parameterize the checkpoint. This is useful if you want to
create a database checkpoint with a query in which the SQL statement defining your query

158. How do you create parameterize SQL commands?

A parameterized query is a query in which at least one of the fields of the WHERE clause is
parameterized, i.e., the value of the field is specified by a question mark symbol ( ? ). For
example, the following SQL statement is based on a query on the database in the sample Flight
Reservation application

159. Explain the following commands:

db_connect i. to connect to a database db_connect(<session_name>, <connection_string>); b.
db_execute_query i. to execute a query db_execute_query ( session_name, SQL,
record_number ); record_number is the out value. c. db_get_field_value i. returns the value of a
single field in

160. What check points you will use to read and check text on the GUI and explain its
You can use text checkpoints in your test scripts to read and check text in GUI objects and in
areas of the screen. While creating a test you point to an object or a window containing text.
WinRunner reads the text and writes a TSL statement to the test script. You may then add simple

161. Explain Get Text checkpoint from object/window with syntax?

We use obj_get_text (<logical_name>, <out_text>) function to get the text from an object b. We
use win_get_text (window, out_text [, x1, y1, x2, y2]) function to get the text from a window.

162. Explain Get Text checkpoint from screen area with syntax?
We use win_get_text (window, out_text [, x1, y1, x2, y2]) function to get the text from a window.

163. Explain Get Text checkpoint from selection (web only) with syntax?
Returns a text string from an object. web_obj_get_text (object, table_row, table_column, out_text
[, text_before, text_after, index]); i. object The logical name of the object. ii. table_row If the object
is a table, it specifies the location of the row within a table. The string is preceded by

164. Explain Get Text checkpoint web text checkpoint with syntax?
We use web_obj_text_exists function for web text checkpoints. web_obj_text_exists ( object,
table_row, table_column, text_to_find [, text_before, text_after] ); object The logical name of the
object to search. b. table_row If the object is a table, it specifies the location of the row within a

165. Which TSL functions you will use for

Searching text on the window i. find_text ( string, out_coord_array, search_area [, string_def ] );
string The string that is searched for. The string must be complete, contain no spaces, and it must
be preceded and followed by a space outside the quotation marks. To specify a literal, case-

166. What are the steps of creating a data driven test?

The steps involved in data driven testing are: i. Creating a test ii. Converting to a data-driven test
and preparing a database iii. Running the test iv. Analyzing the test results.

167. Record a data driven test script using data driver wizard?
You can use the DataDriver Wizard to convert your entire script or a part of your script into a
Jagan Mohan Julooru

data-driven test. For example, your test script may include recorded operations, checkpoints, and
other statements that do not need to be repeated for multiple sets of data

168. What are the three modes of running the scripts?

WinRunner provides three modes in which to run tests—Verify, Debug, and Update. You use
each mode during a different phase of the testing process. i. Verify 1. Use the Verify mode to
check your application. ii. Debug 1. Use the Debug mode to help you identify bugs in a test script

169. Explain the following TSL functions:

Ddt_open i. Creates or opens a datatable file so that WinRunner can access it. Syntax: ddt_open
( data_table_name, mode );data_table_name The name of the data table. The name may be the
table variable name, the Microsoft Excel file or a tabbed text file name, or the full path and file
name of the

170. How do you handle unexpected events and errors?

WinRunner uses exception handling to detect an unexpected event when it occurs and act to
recover the test run. WinRunner enables you to handle the following types of exceptions: Pop-up
exceptions: Instruct WinRunner to detect and handle the appearance of a specific window. TSL
exceptions: Instruct

171. How do you handle pop-up exceptions?

A pop-up exception Handler handles the pop-up messages that come up during the execution of
the script in the AUT. TO handle this type of exception we make WinRunner learn the window
and also specify a handler to the exception. It could be i. Default actions: WinRunner clicks the
OK or Cancel button

172. How do you handle TSL exceptions?

A TSL exception enables you to detect and respond to a specific error code returned during test
execution. b. Suppose you are running a batch test on an unstable version of your application. If
your application crashes, you want WinRunner to recover test execution. A TSL exception can

173. How do you handle object exceptions?

During testing, unexpected changes can occur to GUI objects in the application you are testing.
These changes are often subtle but they can disrupt the test run and distort results. b. You could
use exception handling to detect a change in property of the GUI object during the test run, and to

174. How do you comment your script?

We comment a script or line of script by inserting a ‘#’ at the beginning of the line.

175. What is a compile module?

A compiled module is a script containing a library of user-defined functions that you want to call
frequently from other tests. When you load a compiled module, its functions are automatically
compiled and remain in memory. You can call them directly from within any test.

176. Write and explain decision making command?

You can incorporate decision-making into your test scripts using if/else or switch statements. i. An
if/else statement executes a statement if a condition is true; otherwise, it executes another
statement. It has the following syntax: if ( expression ) statement1; [ else statement2; ] expression

177. Write and explain switch command?

A switch statement enables WinRunner to make a decision based on an expression that can
have more than two values. It has the following syntax: switch (expression ) { case case_1:
statements case case_2: statements case case_n: statements default: statement(s) } b. The
switch statement consecutively
Jagan Mohan Julooru

178. How do you write messages to the report?

To write message to a report we use the report_msg statement Syntax: report_msg (message);

179. What is a command to invoke application?

Invoke_application is the function used to invoke an application. Syntax: invoke_application(file,
command_option, working_dir, SHOW);

180. Which TSL function you will use to compare two files?
We can compare 2 files in WinRunner using the file_compare function. Syntax: file_compare
(file1, file2 [, save file]);

181. What is the use of function generator?

The Function Generator provides a quick, error-free way to program scripts. You can: i. Add
Context Sensitive functions that perform operations on a GUI object or get information from the
application being tested. ii. Add Standard and Analog functions that perform non-Context
Sensitive tasks such

182. What is the use of putting call and call_close statements in the test script?
You can use two types of call statements to invoke one test from another: i. A call statement
invokes a test from within another test. ii. A call_close statement invokes a test from within a
script and closes the test when the test is completed.

183. What is the use of treturn and texit statements in the test script?
The treturn and texit statements are used to stop execution of called tests. i. The treturn
statement stops the current test and returns control to the calling test. ii. The texit statement stops
test execution entirely, unless tests are being called from a batch test. In this case, control is

184. Where do you set up the search path for a called test.
The search path determines the directories that WinRunner will search for a called test. b. To set
the search path, choose Settings > General Options. The General Options dialog box opens.
Click the Folders tab and choose a search path in the Search Path for Called Tests box.
WinRunner searches

185. How you create user-defined functions and explain the syntax?
A user-defined function has the following structure: [class] function name ([mode] parameter...) {
declarations; statements; }b. The class of a function can be either static or public. A static function
is available only to the test or module within which the function was defined. c. d. Parameters

186. What does static and public class of a function means?

The class of a function can be either static or public. b. A static function is available only to the
test or module within which the function was defined. c. Once you execute a public function, it is
available to all tests, for as long as the test containing the function remains open. This is

187. What does in, out and input parameters means?

in: A parameter that is assigned a value from outside the function. b. out: A parameter that is
assigned a value from inside the function. c. inout: A parameter that can be assigned a value
from outside or inside the function.

188. What is the purpose of return statement?

This statement passes control back to the calling function or test. It also returns the value of the
evaluated expression to the calling function or test. If no expression is assigned to the return
statement, an empty string is returned. Syntax: return [( expression )];

189. What does auto, static, public and extern variables means?
auto: An auto variable can be declared only within a function and is local to that function. It exists
Jagan Mohan Julooru

only for as long as the function is running. A new copy of the variable is created each time the
function is called. b. static: A static variable is local to the function, test, or compiled module

190. How do you declare constants?

The const specifier indicates that the declared value cannot be modified. The class of a constant
may be either public or static. If no class is explicitly declared, the constant is assigned the default
class public. Once a constant is defined, it remains in existence until you exit WinRunner.

191. How do you declare arrays?

The following syntax is used to define the class and the initial expression of an array. Array size
need not be defined in TSL. b. class array_name [ ] [=init_expression] c. The array class may be
any of the classes used for variable declarations (auto, static, public, extern).

192. How do you load and unload a compile module?

In order to access the functions in a compiled module you need to load the module. You can load
it from within any test script using the load command; all tests will then be able to access the
function until you quit WinRunner or unload the compiled module. b. You can load a module
either as

193. Why you use reload function?

If you make changes in a module, you should reload it. The reload function removes a loaded
module from memory and reloads it (combining the functions of unload and load). The syntax of
the reload function is: reload ( module_name [ ,1|0 ] [ ,1|0 ] ); The module_name is the name of
an existing compiled

194. How do you load and unload external libraries?

load_dll(path name); unload_dll(path name);

195. What are batch tests and how do you create and run batch tests ?
A batch test is a script that contains call statements to other tests.A batch test is created by
selecting the "Run in batch mode" from the run tab in the Tools-->General Options. A batch test
runs as a regular test. The only difference being that all messages like pause,wait...etc are

196. How do you execute your tests from windows run command?
u can execute ur test in c compiler with window run command.as tsl is c based language

197. Explain different command line options?

addins list of add-ins to load:,Instructs WinRunner to load the specified add-ins. In the list, the
add-ins are separated by commas. This can be used in conjunction with the -
addins_select_timeout command line option.addins_select_timeout timeout :Instructs WinRunner
to wait the specified time (in seconds)

198. During debugging how do you monitor the value of the variables?
Jagan Mohan Julooru


1. Can we test j2me application with load runner ?

What is load testing? - Load testing is to test that if the application works fine with the loads that
result from large number of simultaneous users, transactions and to determine weather it can
handle peak usage periods. What is Performance testing? - Timing for both read and update
transactions should

2. Which protocol has to be selected for record/playback Oracle 9i application?

Seeing your application is running on which protocol, any of these protocols can be set because
all are supportive for Load RunnerODBCSybase libOracle libPeople

3. What are the enhancements which have been included in loadrunner 8.0 when
compared to loadrunner 6.2?
HiHow can i get the winrunner an the loadrunner wizard? I would like to learn how to use it ?Can
you please suggest a site where i can load it from..

4. Can we use Load Runner for testing desktop applications or non web based
applications and how do we use
Yes we can use LoadRunner for the desktop appliocation. When you start load runner VU
generator , it asks you to select the type of protocal to use. There you have plenty of options from
E-business application( web based) to client/server applications. hopr it helps

5. How to call winrunner script in Loadrunner?

1.Create a scenario by replacing the VUser script with the GUI WinRunner script.2.Select Host-
>Details options from menu3.Enable the check box for GUI Winrunner(Mandatory to run the WR
Script)4.Execute the ScenarioNote: As you can work with only one instance of the winrunner at a
time, the maximumno

6. What r the types of parameterisation in load runner?List the step to do strees

testing?How many terminals
pls send me answer to tkkumar3@yahoo.co.in

7. What are the steps for doing load and performance testing using Load Runner?Note: I
need the actual process

8. What is concurrent load ? and corollation? what is the processof load runner?

9. What is planning for the test.

Here, we develop a clearly defined test plan to ensure the test scenarios we develop will
accomplish load-testing objectives. null

10. What enables the controller and the host to communicate with each other in Load
following component should enabled on Host machine.1. Agent 2. Remote louncher

11. Where is Load testing usually done?

The Load testing is carried in the controlled environment based on the requirement specs from
the client the Load Test Plan followed with the scenarios are created & executed to match the
requirements. To speak more precisely the Load testing Episode is carried once the Performance

12. What are the only means of measuring performance?

transactions are the only means of measuring performance.
Jagan Mohan Julooru

13. Testing requirement and design are not part of what?

14. According to Market analysis 70% of performance problem lies with what?

15. What is the level of system loading expected to occur during specific business

16. What is run-time-setting.

Run-time-setting include loop.log and timing information.

17. When load runner is used .

When multiple users work concurrently .

18. What protocols does LoadRunner support?

Answered by jayashree on 2005-05-10 00:24:47: Industry standard protocols for example HTTP
and ODBC are explicitly supported by LoadRunner. Furthermore any protocol that communicates
over a windows socket can be supported

19. What do you mean by creating vuser script.

Creating vuser script for emulate the action that virtual user Perform during the scenario

20. What is rendezvous point.

To emulate peak load on the server.

21. What is load runner.

Load runner accurately measure and analysis the system performance and its functionality.

22. What can I monitor with LoadRunner?

With Loadrunner, we can see the response of the system, CPU utilization while it is being used
by multiple users and subjected to stress.

23. What are all the types of correlation?

To speak more specific about the co-relation the automatic correlation is where we set some
rules for correlation. It can be application server specific. Here values are replaced by data, which
are created by these rules. In manual correlation, the value we want to correlate is scanned and
create correlation

24. What are all the functions available in Loadrunner to do the corrlation?
Wdiff -This is a Loadrunner tool which can be user to spot the dynamic data to be
correlated. web_reg_save_param (const char *ParamName, <List of Attributes>, LAST); This is a
built in loadrunner function that can be used to find and save occurrences of a text string (text to

25. How do we do the correclation?

Establish items to be correlated (dynamic value) Find the left and right boundary of the
occurrences of the dynamic value Add a web_reg_save funtion to parameterise all occurrences
of the dynamic value- text between the left and right boundary.(Remember the escape character

26. What is 'Correlation' in Loadrunner?

Correlation is the identifying and resolving data which are , unique for each run of the script or
each iteration of an action. These dynamic data differ in each replay from the original recording
and causes the replay to fail.

27. What are the advantage of using load runner.

1-loadrunner automatically records the performance of the client/server during test. 2-loadrunner
Jagan Mohan Julooru

checks where performance delays occur network/client delays. 3-loadrunner monitor the network
and server resource to help the improve performance.

28. What is scenario.

A scenario defines the events that occur during is testing session. Exam (deposit cash, withdraw

29. What is the vuser in the scenario .

Load runner replace the human user with vuser.

30. What is vuser script.

While run a scenarion every vuser execute a script that script known as vuser script .

31. What the vuser script contain.

The vuser script include the function that measure and record the performance of the server
during the scenario.

32. What is transaction .

Transaction measure the time which takes for the server to respond to task submitted by the

33. When the rendezvous point is insert .

When multiple vuser to perform tasks at exactly the same time then insert the rendezvous point to
emulate the peak load on the server.

34. What is load runner controller .

Controller is manage and maintain the scenario . using controller you control all the vuser in
single work station .

35. what is Host.

Host is machine which execute the vuser script.

36. what are the load runner testing process .

There are 5 steps. 1-planning the test. 2-creating the vuser script. 3-creating the scenario. 4-
running the scenario. 5-analysis the test result.

37. what are the process for developing a vuser script.

There are 5 steps for developing a vuser script. 1-recording the vuser script . 2-edit the vuser
script. 3-runtime setting . 4-run the vuser script in stand-alone mode. 5-incorporate the vuser
script into a load runner scenario.

38. how to create a scenario .

We have to install load runner controller to the host . Then we include list of host(where vuser
script execute) then list of vuser script (where vuser run) and then list of vuser that run during the

39. what do you mean by Remote Command Launcher(RCL).

Rcl enables the controller to start the application on the Host machine .

40. what is load runner Agent.

Agent is interface between host machine and controller.

41. how you load a load runner Agent.

Controller instruct the remote command luncher to lunch the Agent .
Jagan Mohan Julooru

42. how many types of vuser are available .

There are several type of vuser(GUI ,Database ,RTE(terminal emulator), SAP, DCOME, People
soft, java, Baan)

43. what is GUI vuser and on which platform it will run.

GUI vuser operate graphical user interface application and it can run in either the MS-Windows /
X-Windows environment .

44. what is MS-windows.

Win runner used for MS-Window application .

45. what is X-Windows.

X-runner and VX-runner for X-Windows application.

46. what is load runner API function .

Data base vuser do not operate client application .using load runner API function the database
vuser can access the data from the server.

47. how you develop the database vuser script .

Developing the database vuser script either by recording with load runner vuser script generator
(VuGen) or by using load runner vuser script template.

48. what is VuGen.

It is a load runner vuser script generator(use for recording the data base vuser script )

49. how many section database vuser script have.

3 section ,written in code that assemble in C, SQL call to the database, written in TSL(test script

50. how you enhance the basic script .

By adding control-flow, structure, by inserting transaction point and rendezvous point, adding

51. what is stand-alone mode.

To verify that the script runs correctly .

52. what type of function generate and insert by the vugen to the script when you record a
script .
1-LR Function.(vuser function) 2- protocol function.

53. what is LR-function.

obtain the information about vuser running in a scenario .

54. what is protocol function.

Obtain the information about the type of vuser.

55. what are the section contain by the vugen while creating a vuser script .
Vugen contain the 3 section . 1-vuser-init 2-action. 3-vuser-end.

56. what is vuser-init section .

Record a log in to the server(vuser initialize loaded).

57. what is action section .

Record the client activity .
Jagan Mohan Julooru

58. what is vuser-end section.

Record a log off in to the server (vuser stoped).

59. how vugen create a vuser script.

By recording the activity between client and server.

60. how you edit the script .

While editing the script we have to inserting the transaction point and rendezvous point .

61. what is the load runner start-transaction and its syntax.

It will start the transaction on the script. Syntax. Lr-start-transaction("transaction name").

62. what is the load runner end transaction and its syntax.
It will end the transaction. Syntax. Lr-end-transaction("transaction name", LR-AUTO).

63. where you insert the rendezvous point .

Rendezvous point insert in to the script to calculate the peak load of the server. Syntax. lr-
rendezvous("rendezvous name").

64. what are the element in the load runner controller.

Title bar(name of the scenarion presently working). Menu bar(selecting the various command).
Tool bar. Status bar.

65. what are the 5 icons appear in the buttom of the controller windows.
1-host windows(list of machine). 2-script windows(list of all the vuser script) 3-rendezvous
windows. 4-transaction windows(display all the transaction) . 5-output window( display error and
notification message).

66. what is .lrs.

Load runner save the information in a scenario files.

67. what is scenario wizard .

Through scenario wizard we can create a new scenario.

68. what is filtering and sorting.

We can filter the information display only those items that meet the selected criteria(filter box)
.exam you can filter vuser only those who are in ready state. Sorting - we can sort all the vuser in
the vuser list. In order to their vuser ID(1,2,3,4,5,6,7,8,9).

69. what are the information crating for each host.

1-the status of the host. 2-the platform type of the host(windows/unix). 3-details of the scenario.

70. how to create a host list for a scenario.

1-install remote command luncher on every machine. 2-add the name of the host to the host lists.
3-set attributes for each host. 4-select which hosts will take part in the scenario.

71. how to modify the host attribute .

72. what the host attributes determine .

1-the maximum number of vuser that host can run. 2-the initialization quota . 3-the location of the
win runner configuration file. 4. the location of the file during run-time.

73. how you set maximum number of vuser that a host can run.
We can modify the maximum number of vuser according to the (available resource , the needs of
your scenario, load runner license agreements).
Jagan Mohan Julooru

74. what do you mean by initialization of quota.

Capabilities of the host that at a time how many vuser Are initialize .

75. when the load runner controller open the win runner file then what is the location of
the winner configuration

76. what is scenario default .

Instruct the vuser to use the win runner configuration file.

77. what is local configuration file.

Instruct the vuser to use hosts win runner configuration file.

78. what do you mean by path.

Use win runner configuration file that is in a specific location on the network.

79. during run time where the hosts saves the files.
In temporally in the local drive of each host.

80. what is script list.

It contain all the vuser script that vuser can run.
81. what are the information contain by script windows for each script in the list.
1-name of the vuser script . 2-the type of the vuser. 3-the location(path). 4-command line option.

82. how to modify the script.

Using vuser script information dialog box.

83. what is the purpose of running the scenario .

To check the response time of the client/server system under load.

84. why we insert the rendezvous point while running the scenario.
If a multiple vuser to perform a tasks at exactly the same time.

85. when a scenario run exactly what happened .

1-The controller check the scenario configuration information. 2-then next it invoke the application
that you select to run with the scenario . 3- then transform each script to its related hosts, when
the vuser are ready they start execution.

86. how to run a scenario.

Open an existing scenario . Configure the scenario. Set the result directory. Run the scenario.

87. when you initialize the vuser what happen .

The vuser status change from DOWN to PENDING to INITILIZAING to READY. If vuser fails to
initialize , the vuser status changes to ERROR.

88. what is pause command.

It changes the status of the vuser from RUNNING TO PAUSE.

89. what is running virtual user graph.

It displays the number of the vuser that execute vuser script during each second of the scenario
run. Only running and rendez state are include.(loading, ready and pause are not displayed) .

90. what is report viewer .

Each report viewer contain the report header and report viewer tool bar.
Jagan Mohan Julooru

91. what is report header and what are the information contains.
It display general scenario information and it contain the information like (title, scenario, result
start time, end time and duration).

92. what is rendezvous graph.

It indicate when vuser were released from rendezvous point and how many vuser are released
from each point.it help the transaction performance time .

93. what is transaction per second graph(pass).

It display the number of complited , successful transaction perform during each second of
scenario run.

94. what is transaction per second graph(pass).

95. what in percentile graph.

The percentage of transaction that were performed within a given time range.

96. what is transaction performance graph.

Display the average time taken to perform transaction during each second of the scenario run.

97. How many users can I emulate with Load-Runner on a PC?

That also depends on the licence of the loadrunner software.There are different licence
management available.For a normal loadrunner license we can generate upto 250 users...thats
the maximum limit............but depends on what kind of licence u have

98. What are the Vuser components in LoadRunner?

ApplicationComponents used are client, database or additionally business application
server.) Web Server works on and through LAN,WAN,or www connection. Application Server
components are client, business server and database server without use of www.but through
Protocols like

99. What are the reasons why parameterization is necessary when load testing the Web
server and the database
Parameterization is generally done to test with multiple set of data or records.

100. Load Runner Function - How to get current system time

This function is developed to usein Mercury Load Runner peformance tool.This main use of this
functions to return the current system time at any given point of time while load runner script is
running.This functiona can be used to report transaction times , script starti time and end
time. long

101. What do I need to know to do load testing in addition to knowing how to use the
Load-Runner tool?
In addition to knowing the tool : - Management aspects of Load Testing, Planning being
paramount - Requirements gathering, Profile/Mix, SLA, Acceptance Criteria.... - an general
understanding of the protocol you are working with, developers can be unhelpful - a basic
Jagan Mohan Julooru


1. Describe Error Handling in the FRD

2. whats the difference between usecase,testcase,testplan,and scenario and their

use case - Desighned before the project started.Test Case - which contains the test data .test
plan - A detailed plan to outline when to start and when to stop and constriants for automation or
manual and about human resources.Scenario - scenario's will be identified while testing.

3. How we can explain a bug which may arrive at the time of tesing. explain that bugs in
Firstly i will contact to TL ..after confirmation from him i will forward this bug to Concerned

4. What is the difference between a Bug and a Defect?

Defect: Missing requirements is called defect.Bug:Dis satisfaction of the requirements.

5. How to post a BUG

There are tools available in the market such as Rational Clear Quest to post a bug. If Rational
Clear Quest is configured correctly when you post a bug an e-mail is automatically send to the
concerned developers.

6. how do we track a bug?plz send format of excel sheet in which we write the bug
details?how do we give
There are different bg tracking tools n the market , but rational clear quest is the most commonly
used tool.

7. What are the different types of Bugs we normally see in any of the Project? Include the
severity as wel
1. User Interface Defects -------------------------------- Low 2. Boundary Related Defects -----------------
-------------- Medium3. Error Handling Defects --------------------------------- Medium4. Calculation
Defects ------------------------------------ High5. Improper Service Levels (Control flow defects)

8. Top Ten Tips for Bug Tracking

A good tester will always try to reduce the repro steps to the minimal steps to reproduce; this is
extremely helpful for the programmer who has to find the bug. Remember that the only person
who can close a bug is the person who opened it in the first place. Anyone can resolve it, but only
the person
Jagan Mohan Julooru


1. what is contained in srs?,give a sample srs.what is cohesive testing and span


2. What is Difference Between QA plan and Test Plan?

QA is more over prevention thing which works towards non occurance of error- were as tesplan
come s in testin i.e in quality control which works towards how to identify defects/errors

3. what is the Test server

4. What are all the key factors to write system test plan?

5. How to perform integration testing on a web application? What are the considerations?
Detailed pls.

6. If you have an application, but you do not have any requiremnts available, then how
would you perform
With out a requirements documents how can u develop an application .if it is developed without
any requirements then the application is made with assumptions .Then testing is done depending
on the assumptions made through application.In this case, if you are going to work for some

7. How can you know if a test case is necessary?

8. What is peer review in practical terms?

Test cases written by a QA engineer will be reviewed (for correctness) by fellow QA Engineer.

9. How do you know when you have enough test cases to adequately test a software
system or module?

10. Who approved your test cases?

It depends on the organization. QA Lead, if present, will approve the test cases. Otherwise, Peer
Reviews are a good way of evaluating the test cases.

11. What will you when you find a bug?

1)Execute some more tests, to make clear what the bug EXCATLY is. Suppose, the test case
failed when State=NY and Class=Business. Tester has to exceute some more tests to find out
whether the problem is with Just 'NY' state or with just 'Business' class or with both of them
together.2) Report the bug

12. What test plans have you written?

Master Test plan is usually prepared by QA Lead. Testers write Test Cases, which in some
organizations are called as Test Plans.

13. What is QA? What is Testing? Are they both same or different?
Testing is subset of QA. Testing is just a phase that comes after coding. But QA is the one that
should be incorporated into the entire Software Development Life Cycle.

14. How to write Negative Testcase?Give ex.

Negative test cases are written based on thinking abt AUT in a destructive manner in the
sense,what happens if i test the application with irrelevant inputs.

15. In an application currently in production, one module of code is being modified. Is it

necessary to re-
Jagan Mohan Julooru

1) Test the modified module2) Test all the other modules/areas of the application which will have
direct/indirect interaction with the modified module.

16. What is included in test strategy?What is overall process of testing step by step and
what are various
Test strategy is creating a procedure of how to test the software and creating a strategy what all
to be tested(screens,process,modules,..)and time limts for testing process(automated or manual)
.So everything has to be planned and implemented.Testing overall procedure isThe duties of
software test

17. What is the most challenging situation you had during testing

18. what are you going to do if there is no Functional Spec or any documents related to
the system and developer
First of all, when a developer left then another one in or someone assigned to take care of the
responsibilities.Most of the functional testing needs more knowledge about the product then the
code. Be familiarize with the code. Research similar product in the market. Increase
communication with related

19. What is the major problem did you resolve during testing process

20. What are the types of functional testing?

There are followingtypes of functional testing.1. Functionality testing.2. Input domain
testing.3.Error handling testing.about 90% of the functional testing will be covered with teh
completion of above three.4. Recovery testing.5.Compatibility testing6.Configuration
testing7.Intersystems testing8.Installation

21. 1.how will u write integration test cases2.how will u track bugs from winrunner3.how u
customise the
A use case is a description of how end-users will use a software code. It describes a task or a
series of tasks that users will accomplish using the software, and includes the responses of the
software to user actions. Use cases may be included in the Software Requirements Document
(SRD) as a way of

22. what is the difference between smoke testing and sanity testing
smoke testing is conducted by development people according to the clients requirements.the first
test conducted by testing people when build is received is called sanity testing.in sanity testing
testing people check the basic functionality i.e whether all buttons are working or not etc

23. What is Random Testing?

Random data tests confort the application under test with input data generated at
random.Typically,testers pay no attention to expect data types.They feed a random sequence of
numbers,letters & characters into nummeric data field.

24. What is smoke testing?

during this test test engineer reject build with reason, when that build is not working before testing

25. What is stage containment in testing?

26. Security testing and Performance testing on Communication interface

27. what are the steps in volved in sanity testing?

Sanity testing is same as smoke testing. It involves intial testing of the application or module just
make sure wether it is stable enough to start testing. Mostly used as a bench mark to gather the
readiness of the application for automated testing
Jagan Mohan Julooru

28. How do we do calculation testing in banking ferm?

29. What is the Difference Between Rational Robot & WinRunner ?

-> Winrunner is just a functional Tool where as Robot, we can use it for both functional (GUI) and
performance(VU).-> WR has 4 check points where as Robot has 13 verification points.

30. What is the testing process?

Verifying that an input data produce the expected output.

31. What is the difference between testing and quality assurance (QA)?
This question is surprisingly popular. However, the answer is quite simple. The goals of both are
different: The goal of testing is to find the errors. The goal of QA is to prevent the errors in the

32. Difference between QA and QC?

simple definitions are: QA:assurance for process control.here we r going to follow certain quality
standards and strive for process improvement.we r not going to deal with product.the intension is
to follow good quality standards.if we follow these automatically we are going to produce

33. what is the difference between retest and regression testing?

hello friends regarding retesting and regression testing this is very important interview question
which is asked for every one of us.so as far as my knowledge.retesting:if any modifications r done
in the application then testing that particular unit is retesting.regression testing

34. What is the difference between bug priority & bug severity?
HiPrority : Urgency Of the BugSeverity : Impact of the Bug

35. What kinds of testing do you know? What is it system testing? What is it integration
testing? What is
You theoretical background and home work may shine in this question. System testing is a
testing of the entire system as a whole. This is what user see and feels about the product you
provide. Integration testing is the testing of integration of different modules of the system. Usually,
the integration

36. What is a bug? What types of bugs do you know?

Bug is a error during execution of the program. There are two types of bugs: syntax and logical.

37. What is the difference between structural and functional testing?

Structural is a "white box" testing and based on the algorithm or code. Functional testing is a
"black box" (behavioral) testing where the tester verifies the functional specification.

38. What is defect density?

defect density = Total number of defects/LOCHere the Total number of defects include the
defects from Review and from the customer also

39. How would you test a mug (chair/table/gas station etc.)?

First of all you must demand requirements and functional specification and design document of
the mug. There will find requirements like ability to hold hot water, waterproof, stability, break
ability and so on. Then you should test the mug according to all documents.

40. What is considered a successful test?

A test that discovered more errors. The whole purpose of testing process is to discover as many
bugs and errors as possible. Test that covers more functionality and discovers more errors in
your software product, therefore considered more successful.
Jagan Mohan Julooru

41. What bug tracking system did you use?

Again and again, it does not matter what bug tracking system did you use if you made your
homework and invented the name of such or mentioned a standard one. You may say you've
used proprietary bug tracking system (works especially well if you previous company was this
way or another dealing with databases)

42. When does testing begin - requirements, plan, design, code / testing phase?
Obviously Testing will begins in requirement phase.

43. Could you test a program 100%? 90%? Why?

Definitely not! The major problem with testing that you cannot calculate how many error are in the
code, functioning etc. There are many factors involved such as experience of programmer,
complexity of the system etc.

44. What is the difference between testing and debugging?

Big difference is that debugging is conducted by a programmer and the programmer fix the errors
during debugging phase. Tester never fixes the errors, but rather find them and return to

45. How would you conduct your test?

Each test is based on the technical requirements of the software product.

46. Have you used automatic testing tools. Which ones?

If you never have seen automation tools before, do not try to fool around the interviewer. You
produce a bad impression when "caught" on lying to the interviewer. However, if you ever used
the automation tools, it would be a huge advantage for us to mention them even if those tools
were proprietary automation

47. How would you build a test with WinRunner? Rational Visual Test?
First of all, see the comments to the previous question. Then, all automation testing tools I ever
heard of have a GUI recorder which allows you to record the basic user interactions with the
software underneath. Then, you manually update your initial script to suit your needs. You must
know scripting

48. What is considered a good test?

Good test is a test covering most of the object's functionality.

49. How would you conduct a test: top-down or down-top? What is it? Which one is
Down-Top: unit -> interface -> system. Top-Down is a vice versa. You may use both, but down-
top allows to discover malfunctioning at earlier phases of development and cheaper to fix than in
the case of top-down.

50. How to develop a test plan ? How to develop a test case?

Test plan consists of test cases. Test cases you develop according to requirement and design
documents of the unit, system etc. You may be asked what would you do if you are not provided
with requirements documents. Then, you start creating your test cases based on functionality of
the system. You should

51. How do you see a QA role in the product development life cycle?
QA should be involved in early stages of the development process in order to create an adequate
test cases and better general understanding of the system. QA, however, must be separated from
the development team to ensure that there is no influence of developers on QA engineers. As a
last resort before
Jagan Mohan Julooru

52. What is the size of your executable?

10MB. Who cares? You should demonstrate that you can't be caught with unexpected questions.
This question is one of the dumbest, but you must react accordingly. Tell any reasonable number
you want, but be careful not to exaggerate!

53. What version of Oracle database did you use?

Homework. Tell any version number you want - not many interviewers know the difference at
version level. However, do not tell any numbers if you never worked with Oracle!

54. How would you execute a SQL query in Oracle 8?

Again, if you ever worked with Oracle, this question should be trivial for you to answer (from
command prompt, of course) If you never worked with Oracle, note politely that you did not touch
an Oracle database on your career path.

55. What version of OS were you using?

Tell whatever you want - you can't be caught here. Popular answers are Windows 95/98,
Windows 2000 (make sure you know various flavors) and various Unix flavors (AIX, Solaris,
SunOS, HPUX etc.)

56. Have you tested front-end of back-end?

In other word you are asked if you tested GUI part of the application or server part of your

57. What was the most difficult problem you ever found while testing?
This is homework. Think about one and give it as an example.

58. What were you responsible to test in your previous company?

This is homework for you. Actually, this question is a test of the knowledge of your own resume.
You must know your real or fake resume as a bible. Practice in front of mirror or ask you

59. Why do you like to test?

You enjoy bug hunting process, feel great being between developers and customers, your
background and experience are targeting the testing techniques enhancements and you feel
proud of your contribution to the whole development process.

60. What role do you see yourself in 2-3 years from now? Would you want to become a
You should not concentrate the attention of the interviewer on your wish to become a developer.
You are being hired for testing role and you should demonstrate reliability. Team lead of QA team
is OK, but do not answer yes when asked if you are willing to become a developer.
Jagan Mohan Julooru


1. How can an object from a per action repository be called to another per action

2. How you write scripts in QTP? What's the main process in QTP? How do you run
scripts in QTP?

3. What is the command in QTP to invoke IE Brow?

SystemUtil.Run "iexplore"

4. Hi,I am new to QTP, please tell me how to invoke an application in QTP.Forexample:In

winrunner we use

5. differenced between quick test proffesional version 5.6 and 8.2

These are the new features which are available in QTP8.2 and which are not present in 6.5
version.Keyword View: Lets you easily build and maintain tests without writingVBScripts.Auto-
Documentation: Provides improved test clarity and the ability toview test steps in plain
English.Step Generator: Allows

6. How would u manipulate the script so that when the test is run it takes a new login
You can parameterize the values in the Gobal data table sheet, whatever the number of rows you
enter in this data table will instruct QuickTest to run same number of new login name you've

7. How can i add a action (external action) programatically?

You can add an external Action programatically using the CommandRunAction ActionName,
[IterationMode , IterationRange]Before you can use the RunAction statement in the Expert View
for an external action, you must first call or copy the external action into your test by choosing
Insert > Copy

8. How can i call a external action which is not added external action of an action. Means I
want to call
Yes u can do it by copying the Action c to Action A...In QTP 8.2 there is an menu called insert-
Copy of Action...

9. what is meant by SOURCE CONTROL ?

It is used to hold all the bulids of diff versions

10. how and what kind of Vb functions do u use in qtp?

You can use The following functionsAsc Function====CBool Function===CByte
Function===CCur Function===CDate Function===CDbl Function===Chr Function===CInt
Function===CLng FunctionCSng FunctionCStr FunctionHex FunctionOct Function===etc

11. how can u discribe the basic flow of automation with conditional and programatic
Executing of operators flow in the automation code if the question is that then my answer is
===For example: z = 78 * (96 + 3 + 45)There are five operators in this expression: =, *, (), +, and
another +. According to the rules of operator precedence, they are evaluated

U can do it thru Recovery Manager..Eg...Suppose there is an Edit box called Uname n
PWD...Just type in uname n don't enter in PWD..It displays a pop up msg called plz,,enter
PWD...Then stop recording..Goto Recovery MGR and call POPUP exception handling./../
Jagan Mohan Julooru

13. How to recall a function in QTP

There also u follow the same procedure. See the sample codeFunction addition(x,y) z= x+y
msgbox zEnd FunctionCall addition(1,2)Call addition(2,2)I think i am clear :)

14. Give one example where you have used Regular Expression?
While validating 'Date format' .

15. How can I implement error handling in QTP, I know with Recovery Mangaer but how
please give me detailed

16. How to select particular value from the combo box in the current page which is
entered in the previous

17. If you have the same application screen with 7 drop down boxes and approximately 70
values how do you
Record the 7 test objects (dropdown boxs) and there will be many 70 properties ( and their
associated bvalues) Drop Down Box 1

18. When there is a task that gets repeated in multiple scripts, what do you do in QTP?
Split the action related to that task, make it Reusable & then call that Action as many times as

19. what is the descrirptive progrmaing?.what is the use of descriptive programing?

Descriptive programming is used to identify the objects that are not/cannot be stored in the object
repository. Descriptive programming can be implemented by creating and using a Description

20. I Have an interview in Qtp..Please could any one give me the hints what will they ask in

21. How to instruct QTP to display errors and ther description in the test results instead of
halting execution
Make use of Reporter.Reportevent eg.var=statementif var="True" ThenReporter.Reportevent
0,"Step Name","Description of the Passed step"elseReporter.Reportevent 1,"Step
Name","Description for the failed step"End IfI hope thats it :)

22. How you write scripts in qtp?what's the main process in qtp?How do you run scripts
in Qtp?Please anyone

23. What is descriptive programming?

Please see Questions Number 13 for answer. Its just 4 Questions above this questions. You can
find answer there.Thanks, Venkat

24. How to add run-time parameter to a datasheet?

Try using this line of code.DataTable("Col Name",dtGlobalSheet/LocalSheet)="Col Value"The
only disadvantage with tihs code is, u will be able to see the parameter till the script is running,
once stopped the parameter will vanish from the data table.

25. how to load the *.vbs or test generating script in a new machine?
Execute File statement can be included as part of the test script inorder to execute the vbs files.

26. how can u write a script without using a GUI in QTP?

GUI in Qtp?do you mean to say Object repository?without OR,tester need to write descriptive
Jagan Mohan Julooru

tests,where you would directly assign property values and write methods.you do not need to save

27. How can we write scripts without having GUI(means u dont have any GUI and u want
to write a script in

28. Can we update the database though Qtp.

29. I am using the QTPlus Repositories Merge Utility to merge all my different repositories
into a single
Merge Utility have a lot of problems, try don't use this for file biggest the 8 MB

30. if a error occur during the excution of QTP script. how can we get the name of the
current object that
Use Err.descriptionExample. msgbox "Error:"&err.description

31. What is the procedure to test flash applications using QTP?

32. how to fetch test data from Database by using QTP?

In order to fetch test data from Database we have to create a adobdb connection object to
connect with data base. the syntax is .... >CreateObject("Adodb.connection").

33. how to handle java tree in QTP

first of all we need to have a java add-in to handle a java tree.In tools option we have the "object
identification" drop down list.There we have the java option to recognise the objects there select
the tree option.Add the properties to be recognised.Then the QTP will start

34. what if storage limit of shared object repository exceeds its limit(2 MB).how this kind
of situation
One can use advanced object repository Editor from Sirus SQA

35. Explain as to how would you design the driver code for a keyword based test script.

36. Testing > QTPWhich feature of QTP would you like to improve ?How would you go
about implementing it ?(This

37. How can we do the Frame work in QTP

38. how many types of recording modes in QTP?describe each type with an example
where we use them?
3 types of recording modes in QTP.1.norma 2.analog mode 3.low level recording mode.pls
describe where we use them exactly..

39. What is the file extension of the code file & object repository file in QTP?

40. I want to open a Notepad window without recording a test and I do not want to use
SystemUtil.Run command
Another alternative to open a notepad is to use ShellObject. Check out with the following
example:Dim aSet a = WScript.CreateObject ("WSCript.shell")a.run "notepad.exe"

41. How many types of Actions are there in QTP?

In qtp 3 types of action r there 1)re-usable2)no-reusable3)Nested
Jagan Mohan Julooru

42. How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the
there's an in-built functionality called "Step Generator" in Insert->Step->Step Generator -F7,
which will generate the scripts as u enter the appropriate steps.

43. Explain the concept of object repository & how QTP recognises objects?
with QTP 8.2 ,there available QTP Plus,setup.It provides Repositories Merge Utility.The Object
Repository Merge Utility enables user to merge Object repository files into a single Object
repository file.

44. How do you data drive an external spreadsheet?

Import from External Spreadsheet File by selecting Import then From File . Which imports a
tabbed text file or a single sheet from an existing Microsoft Excel file into the table. The sheet
you import replaces all data in the currently selected sheet of the table, and the first row in the

45. IF we use batch testing.the result shown for last action only.in that how can i get
result for every
click on the icon in the tree view to view the result of every action

46. How to handle dynamic objects in QTP?

Using GETRO Property we will handle the runtime objects.

47. Can you do more than just capture and playback?

Yes you can do more than capture/playback. Descriptive Programming is the answer to this
question. We can write scripts without recording and it would still work fine.

48. How to handle the exceptions using recovery secnario manager in Qtp?
There are 4 trigger events during which a recovery scenario should be activated. They are A pop
up window appears in an opened application during the test run. A property of an object changes
its state or value. A step in the test does not run successfully. An open application fails

49. What are the Features & Benefits of Quick Test Pro(QTP)..?
Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality
Center. Introduces next-generation “zero-configuration” Keyword Driven testing technology in
QuickTest Professional 8.0 — allowing for fast test creation, easier maintenance, and more
powerful data-driving capability

50. How does Parameterization and Data-Driving relate to each other in QTP?

51. Explain in brief about the QTP Automation Object Model.

52. What is a Run-Time Data Table? Where can I find and view this table?
The test results tree also includes the table-shaped icon that displays the run-time Data Table—a
table that shows the values used to run a test containing Data Table parameters or the Data
Table output values retrieved from a test while application test run.

53. What are the different scripting languages you could use when working with QTP ?
This will also support java script, but i hve not tries refer Quick test plus help for each function
they have give code in vbs and js.

54. How do you test siebel application using qtp?

In SWE section u need to addAutomationEnable = TRUE and at the same time you need to use
SWECmd= AutoOn in the URL
Jagan Mohan Julooru

55. How the exception handling can be done using QTP

Recovery scenario manager provides a wizard that guides you through the defining recovery
scenario. Recovery scenario has three steps 1. Triggered Events 2. Recovery steps 3. Post
Recovery Test-Run

56. What is the difference between check point and output value.
additional comment on Above comment:An output value is a value retrieved during the
runsession and entered into runtime table or data table subsequently it can be used as input
value in your test.

57. What are the properties you would use for identifying a browser & page when using
descriptive programming
Logical Name of BrowserLogical Name of Pagee.g. Browser("myBrowser").Page("myPage")

58. What projects have you used WinRunner on? Tell me about some of the challenges
that arose and how you
pbs :WR fails to identify the object in gui. If there is a non std window obk wr cannot recognize it
,we use GUI SPY for that to handle such situation

59. Differentiate the two Object Repository Types of QTP.

In Qtp there are 2 object repositories, they are1.Shared Object Repository2.Per Action Mode,by
default it's per action mode.we will use shared OR for calling a particular action,it's like calling
external libraries.we will use per action for a particular action ie, for one action only.

60. Explain the concept of how QTP identifies object.

During recording qtp looks at the object and stores it as test object.For each test object QT learns
a set of default properties called mandatory properties,and look at the rest of the objects to check
whether this properties are enough to uniquely identify the object. During test run,QT

61. What is the difference between Call to Action and Copy Action.?
when u insert a call to action,they r read only in the calling test.It can be modified in the original
test.where as come to copy action,you can make changes to the copied action,your changes will
not effect the original action where it created.

62. have you ever written a compiled module? If yes tell me about some of the functions
that you wrote.
functions for Capturing the dynamic data during runtime. Function used for Capturing Desktop,
browser and pages.

63. Explain what the difference between Shared Repository and Per_Action Repository
In Shared reporsitory, one object is used in more than one actions and in per action reporsitory,
everytime in every action, objects are stored differently and are not shared.

64. Discuss QTP Environment.

QuickTest Pro environment using the graphical interface and ActiveScreen technologies - A
testing process for creating test scripts, relating manual test requirements to automated
verification features - Data driving to use several sets of data using one test script.

65. What the differences are and best practical application of each.
Per Action: For Each Action, one Object Repository is created. Shared : One Object Repository
is used by entire application

66. Few basic questions on commonly used Excel VBA functions.

common functions are: Coloring the cell Auto fit cell setting navigation from link in one cell to
other saving
Jagan Mohan Julooru

67. Explain the keyword createobject with an example.

Createobject:Creates and returns a reference to an Automation object.Example:Dim
ExcelSheetSet ExcelSheet = CreateObject("Excel.Sheet")

68. How long have you used the product?

69. How to use the Object spy in QTP 8.0 version?

70. Give me an example where you have used a COM interface in your QTP project?
com inteface appears in the scenario of front end and back end.for eg:if you r using oracle as
back end and front end as VB or any language then for better compatibility we will go for an
interface.of which COM wil be one among those intefaces.

71. what is the use of Text output value in Qtp?

Answer posted by shreethik on 2005-06-09 08:36:38: Output values enable to view the values
that the application talkes during run time.When paramaterised, the values change for each
iteration.Thus by creating output values, we can capture the values that the application takes for
each run and output

72. Where can I get Quck Test pro(QTP Pro) software.. This is Just for Information
purpose Only.
Introduction to QuickTest Professional 8.0, Computer Based Training: Please find the step to get
QuickTest Professional 8.0 CBT Step by Step Tutorial and Evaluation copy of the software. The
full CBT is 162 MB. You will have to create account to be able to download evaluation copies of
CBT and Software.Click
Jagan Mohan Julooru


1. what SQL statements have you used in Database Testing?

2. How to test data loading in Data base testing

Using with Query analyser.

3. What is way of writing testcases for database testing?

For writing test cases in Database first one should define the project name, then module,Bug
number,objective,steps/action undertaken,expected result,actual result, then status, priority and

4. What is Database testing?

5. What we normally check for in the Database Testing?

In DB testing we need to check for, 1. The field size validation 2. Check constraints. 3. Indexes
are done or not (for performance related issues) 4. Stored procedures 5. The field size defined in
the application is matching with that in the db.

6. How to Test database in Manually? Explain with an example

We should also check the non editable fields thru databasefor example,If a field is non editable
via front end, then the user should not be allowed to add a record thru database also
Jagan Mohan Julooru