Sie sind auf Seite 1von 39

Jagan Mohan Julooru

WINRUNNER 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 sc
ript? 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, do
cument chackpoint. 5. How to recognise the objects during runtime in new build v
ersion (test suite) comparing with old guim Update GUI map file by teaching the
Winrunner the new objects in the application while it is running. 6. sample code
: wait(20)what is the minimum and maximum time the above mentioned synchronizati
on 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 v
alues for the parameters passed from the main test.These 9. what is the scriptin
g process in winrunner? The testing proces in winrunner or In any typicall autom
ation tools is 1. Learning of objects/Creating Object Repository2. Record the Na
vigation 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 proje
ct and application many test scripts can be generated. The number of test script
s is not fixed. 11. What is the command in Winrunner ti invoke IE Browser?And on
ce I open the IE browser is there a unique web_browser_invoke(IE,URL); 12. How d
o 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 Docum
entation •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. w
hat is use of GUI files in winrunner. GUI files consists of object's physical de
scription( like class,label,MSW class,window). 17. without using the datadriven
test, how can we test the application with different set of inputs? no 18. How d
o 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 itself.load("path");
19. can u tell me the bug life cycle
20. How to find the length of the edit box through WinRunner? The question is qu
ite 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 loo
king 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 winruun
er test files , its extension.? 22. what is candidate release?? When a tester ha
s completed the testing of a project and the AUT has been moved to production en
vironment and been accepted by the stakeholders then the tester is released or s
igned 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 va
riable can be declared only within a function and is local to thatfunction. It e
xists 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 a
ppropriate test data, observing the outcome, and retesting as needed to make sur
e 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 c
ompany'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? Sru
janWe can test performnace somehow using winrunner.Using TSL function get_time()
; 27. What is the framework of winrunner? Depending on the Project what Architec
ture we had Designed (Test Automation Architecture For Winrunner) for the projec
t.We will place all the folders in our centralized repository like this COMPANYN
AME_PROJECTNAME_AUTOMATION this is the main folder and the sub folders are Ex: T
est Data,GUI 28. How WinRunner reads the color of the window/Object? winrunner c
annot read the colour of the objects but it can differentiate between them by bi
tmap checkpoint and if there is a pixel difference between the images it shows t
he 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 p
roject 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 Broke
n-links using Winrunner? 32. how can we get the day of the week for specific dat
e in winnrunner? is it possible? time_str([expression]) function will give the d
ay of the week for specific date in winnrunner.I appreciate your deep and excell
ence work in winrunner. 33. How do you check thecurrent item value in the list a
fter 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 i
t from the filelater to compare 34. how can we remove the data driven wizard scr
ipt from the existing script ? if there any settings available There is no Wizar
d to remove DDT, you need to remove manually the following statementsddt_open, d
dt_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 th
e 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 close
s each window, leaving space for you to add code (through recording or programmi
ng) that checks the window WinRunner, Mercury Interactive and the Mercury Intera
ctive 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, pr
ogramming, or a combination of both. While recording tests, insert checkpoints w
here you want to check 39. How you will make changes in thousands of automated s
cripts if interface and functionality of application If there are thousands of s
cripts 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 cr
iteria 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 strate
gy 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 Give
n a set_window("main",10); what is the essential of 10?Anwer:The meaning of 10 h
ere is timing for the execution of that statement.If you are using synchronizati
on 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 co
de sleep(10); set_window("main",5); what will be the result? 45. what is the dif
ference between winrunner 7.0 version and winrunner 7.5 version. 46. A screen wi
th 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, w
here 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 fi
eld is alphanumberic/numberic,in this situation we can use regualr expression.Ex
ample 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 Winrun
ner? Nobody will write test cases in WinRunner. Just we will write the Test Scri
pt for a corresponding test case. Initially we write all manual test cases. We w
ill write the test scripts for the corresponding test cases. 51. How cache memor
y is released in winrunner? Restart the winrunner.It will help you. 52. Which Ty
pe 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. Ho
w do you call windows APIs, explain with an example? LOAD THE DLL WHICH CONTAINS
THE FUNCTIONS WHICH U WANT TO USE (EX : USER32.DLL) DECLARE THE FUNCTION IN UR
SCRIPT WITH "EXTERN" KEYWORD. USE IT WHERE EVER IT IS REQUIRED. 54. Have you use
d WinRunner in your project? WinRunner for creating automates scripts for GUI, f
unctional and regression testing of the AUT. 55. How you created you test script
s 1) by recording or 2) programming? Programming. I have done complete programmi
ng only, absolutely no recording. 56. Difference Between set_window and win_acti
vate set_window: specifies the window to receive subsequent input and (optionall
y)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 i
t 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 se
lecting the statements which you want to comment and press Ctrl and T. 58. How a
n Argument is passed in WinRunner Select File menu / Test Properties, click on T
est Parameters Tab then click on Add button to create a Parameter. You need to p
ass a value while calling this script. 59. How do you view the results of file c
omparison? file_compare(file_1,file_2[,save_file]); 60. What is the difference b
etween script and compile module? Test script contains the executable file in Wi
nRunner while Compiled Module is used to store reusable functions. Complied modu
les are not executable. b. WinRunner performs a precompilation automatically whe
n it saves a module assigned a property value of “Compiled Module”. c. By defaul
t 61. How do you update your expected results? help of updating mode 62. why cho
ose winrunner , being it is costly tool ? it depends on the choice of the end us
er. If the user feels that the AUT is extensive and could really benefit from us
ing WR and if there are plenty of Versions/Data Driven Test/Regression cycles et
c 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 functio
n 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 expect
ed 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 i
s 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 subfolde
r under the test. A subfolder is also 69. What are the stages in winrunner? Lear
ning the objects through guimapin the application/Recording/Editing/Running/Anal
ysis of results/Report the Defects 70. How WinRunner handles varying window labe
ls? We can handle varying window labels using regular expressions. WinRunner use
s two “hidden” properties in order to use regular expression in an object’s phys
ical 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_Br
owser_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 vario
us check points? Once the script is executed which has multiple checkpoints, the
test results window shows a detailed information of whether the chekpoint passe
d 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 functi
on. STEP TO CURSOR->Runs 74. How do you declare external functions in TSL? Exter
nal functions are declared using the "extern" declaration that references an ext
ernal function. The syntax is: extern (parameter1,parameter2....). type--> refer
s 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(ste
p_name, status, description); 76. What is a watch list? Watch list enables to mo
nitor the values of variables, expressions and arrays while we debug a test scri
pt. 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 i
n the test script, or in a specified function. You may want to stop a test run u
sing a breakpoint in order to: 1.monitor the entries in the Watch List 2.begin s
tepping through a test script 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 an
y message you Answers: 1. Dialog box with any message, and edit field create_inp
ut_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. 8
1. What is the purpose of Wdiff utility? WDiff v1.49 utility that displays diffe
rences between text files in directories (folders) or zip archives. 82. Write an
d 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, express
ion1 is executed. Next, expression2 is evaluated. If expression2 is true, statem
ent 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 win
dow or object in a GUI Map. When WinRunner runs a test, it uses the GUI map to l
ocate objects. It reads an object’s description in the GUI map and then looks fo
r an object with the same properties in the application being tested. Each of th
ese 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 applic
ation being tested. 86. Have you created test scripts and what is contained in t
he 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 c
an then enhance your recorded test script, either by typing in additional TSL fu
nctions 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 perform
ed 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 fun
ctionalities 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 encounte
rs a checkpoint in the test script, it compares the current data of the applicat
ion being tested to the expected data captured earlier. If any mismatches are fo
und, WinRunner captures them as actual results. 90. How do you analyze results a
nd report the defects? Following each test run, WinRunner displays the results i
n 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 mis
matches are detected at checkpoints during the test run, you can view the expect
ed 91. What is the use of Test Director software? TestDirector is Mercury Intera
ctive’s software test management tool. It helps quality assurance personnel plan
and organize the testing process. With TestDirector you can create a database o
f manual and automated tests, build test cycles, run tests, and report and track
defects. You can also 92. How you integrated your automated scripts from TestDi
rector? 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 automate
d script then TestDirector will build a skeleton for the script 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 applicati
on by identifying Graphical User Interface (GUI) objects.
Jagan Mohan Julooru
ii. Analog recording records keyboard input, mouse clicks, and the precise x- an
d 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 sel
ected will be listed in the function generator and while executing the script on
ly those functions in the loaded add-in will be executed 95. What are the reason
s that WinRunner fails to identify an object on the GUI? WinRunner fails to iden
tify 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 ver
sion, GUI Map Editor will not be able to learn any of the objects displayed in t
he browser window. 96. What do you mean by the logical name of the object. An ob
ject’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 t
hen what will be the logical name? If the object does not have a name then the l
ogical name could be the attached text. 98. What is the different between GUI ma
p and GUI map files? The GUI map is actually the sum of one or more GUI map file
s. There are two modes for organizing GUI map files. i. Global GUI Map file: a s
ingle GUI Map file for the entire application ii. GUI Map File per Test: WinRunn
er 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. Th
e 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 script
s. 101. What is the purpose of set_window command? Set_Window command sets the f
ocus to the specified window. We use this command to set the focus to the requir
ed window before executing tests on a particular window. Syntax: set_window(<log
ical name>, time); The logical name is the logical name of the window and time i
s 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 disa
dvantage of loading the GUI maps through start up scripts? If we are using a sin
gle GUI Map file for the entire AUT then the memory used by the GUI Map may be m
uch 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_a
ll command to unload all the GUI Map files loaded in the memory. Syntax: GUI_clo
se(<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, t
he information about the windows and the objects with their logical names and ph
ysical description are loaded into memory. So when the WinRunner executes a scri
pt on a particular window, it can identify the objects using this information lo
aded in the memory. 106. What is the purpose of the temp GUI map file? While rec
ording a script, WinRunner learns objects and windows by itself. This is actuall
y 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 GU
I 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 c
lick the Find button, which gives 109. What different actions are performed by f
ind and show button? To find a particular object in the GUI Map file in the appl
ication, select the object and click the Show window. This blinks the selected o
bject. To find a particular object in a GUI Map file click the Find button, whic
h 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 memo
ry. 111. How do you modify the logical name or the physical description of the o
bjects in GUI map? You can modify the logical name or the physical description o
f an object in a GUI map file using the GUI Map Editor. 112. When do you feel yo
u need to modify the logical name? Changing the logical name of an object is use
ful when the assigned logical name is not sufficiently descriptive or is too lon
g. 113. What is the purpose of regexp_label property and regexp_MSW_class proper
ty? 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 reg
exp_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 exp
ression? We can suppress the regular expression of a window by replacing the reg
exp_label property with label property. 115. How do you copy and move objects be
tween different GUI map files? We can copy and move objects between different GU
I Map files using the GUI Map Editor. The steps to be followed are: i. Choose To
ols > GUI Map Editor to open the GUI Map Editor. ii. Choose View > GUI Files. ii
i. 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 G
UI 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 “Cl
ear 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 spec
ified logical name. ii. Physical description displays only objects matching the
specified physical description. Use any substring belonging to the 119. How do y
ou 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 prop
erties to provide a unique identification of the object.Many applications also c
ontain custom GUI objects. A custom object is any object not belonging to one 12
0. What is the purpose of GUI map configuration? GUI Map configuration is used t
o map a custom object to a standard object. 121. How do you make the configurati
on and mappings permanent? The mapping and the configuration you set are valid o
nly for the current WinRunner session. To make the mapping and the configuration
permanent, you must add configuration statements to your startup test script. 1
22. What is the purpose of GUI spy? Using the GUI Spy, you can view the properti
es of any GUI object on your desktop. You use the Spy pointer to point to an obj
ect, and the GUI Spy displays the properties and their values in the GUI Spy dia
log box. You can choose to view all the properties of an object, or only the sel
ected set of 123. What is the purpose of obligatory and optional properties of t
he objects? For each class, WinRunner learns a set of default properties. Each d
efault property is classified “obligatory” or “optional”. i. An obligatory prope
rty is always learned (if it exists). ii. An optional property is used only if t
he 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 loca
tion indicator and index indicator in GUI map configuration? 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 avail
able: i. A location selector uses the spatial position of objects. 126. How do y
ou 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 standard 127. What
is the name of custom class in WinRunner and what methods it applies on the cus
tom objects? WinRunner learns custom class objects under the generic “object” cl
ass. WinRunner records operations on custom objects using obj_ statements.
Jagan Mohan Julooru
128. In a situation when obligatory and optional both the properties cannot uniq
uely identify an object what In cases where the obligatory and optional properti
es do not uniquely identify an object, WinRunner uses a selector to differentiat
e between them. Two types of selectors are available: i. A location selector use
s 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) Ignore. Record instructs WinRunner to record all operations
performed on a GUI object. This is the default record method for all classes. (T
he only exception is the static class (static text), for which the default is Pa
ss Up.) b. Pass Up instructs WinRunner to record an operation performed on this
class 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 Optio
ns dialog box is the start up file in WinRunner. 131. What are the virtual objec
ts and how do you learn them? Applications may contain bitmaps that look and beh
ave like GUI objects. WinRunner records operations on these bitmaps using win_mo
use_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. An
alog recording records keyboard input, mouse clicks, and the precise x- and ycoo
rdinates 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 t
he application being tested to its behavior in an earlier version. You can add f
our types of checkpoints to your test scripts: i. GUI checkpoints verify informa
tion about GUI objects. For example, you can check that a button is enabled or 1
34. 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 ar
e the synchronization points? Synchronization points enable you to solve anticip
ated 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 p
oint that causes the test to wait until the database records are loaded on the s
creen. 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 cal
led parameterizing your test. The data is stored in a data table. 137. How do yo
u 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, t
he type of functionality tested, a detaileddescription of the test, and a refere
nce to the relevant functional specifications
Jagan Mohan Julooru
138. What do you verify with the GUI checkpoint for single property and what com
mand 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 ite
m in a list is selected. To create a GUI checkpoint for a property value, use th
e Check Property dialog box to add one of the following functions to the test sc
ript 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
performs 140. What do you verify with the GUI checkpoint for multiple objects an
d 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 G
UI Checkpoint for Multiple Objects button on the User toolbar. If you are record
ing 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 i
n which file expected results are stored? The checklist file contains informatio
n about the objects and the properties of the object we are verifying. b. The gu
i*.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 comma
nd it generates, explain You can check an object, a window, or an area of a scre
en 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 expect
ed results folder (exp) of the test, and inserts a checkpoint in the test script
. When 143. What do you verify with the bitmap checkpoint for screen area and wh
at command it generates, explain You can define any rectangular area of the scre
en and capture it as a bitmap for comparison. The area can be any size: it can b
e 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, relati
ve to the 144. What do you verify with the database checkpoint default and what
command it generates, explain synta By adding runtime database record checkpoint
s 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 versi
ons of your 145. How do you handle dynamically changing area of the window in th
e bitmap checkpoints? The difference between bitmaps option in the Run Tab of th
e 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 c
ommand 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 proper
ties 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 res
ult set ii. edit the expected results 147. What do you verify with the sync poin
t for object/window property and what command it generates, explain Synchronizat
ion compensates for inconsistencies in the performance of your application durin
g 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 point 148. What do you verify with the syn
c 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, WinRun
ner suspends test execution until the specified bitmap is redrawn, and then comp
ares the current bitmap with the expected one captured 149. What do you verify w
ith 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 a
nd verify the application screen area with the bitmap file during execution Synt
ax: obj_wait_bitmap(object, image, time, x, y, width, height); 150. How do you e
dit checklist file and when do you need to edit the checklist file? WinRunner ha
s an edit checklist file option under the create menu. Select the “Edit GUI Chec
klist” to modify GUI checklist file and “Edit Database Checklist” to edit databa
se checklist file. This brings up a dialog box that gives you option to select t
he checklist file 151. How do you edit the expected value of an object? We can m
odify the expected value of the object by executing the script in the Update mod
e. We can also manually edit the gui*.chk file which contains the expected value
s which come under the exp folder to change the values. 152. How do you modify t
he 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 mo
de. 153. How do you handle ActiveX and Visual basic objects? WinRunner provides
with add-ins for ActiveX and Visual basic objects. When loading WinRunner, selec
t those add-ins and these add-ins provide with a set of functions to work on Act
iveX and VB objects. 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 driv
en test? We can create a data-driven testing using data from a flat file, data t
able 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 tex
t file? You can use Data Junction to create a conversion file which converts a d
atabase to a target text file.
Jagan Mohan Julooru
157. How do you parameterize database check points? When you create a standard d
atabase checkpoint using ODBC (Microsoft Query), you can add parameters to an SQ
L 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 que
ry changes. 158. How do you create parameterize SQL commands? A parameterized qu
ery is a query in which at least one of the fields of the WHERE clause is parame
terized, 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 command
s: 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_valu
e 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 syntax? You can use text check
points in your test scripts to read and check text in GUI objects and in areas o
f the screen. While creating a test you point to an object or a window containin
g text. WinRunner reads the text and writes a TSL statement to the test script.
You may then add simple programming 161. Explain Get Text checkpoint from object
/window with syntax? We use obj_get_text (<logical_name>, <out_text>) function t
o 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 checkpo
int from screen area with syntax? We use win_get_text (window, out_text [, x1, y
1, x2, y2]) function to get the text from a window. 163. Explain Get Text checkp
oint 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, te
xt_after, index]); i. object The logical name of the object. ii. table_row If th
e object is a table, it specifies the location of the row within a table. The st
ring is preceded by 164. Explain Get Text checkpoint web text checkpoint with sy
ntax? 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_aft
er] ); object The logical name of the object to search. b. table_row If the obje
ct is a table, it specifies the location of the row within a table. 165. Which T
SL 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 sear
ched for. The string must be complete, contain no spaces, and it must be precede
d and followed by a space outside the quotation marks. To specify a literal, cas
esensitive 166. What are the steps of creating a data driven test? The steps inv
olved in data driven testing are: i. Creating a test ii. Converting to a data-dr
iven 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 scrip
t 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 pro
vides 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 Verif
y mode to check your application. ii. Debug 1. Use the Debug mode to help you id
entify 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: dd
t_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 unexpect
ed 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 h
andle the following types of exceptions: Pop-up exceptions: Instruct WinRunner t
o detect and handle the appearance of a specific window. TSL exceptions: Instruc
t 171. How do you handle pop-up exceptions? A pop-up exception Handler handles t
he pop-up messages that come up during the execution of the script in the AUT. T
O handle this type of exception we make WinRunner learn the window and also spec
ify 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 you
r application. If your application crashes, you want WinRunner to recover test e
xecution. A TSL exception can instruct 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 ru
n 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 recover 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 fr
equently from other tests. When you load a compiled module, its functions are au
tomatically compiled and remain in memory. You can call them directly from withi
n 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 ex
ecutes another statement. It has the following syntax: if ( expression ) stateme
nt1; [ else statement2; ] expression 177. Write and explain switch command? A sw
itch 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 defau
lt: 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 us
e 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 appl
ication. Syntax: invoke_application(file, command_option, working_dir, SHOW); 18
0. 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 Genera
tor 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 pe
rform 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 statemen
ts to invoke one test from another: i. A call statement invokes a test from with
in 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 us
ed 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 tes
t execution entirely, unless tests are being called from a batch test. In this c
ase, 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 t
est. b. To set the search path, choose Settings > General Options. The General O
ptions dialog box opens. Click the Folders tab and choose a search path in the S
earch Path for Called Tests box. WinRunner searches 185. How you create user-def
ined functions and explain the syntax? A user-defined function has the following
structure: [class] function name ([mode] parameter...) { declarations; statemen
ts; }b. The class of a function can be either static or public. A static functio
n 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? Th
e class of a function can be either static or public. b. A static function is av
ailable only to the test or module within which the function was defined. c. Onc
e you execute a public function, it is available to all tests, for as long as th
e 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 th
e function. b. out: A parameter that is assigned a value from inside the functio
n. 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 c
ontrol back to the calling function or test. It also returns the value of the ev
aluated expression to the calling function or test. If no expression is assigned
to the return statement, an empty string is returned. Syntax: return [( express
ion )]; 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 funct
ion. It exists
Jagan Mohan Julooru
only for as long as the function is running. A new copy of the variable is creat
ed each time the function is called. b. static: A static variable is local to th
e function, test, or compiled module 190. How do you declare constants? The cons
t 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, th
e 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? T
he 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_ex
pression] c. The array class may be any of the classes used for variable declara
tions (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 t
he module. You can load it from within any test script using the load command; a
ll tests will then be able to access the function until you quit WinRunner or un
load the compiled module. b. You can load a module either as 193. Why you use re
load 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 func
tions 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 1
94. How do you load and unload external libraries? load_dll(path name); unload_d
ll(path name); 195. What are batch tests and how do you create and run batch tes
ts ? A batch test is a script that contains call statements to other tests.A bat
ch 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 differenc
e being that all messages like pause,wait...etc are suppressed 196. How do you e
xecute 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 comman
d 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_s
elect_timeout timeout :Instructs WinRunner to wait the specified time (in second
s) 198. During debugging how do you monitor the value of the variables?
Jagan Mohan Julooru
LOAD RUNNER 1. Can we test j2me application with load runner ? What is load test
ing? - 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 determ
ine weather it can handle peak usage periods. What is Performance testing? - Tim
ing for both read and update transactions should 2. Which protocol has to be sel
ected for record/playback Oracle 9i application? Seeing your application is runn
ing on which protocol, any of these protocols can be set because all are support
ive for Load RunnerODBCSybase libOracle libPeople softSapBaanSiebelRTEFTSMTPPOPH
TTPRMICORBACOM/DCOMJDBCWindows sockets 3. What are the enhancements which have b
een 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 run
ner 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.Cre
ate a scenario by replacing the VUser script with the GUI WinRunner script.2.Sel
ect Host>Details options from menu3.Enable the check box for GUI Winrunner(Manda
tory 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 pa
rameterisation in load runner?List the step to do strees testing?How many termin
als pls send me answer to tkkumar3@yahoo.co.in 7. What are the steps for doing l
oad 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. n
ull 10. What enables the controller and the host to communicate with each other
in Load Runner? following component should enabled on Host machine.1. Agent 2. R
emote louncher 11. Where is Load testing usually done? The Load testing is carri
ed 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 t
he requirements. To speak more precisely the Load testing Episode is carried onc
e the Performance exercise 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 sy
stem loading expected to occur during specific business scenario? 16. What is ru
n-time-setting. Run-time-setting include loop.log and timing information. 17. Wh
en load runner is used . When multiple users work concurrently . 18. What protoc
ols does LoadRunner support? Answered by jayashree on 2005-05-10 00:24:47: Indus
try standard protocols for example HTTP and ODBC are explicitly supported by Loa
dRunner. 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 execution.
20. What is rendezvous point. To emulate peak load on the server. 21. What is lo
ad runner. Load runner accurately measure and analysis the system performance an
d 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 m
ultiple 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 wher
e 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 correl
ation, 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 correlate
d. 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 be 25. How do we do the correclation? Establish items
to be correlated (dynamic value) Find the left and right boundary of the occurre
nces of the dynamic value Add a web_reg_save funtion to parameterise all occurre
nces of the dynamic value- text between the left and right boundary.(Remember th
e escape character 26. What is Correlation in Loadrunner? Correlation is the i
dentifying and resolving data which are , unique for each run of the script or e
ach iteration of an action. These dynamic data differ in each replay from the or
iginal recording and causes the replay to fail. 27. What are the advantage of us
ing load runner. 1-loadrunner automatically records the performance of the clien
t/server during test. 2-loadrunner
Jagan Mohan Julooru
checks where performance delays occur network/client delays. 3-loadrunner monito
r the network and server resource to help the improve performance. 28. What is s
cenario. A scenario defines the events that occur during is testing session. Exa
m (deposit cash, withdraw money…). 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 me
asure 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 vuser. 33. When the rendezvous point is insert . When
multiple vuser to perform tasks at exactly the same time then insert the rendezv
ous point to emulate the peak load on the server. 34. What is load runner contro
ller . Controller is manage and maintain the scenario . using controller you con
trol all the vuser in single work station . 35. what is Host. Host is machine wh
ich execute the vuser script. 36. what are the load runner testing process . The
re are 5 steps. 1-planning the test. 2-creating the vuser script. 3-creating the
scenario. 4running the scenario. 5-analysis the test result. 37. what are the p
rocess for developing a vuser script. There are 5 steps for developing a vuser s
cript. 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 in
to a load runner scenario. 38. how to create a scenario . We have to install loa
d runner controller to the host . Then we include list of host(where vuser scrip
t execute) then list of vuser script (where vuser run) and then list of vuser th
at run during the scenario. 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 controlle
r. 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 use
r interface application and it can run in either the MS-Windows / X-Windows envi
ronment . 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 as
semble in C, SQL call to the database, written in TSL(test script language). 50.
how you enhance the basic script . By adding control-flow, structure, by insert
ing transaction point and rendezvous point, adding functions 51. what is stand-a
lone 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 F
unction.(vuser function) 2- protocol function. 53. what is LR-function. obtain t
he 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 conta
in 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 t
he 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 a
nd server. 60. how you edit the script . While editing the script we have to ins
erting 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. S
yntax. Lr-start-transaction("transaction name"). 62. what is the load runner end
transaction and its syntax. It will end the transaction. Syntax. Lr-end-transac
tion("transaction name", LR-AUTO). 63. where you insert the rendezvous point . R
endezvous point insert in to the script to calculate the peak load of the server
. Syntax. lrrendezvous("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 a
ppear 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-transacti
on windows(display all the transaction) . 5-output window( display error and not
ification message). 66. what is .lrs. Load runner save the information in a scen
ario 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 th
e vuser in the vuser list. In order to their vuser ID(1,2,3,4,5,6,7,8,9). 69. wh
at are the information crating for each host. 1-the status of the host. 2-the pl
atform type of the host(windows/unix). 3-details of the scenario. 70. how to cre
ate a host list for a scenario. 1-install remote command luncher on every machin
e. 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 vu
ser that host can run. 2-the initialization quota . 3-the location of the win ru
nner configuration file. 4. the location of the file during run-time. 73. how yo
u set maximum number of vuser that a host can run. We can modify the maximum num
ber 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 a
t a time how many vuser Are initialize . 75. when the load runner controller ope
n the win runner file then what is the location of the winner configuration Wrun
.ini. 76. what is scenario default . Instruct the vuser to use the win runner co
nfiguration file. 77. what is local configuration file. Instruct the vuser to us
e hosts win runner configuration file. 78. what do you mean by path. Use win run
ner 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 e
ach host. 80. what is script list. It contain all the vuser script that vuser ca
n 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 i
nformation dialog box. 83. what is the purpose of running the scenario . To chec
k the response time of the client/server system under load. 84. why we insert th
e 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 in
voke the application that you select to run with the scenario . 3- then transfor
m each script to its related hosts, when the vuser are ready they start executio
n. 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 RE
ADY. 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 exe
cute vuser script during each second of the scenario run. Only running and rende
z state are include.(loading, ready and pause are not displayed) . 90. what is r
eport viewer . Each report viewer contain the report header and report viewer to
ol bar.
Jagan Mohan Julooru
91. what is report header and what are the information contains. It display gene
ral scenario information and it contain the information like (title, scenario, r
esult start time, end time and duration). 92. what is rendezvous graph. It indic
ate when vuser were released from rendezvous point and how many vuser are releas
ed from each point.it help the transaction performance time . 93. what is transa
ction per second graph(pass). It display the number of complited , successful tr
ansaction perform during each second of scenario run. 94. what is transaction pe
r second graph(pass). 95. what in percentile graph. The percentage of transactio
n that were performed within a given time range. 96. what is transaction perform
ance graph. Display the average time taken to perform transaction during each se
cond 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 diffe
rent licence management available.For a normal loadrunner license we can generat
e upto 250 users...thats the maximum limit............but depends on what kind o
f licence u have 98. What are the Vuser components in LoadRunner? ApplicationCom
ponents used are client, database or additionally business application server.)
Web Server works on and through LAN,WAN,or www connection. Application Server co
mponents are client, business server and database server without use of www.but
through Protocols like 99. What are the reasons why parameterization is necessar
y when load testing the Web server and the database Parameterization is generall
y 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 sy
stem time at any given point of time while load runner script is running.This fu
nctiona can be used to report transaction times , script starti time and end tim
e. long 101. What do I need to know to do load testing in addition to knowing ho
w to use the Load-Runner tool? In addition to knowing the tool : - Management as
pects of Load Testing, Planning being paramount - Requirements gathering, Profil
e/Mix, SLA, Acceptance Criteria.... - an general understanding of the protocol y
ou are working with, developers can be unhelpful - a basic understanding
Jagan Mohan Julooru
BUG TRACKING INTERVIEW QUESTIONS 1. Describe Error Handling in the FRD 2. whats
the difference between usecase,testcase,testplan,and scenario and their template
s. use case - Desighned before the project started.Test Case - which contains th
e test data .test plan - A detailed plan to outline when to start and when to st
op 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 details. Firstly i will c
ontact to TL ..after confirmation from him i will forward this bug to Concerned
Developer..... 4. What is the difference between a Bug and a Defect? Defect: Mis
sing 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 p
ost 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 rationa
l 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 Defe
cts ------------------------------ 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 min
imal 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 w
ho opened it in the first place. Anyone can resolve it, but only the person
Jagan Mohan Julooru
TESTING COMMON INTERVIEW QUESTIONS 1. what is contained in srs?,give a sample sr
s.what is cohesive testing and span control? 2. What is Difference Between QA pl
an and Test Plan? QA is more over prevention thing which works towards non occur
ance of error- were as tesplan come s in testin i.e in quality control which wor
ks towards how to identify defects/errors 3. what is the Test server 4. What are
all the key factors to write system test plan? keyfactors 5. How to perform int
egration 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 a
n 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 company, 7.
How can you know if a test case is necessary? 8. What is peer review in practic
al 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 ad
equately 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. O
therwise, Peer Reviews are a good way of evaluating the test cases. 11. What wil
l 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. Tes
ter 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 prepa
red 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 L
ife Cycle. 14. How to write Negative Testcase?Give ex. Negative test cases are w
ritten based on thinking abt AUT in a destructive manner in the sense,what happe
ns if i test the application with irrelevant inputs. 15. In an application curre
ntly 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 applicatio
n 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 an
d what are various Test strategy is creating a procedure of how to test the soft
ware and creating a strategy what all to be tested(screens,process,modules,..)an
d time limts for testing process(automated or manual) .So everything has to be p
lanned and implemented.Testing overall procedure isThe duties of software test 1
7. What is the most challenging situation you had during testing 18. what are yo
u going to do if there is no Functional Spec or any documents related to the sys
tem and developer First of all, when a developer left then another one in or som
eone assigned to take care of the responsibilities.Most of the functional testin
g needs more knowledge about the product then the code. Be familiarize with the
code. Research similar product in the market. Increase communication with relate
d 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 test
ing.1. Functionality testing.2. Input domain testing.3.Error handling testing.ab
out 90% of the functional testing will be covered with teh completion of above t
hree.4. Recovery testing.5.Compatibility testing6.Configuration testing7.Intersy
stems testing8.Installation 21. 1.how will u write integration test cases2.how w
ill 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 t
asks that users will accomplish using the software, and includes the responses o
f the software to user actions. Use cases may be included in the Software Requir
ements Document (SRD) as a way of 22. what is the difference between smoke testi
ng and sanity testing smoke testing is conducted by development people according
to the clients requirements.the first test conducted by testing people when bui
ld is received is called sanity testing.in sanity testing testing people check t
he basic functionality i.e whether all buttons are working or not etc 23. What i
s Random Testing? Random data tests confort the application under test with inpu
t data generated at random.Typically,testers pay no attention to expect data typ
es.They feed a random sequence of numbers,letters & characters into nummeric dat
a field. 24. What is smoke testing? during this test test engineer reject build
with reason, when that build is not working before testing process 25. What is s
tage containment in testing? 26. Security testing and Performance testing on Com
munication 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 use
d as a bench mark to gather the readiness of the application for automated testi
ng
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 whe
re as Robot, we can use it for both functional (GUI) and performance(VU).-> WR h
as 4 check points where as Robot has 13 verification points. 30. What is the tes
ting 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 prev
ent the errors in the program. 32. Difference between QA and QC? simple definiti
ons are: QA:assurance for process control.here we r going to follow certain qual
ity standards and strive for process improvement.we r not going to deal with pro
duct.the intension is to follow good quality standards.if we follow these automa
tically we are going to produce better/best 33. what is the difference between r
etest and regression testing? hello friends regarding retesting and regression t
esting 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 appli
cation then testing that particular unit is retesting.regression testing 34. Wha
t 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 ba
ckground and home work may shine in this question. System testing is a testing o
f the entire system as a whole. This is what user see and feels about the produc
t you provide. Integration testing is the testing of integration of different mo
dules of the system. Usually, the integration 36. What is a bug? What types of b
ugs do you know? Bug is a error during execution of the program. There are two t
ypes 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 alg
orithm or code. Functional testing is a "black box" (behavioral) testing where t
he tester verifies the functional specification. 38. What is defect density? def
ect density = Total number of defects/LOCHere the Total number of defects includ
e the defects from Review and from the customer also 39. How would you test a mu
g (chair/table/gas station etc.)? First of all you must demand requirements and
functional specification and design document of the mug. There will find require
ments like ability to hold hot water, waterproof, stability, break ability and s
o on. Then you should test the mug according to all documents. 40. What is consi
dered a successful test? A test that discovered more errors. The whole purpose o
f 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, th
erefore considered more successful.
Jagan Mohan Julooru
41. What bug tracking system did you use? Again and again, it does not matter wh
at bug tracking system did you use if you made your homework and invented the na
me 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 a
nother dealing with databases) 42. When does testing begin - requirements, plan,
design, code / testing phase? Obviously Testing will begins in requirement phas
e. 43. Could you test a program 100%? 90%? Why? Definitely not! The major proble
m with testing that you cannot calculate how many error are in the code, functio
ning etc. There are many factors involved such as experience of programmer, comp
lexity of the system etc. 44. What is the difference between testing and debuggi
ng? Big difference is that debugging is conducted by a programmer and the progra
mmer fix the errors during debugging phase. Tester never fixes the errors, but r
ather find them and return to programmer. 45. How would you conduct your test? E
ach test is based on the technical requirements of the software product. 46. Hav
e you used automatic testing tools. Which ones? If you never have seen automatio
n tools before, do not try to fool around the interviewer. You produce a bad imp
ression 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 t
hose tools were proprietary automation 47. How would you build a test with WinRu
nner? Rational Visual Test? First of all, see the comments to the previous quest
ion. Then, all automation testing tools I ever heard of have a GUI recorder whic
h 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 do
wn-top? What is it? Which one is better? Down-Top: unit -> interface -> system.
Top-Down is a vice versa. You may use both, but downtop allows to discover malfu
nctioning at earlier phases of development and cheaper to fix than in the case o
f top-down. 50. How to develop a test plan ? How to develop a test case? Test pl
an consists of test cases. Test cases you develop according to requirement and d
esign documents of the unit, system etc. You may be asked what would you do if y
ou are not provided with requirements documents. Then, you start creating your t
est 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 st
ages of the development process in order to create an adequate test cases and be
tter general understanding of the system. QA, however, must be separated from th
e development team to ensure that there is no influence of developers on QA engi
neers. 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, b
ut 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 di
fference 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 ev
er worked with Oracle, this question should be trivial for you to answer (from c
ommand prompt, of course) If you never worked with Oracle, note politely that yo
u did not touch an Oracle database on your career path. 55. What version of OS w
ere you using? Tell whatever you want - you can t be caught here. Popular answer
s are Windows 95/98, Windows 2000 (make sure you know various flavors) and vario
us Unix flavors (AIX, Solaris, SunOS, HPUX etc.) 56. Have you tested front-end o
f back-end? In other word you are asked if you tested GUI part of the applicatio
n or server part of your application. 57. What was the most difficult problem yo
u 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 ow
n resume. You must know your real or fake resume as a bible. Practice in front o
f 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 experienc
e are targeting the testing techniques enhancements and you feel proud of your c
ontribution to the whole development process. 60. What role do you see yourself
in 2-3 years from now? Would you want to become a developer? You should not conc
entrate 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 l
ead of QA team is OK, but do not answer yes when asked if you are willing to bec
ome a developer.
Jagan Mohan Julooru
QTP INTERVIEW QUESTIONS 1. How can an object from a per action repository be cal
led to another per action repository? 2. How you write scripts in QTP? What s th
e 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 t
ell me how to invoke an application in QTP.Forexample:In winrunner we use 5. dif
ferenced between quick test proffesional version 5.6 and 8.2 These are the new f
eatures which are available in QTP8.2 and which are not present in 6.5 version.K
eyword View: Lets you easily build and maintain tests without writingVBScripts.A
utoDocumentation: Provides improved test clarity and the ability toview test ste
ps 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 name? 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 enter. 7. How can i add a action (external action) programatically? You can
add an external Action programatically using the CommandRunAction ActionName, [I
terationMode , IterationRange]Before you can use the RunAction statement in the
Expert View for an external action, you must first call or copy the external act
ion 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
insertCopy 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 i
n 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===et
c 11. how can u discribe the basic flow of automation with conditional and progr
amatic Executing of operators flow in the automation code if the question is tha
t then my answer is ===For example: z = 78 * (96 + 3 + 45)There are five operato
rs in this expression: =, *, (), +, and another +. According to the rules of ope
rator precedence, they are evaluated 12. HOW CAN I IMPLEMENT ERROR HANDLING IN Q
TP,I KNOW WITH RECOVERY MANAGER BUT HOW PLZ GIVE ME DETAILED TO U can do it thru
Recovery Manager..Eg...Suppose there is an Edit box called Uname n PWD...Just t
ype in uname n don t enter in PWD..It displays a pop up msg called plz,,enter PW
D...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 u
sed 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 deta
iled 16. How to select particular value from the combo box in the current page w
hich is entered in the previous
17. If you have the same application screen with 7 drop down boxes and approxima
tely 70 values how do you Record the 7 test objects (dropdown boxs) and there wi
ll be many 70 properties ( and their associated bvalues) Drop Down Box 1 18. Whe
n 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 needed. 19. what is the descrirptive progrmaing?.what is the u
se of descriptive programing? Descriptive programming is used to identify the ob
jects that are not/cannot be stored in the object repository. Descriptive progra
mming can be implemented by creating and using a Description object. 20. I Have
an interview in Qtp..Please could any one give me the hints what will they ask i
n interview..this
21. How to instruct QTP to display errors and ther description in the test resul
ts instead of halting execution Make use of Reporter.Reportevent eg.var=statemen
tif var="True" ThenReporter.Reportevent 0,"Step Name","Description of the Passed
step"elseReporter.Reportevent 1,"Step Name","Description for the failed step"En
d 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 progr
amming? Please see Questions Number 13 for answer. Its just 4 Questions above th
is questions. You can find answer there.Thanks, Venkat 24. How to add run-time p
arameter to a datasheet? Try using this line of code.DataTable("Col Name",dtGlob
alSheet/LocalSheet)="Col Value"The only disadvantage with tihs code is, u will b
e able to see the parameter till the script is running, once stopped the paramet
er 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 witho
ut using a GUI in QTP? GUI in Qtp?do you mean to say Object repository?without O
R,tester need to write descriptive
Jagan Mohan Julooru
tests,where you would directly assign property values and write methods.you do n
ot need to save OR. 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 Repositorie
s Merge Utility to merge all my different repositories into a single Merge Utili
ty 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 c
urrent object that Use Err.descriptionExample. msgbox "Error:"&err.description 3
1. 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 synt
ax 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 optio
n we have the "object identification" drop down list.There we have the java opti
on to recognise the objects there select the tree option.Add the properties to b
e 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 advanc
ed object repository Editor from Sirus SQA 35. Explain as to how would you desig
n the driver code for a keyword based test script. 36. Testing > QTPWhich featur
e of QTP would you like to improve ?How would you go about implementing it ?(Thi
s 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 recordin
g modes in QTP.1.norma 2.analog mode 3.low level recording mode.pls describe whe
re we use them exactly.. 39. What is the file extension of the code file & objec
t repository file in QTP? .TSR 40. I want to open a Notepad window without recor
ding 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:Di
m aSet a = WScript.CreateObject ("WSCript.shell")a.run "notepad.exe" 41. How man
y types of Actions are there in QTP? In qtp 3 types of action r there 1)re-usabl
e2)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 difference there s an in-built functionality called "Step Generator" i
n Insert->Step->Step Generator -F7, which will generate the scripts as u enter t
he appropriate steps. 43. Explain the concept of object repository & how QTP rec
ognises objects? with QTP 8.2 ,there available QTP Plus,setup.It provides Reposi
tories Merge Utility.The Object Repository Merge Utility enables user to merge O
bject repository files into a single Object repository file. 44. How do you data
drive an external spreadsheet? Import from External Spreadsheet File by selecti
ng Import then From File . Which imports a tabbed text file or a single sheet fr
om an existing Microsoft Excel file into the table. The sheet you import replace
s all data in the currently selected sheet of the table, and the first row in th
e 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 pl
ayback? Yes you can do more than capture/playback. Descriptive Programming is th
e answer to this question. We can write scripts without recording and it would s
till 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 a
ctivated. They are A pop up window appears in an opened application during the t
est 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 Mer
cury Business Process Testing and Mercury Quality Center. Introduces next-genera
tion “zero-configuration” Keyword Driven testing technology in QuickTest Profess
ional 8.0 — allowing for fast test creation, easier maintenance, and more powerf
ul 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 tes
t results tree also includes the table-shaped icon that displays the run-time Da
ta 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 applicati
on test run. 53. What are the different scripting languages you could use when w
orking 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. Ho
w do you test siebel application using qtp? In SWE section u need to addAutomati
onEnable = 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 p
rovides a wizard that guides you through the defining recovery scenario. Recover
y scenario has three steps 1. Triggered Events 2. Recovery steps 3. Post Recover
y Test-Run 56. What is the difference between check point and output value. addi
tional 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 u
sed as input value in your test. 57. What are the properties you would use for i
dentifying a browser & page when using descriptive programming Logical Name of B
rowserLogical Name of Pagee.g. Browser("myBrowser").Page("myPage") 58. What proj
ects 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 situat
ion 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 def
ault 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 act
ion ie, for one action only. 60. Explain the concept of how QTP identifies objec
t. During recording qtp looks at the object and stores it as test object.For eac
h 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 b
etween Call to Action and Copy Action.? when u insert a call to action,they r re
ad only in the calling test.It can be modified in the original test.where as com
e 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 compil
ed 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 Deskt
op, browser and pages. 63. Explain what the difference between Shared Repository
and Per_Action Repository In Shared reporsitory, one object is used in more tha
n one actions and in per action reporsitory, everytime in every action, objects
are stored differently and are not shared. 64. Discuss QTP Environment. QuickTes
t Pro environment using the graphical interface and ActiveScreen technologies -
A testing process for creating test scripts, relating manual test requirements t
o automated verification features - Data driving to use several sets of data usi
ng 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 r
eturns 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 us
ed 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 e
nable to view the values that the application talkes during run time.When parama
terised, 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. W
here can I get Quck Test pro(QTP Pro) software.. This is Just for Information pu
rpose Only. Introduction to QuickTest Professional 8.0, Computer Based Training:
Please find the step to get QuickTest Professional 8.0 CBT Step by Step Tutoria
l 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.Clic
k
Jagan Mohan Julooru
DATABASE TESTING 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. W
hat 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,object
ive,steps/action undertaken,expected result,actual result, then status, priority
and severity. 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 validat
ion 2. Check constraints. 3. Indexes are done or not (for performance related is
sues) 4. Stored procedures 5. The field size defined in the application is match
ing with that in the db. 6. How to Test database in Manually? Explain with an ex
ample 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

Das könnte Ihnen auch gefallen