Professional Documents
Culture Documents
WINRUNNER
1. PLz tell me any another function in winnrunner for file comparison except
file_compare(,,)?. Or give
5. How to recognise the objects during runtime in new build version (test suite)
comparing with old guim
Update GUI map file by teaching the Winrunner the new objects in the application while it is
running.
6. sample code: wait(20)what is the minimum and maximum time the above mentioned
synchronization statements
The maximum time is 20 seconds and the minimum time is one second
7. Where in the user-defined function library should a new error code be defined?1.At the
begining of the
8. In a modular test tree,each test will receive the values for the parameters passed from
the main test.These
11. What is the command in Winrunner ti invoke IE Browser?And once I open the IE
browser is there a unique
web_browser_invoke(IE,URL);
12. How do you load default comments into your new script like IDE's?
13. what is the new feature add in qtp 8.0 compare in qtp 6.0
•Advanced Key word Driven •Auto Documentation •Business Process Testing •Added Parameters
for parameterization •Step Generator for adding programmatic statements with having
programming knowledge. •Highlight option in Object Repository •Results file in XML format
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
17. without using the datadriven test, how can we test the application with different set of
inputs?
no
20. How to find the length of the edit box through WinRunner?
The question is quite ambiguous. Yet, the answer is in 2 fold.1. If you are seeking for length of the
text, then there is length function avialable in winrunner.2. If you are looking for the edit box's (as
a control) length, which is nothing but width, then here is the code:obj_get_info(edit_box, "width"
23. what type of variables can be used with in the TSL function???
tiger Wrote: auto , static public,extern variables.auto: An auto variable can be declared only within
a function and is local to thatfunction. It exists only for as long as the function is running. A new
copy of thevariable is created each time the function is called.static: A static variable is
32. how can we get the day of the week for specific date in winnrunner? is it possible?
time_str([expression]) function will give the day of the week for specific date in winnrunner.I
appreciate your deep and excellence work in winrunner.
33. How do you check thecurrent item value in the list after I open a web page with this list
in WinRunner
list_get_selected ( list, out_item, out_num );will solve the problem that I have.It will return an item
(out_item) and the postion(out_num ) that is currently shown on the list.To check the with the
previous values I can store theprevious values in file and then read it from the filelater to compare
34. how can we remove the data driven wizard script from the existing script ? if there any
settings available
There is no Wizard to remove DDT, you need to remove manually the following
statementsddt_open, ddt_get_row_count, ddt_set_row, ddt_val, ddt_close
36. What are the test case that we go for automate?What is the process that we go while
we are going before
39. How you will make changes in thousands of automated scripts if interface and
functionality of application
If there are thousands of scripts and a CR forces all the scripts to modify accordingly, it's always
better to create the GUI files again and rerecord the scenarios, where the CRs affects.
41. What does Entry criteria and Exit criteria in the test plan means?
entry criteria: sign off proposal document by the client.exit criteria: sign off of test plan document
by the client (test strategy document)
43. Given a set_window("main",10); what is the essential of 10? what difference it makes
with synchronizatio
Given a set_window("main",10); what is the essential of 10?Anwer:The meaning of 10 here is
timing for the execution of that statement.If you are using synchronization then the statement is
wait untill the point given by u is not meets but here the statement is using default time
44. In a winRunner script let say we have code sleep(10); set_window("main",5); what will
be the result?
45. what is the difference between winrunner 7.0 version and winrunner 7.5 version.
46. A screen with 10 records is displayed, On Clicking of each and every column, it should
sort all the records
47. What do you mean by "Regular Expressions" ? In Real time, where we will use this?
Give me some
While using an web application,if suppose u want to captured filed value that is alphanumeric for
one iteration and numeric for another iteration,so we can't able to check/verify our result whether
the field is alphanumberic/numberic,in this situation we can use regualr expression.Example
66. How do you run your script with multiple sets of expected results?
through DDT
71. How do you test a web application without opening the webbrowser?
Use Web_Browser_Invoke(IE, URL); to invoke the browser through the test script instead of
opening the application.
72. How do you view and evaluate test results for various check points?
Once the script is executed which has multiple checkpoints, the test results window shows a
detailed information of whether the chekpoint passed or failed.As we know, checkpoints compare
the expected results with the actual results, we can evaluate the result.
73. What is the purpose of step, step into, step out, step to cursor commands for
debugging your scrip
The purpose of the commands are : STEP--> Runs a single lline of the TSL script. STEP INTO-->
Calls and displays another test/user-defined function. STEP OUT-->Used in conjunction to STEP
INTO and completes the execution of the called test/user defined function. STEP TO CURSOR--
>Runs
79. Write TSL functions for the following interactive modes: i. Creating a dialog box with
any message you
Answers: 1. Dialog box with any message, and edit field create_input_dialog ( message
); message - Any expression. This expression will appear in the dialog box as a single
line. Return Values - This function returns a string. If no string is found or if the Cancel button is
80. What TSL function you will use to pause your script?
we can also pause the script using pause() command.
86. Have you created test scripts and what is contained in the test scripts?
It contains the statement in Mercury Interactive’s Test Script Language (TSL). These statements
appear as a test script in a test window. You can then enhance your recorded test script, either by
typing in additional TSL functions and programming elements
ii. Analog recording records keyboard input, mouse clicks, and the precise x- and y-coordinates
traveled by
95. What are the reasons that WinRunner fails to identify an object on the GUI?
WinRunner fails to identify an object in a GUI due to various reasons. i. The object is not a
standard windows object. ii. If the browser used is not compatible with the WinRunner version,
GUI Map Editor will not be able to learn any of the objects displayed in the browser window.
97. If the object does not have a name then what will be the logical name?
If the object does not have a name then the logical name could be the attached text.
98. What is the different between GUI map and GUI map files?
The GUI map is actually the sum of one or more GUI map files. There are two modes for
organizing GUI map files. i. Global GUI Map file: a single GUI Map file for the entire application ii.
GUI Map File per Test: WinRunner automatically creates a GUI Map file for each test created.
GUI Map file
100. When you create GUI map do you record all the objects of specific objects?
If we are learning a window then WinRunner automatically learns all the objects in the window
else we will we identifying those object, which are to be learned in a window, since we will be
working with only those objects while creating scripts.
103. What is the disadvantage of loading the GUI maps through start up scripts?
If we are using a single GUI Map file for the entire AUT then the memory used by the GUI Map
may be much high. If there is any change in the object being learned then WinRunner will not be
able to recognize the object, as it is not in the GUI Map file loaded in the memory. So we will have
to learn
109. What different actions are performed by find and show button?
To find a particular object in the GUI Map file in the application, select the object and click the
Show window. This blinks the selected object. To find a particular object in a GUI Map file click
the Find button, which gives the option to select the object. When the object is selected, if the
110. How do you identify which files are loaded in the GUI map?
The GUI Map Editor has a drop down “GUI File” displaying all the GUI Map files loaded into the
memory.
111. How do you modify the logical name or the physical description of the objects in GUI
map?
You can modify the logical name or the physical description of an object in a GUI map file using
the GUI Map Editor.
112. When do you feel you need to modify the logical name?
Changing the logical name of an object is useful when the assigned logical name is not
sufficiently descriptive or is too long.
115. How do you copy and move objects between different GUI map files?
We can copy and move objects between different GUI Map files using the GUI Map Editor. The
steps to be followed are: i. Choose Tools > GUI Map Editor to open the GUI Map Editor. ii.
Choose View > GUI Files. iii. Click Expand in the GUI Map Editor. The dialog box expands to
display two GUI
116. How do you select multiple objects during merging the files?
Use the Shift key and/or Control key to select multiple objects. To select all objects in a GUI map
file, choose Edit > Select All.
Jagan Mohan Julooru
123. What is the purpose of obligatory and optional properties of the objects?
For each class, WinRunner learns a set of default properties. Each default property is classified
“obligatory” or “optional”. i. An obligatory property is always learned (if it exists). ii. An optional
property is used only if the obligatory properties do not provide unique
125. What is the purpose of location 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 available: i.
A location selector uses the spatial position of objects.
127. What is the name of custom class in WinRunner and what methods it applies on the
custom objects?
WinRunner learns custom class objects under the generic “object” class. WinRunner records
operations on custom objects using obj_ statements.
Jagan Mohan Julooru
128. In a situation when obligatory and optional both the properties cannot uniquely
identify an object what
In cases where the obligatory and optional properties do not uniquely identify an object,
WinRunner uses a selector to differentiate between them. Two types of selectors are available: i.
A location selector uses the spatial position of objects. ii. An index selector uses a unique number
to identify
129. What is the purpose of different record methods 1) Record 2) Pass up 3) As Object 4)
Ignore.
Record instructs WinRunner to record all operations performed on a GUI object. This is the
default record method for all classes. (The only exception is the static class (static text), for which
the default is Pass Up.) b. Pass Up instructs WinRunner to record an operation performed on this
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 Options dialog
box is the start up file in WinRunner.
131. What are the virtual objects and how do you learn them?
Applications may contain bitmaps that look and behave like GUI objects. WinRunner records
operations on these bitmaps using win_mouse_click statements. By defining a bitmap as a virtual
object, you can instruct WinRunner to treat it like a GUI object such as a push button, when you
record and run
137. How do you maintain the document information of the test scripts?
Before creating a test, you can document information about the test in the General and
Description tabs of the Test Properties dialog box. You can enter the name of the test author, the
type of functionality tested, a detaileddescription of the test, and a reference to the relevant
functional specifications
Jagan Mohan Julooru
138. What do you verify with the GUI checkpoint for single property and what command it
generates, explain
You can check a single property of a GUI object. For example, you can check whether a button is
enabled or disabled or whether an item in a list is selected. To create a GUI checkpoint for a
property value, use the Check Property dialog box to add one of the following functions to the test
script
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 and what command it
generates, explain
To create a GUI checkpoint for two or more objects: i. Choose Create > GUI Checkpoint > For
Multiple Objects or click the GUI Checkpoint for Multiple Objects button on the User toolbar. If you
are recording in Analog mode, press the CHECK GUI FOR MULTIPLE OBJECTS softkey in order
to avoid extraneous
141. What information is contained in the checklist file and in which file expected results
are stored?
The checklist file contains information about the objects and the properties of the object we are
verifying. b. The gui*.chk file contains the expected results which is stored in the exp folder
142. What do you verify with the bitmap check point for object/window and what
command it generates, explain
You can check an object, a window, or an area of a screen in your application as a bitmap. While
creating a test, you indicate what you want to check. WinRunner captures the specified bitmap,
stores it in the expected results folder (exp) of the test, and inserts a checkpoint in the test script.
When
143. What do you verify with the bitmap checkpoint for screen area and what command it
generates, explain
You can define any rectangular area of the screen and capture it as a bitmap for comparison. The
area can be any size: it can be part of a single window, or it can intersect several windows. The
rectangle is identified by the coordinates of its upper left and lower right corners, relative to the
144. What do you verify with the database checkpoint default and what command it
generates, explain synta
By adding runtime database record checkpoints you can compare the information in your
application during a test run with the corresponding record in your database. By adding standard
database checkpoints to your test scripts, you can check the contents of databases in different
versions of your
145. How do you handle dynamically changing area of the window in the bitmap
checkpoints?
The difference between bitmaps option in the Run Tab of the general options defines the
minimum number of pixels that constitute a bitmap mismatch
146. What do you verify with the database check point custom and what command it
generates, explain synta
When you create a custom check on a database, you create a standard database checkpoint in
which you can specify which properties to check on a result set. b. You can create a custom
Jagan Mohan Julooru
check on a database in order to: i. check the contents of part or the entire result set ii. edit the
expected results
147. What do you verify with the sync point for object/window property and what
command it generates, explain
Synchronization compensates for inconsistencies in the performance of your application during a
test run. By inserting a synchronization point in your test script, you can instruct WinRunner to
suspend the test run and wait for a cue before continuing the test.b. You can a synchronization
point
148. What do you verify with the sync point for object/window bitmap and what command
it generates, explain
You can create a bitmap synchronization point that waits for the bitmap of an object or a window
to appear in the application being tested. b. During a test run, WinRunner suspends test
execution until the specified bitmap is redrawn, and then compares the current bitmap with the
expected one captured
149. What do you verify with the sync point for screen area and what command it
generates, explain synta
For screen area verification we actually capture the screen area into a bitmap and verify the
application screen area with the bitmap file during execution Syntax: obj_wait_bitmap(object,
image, time, x, y, width, height);
150. How do you edit checklist file and when do you need to edit the checklist file?
WinRunner has an edit checklist file option under the create menu. Select the “Edit GUI
Checklist” to modify GUI checklist file and “Edit Database Checklist” to edit database checklist
file. This brings up a dialog box that gives you option to select the checklist file
160. What check points you will use to read and check text on the GUI and explain its
syntax?
You can use text checkpoints in your test scripts to read and check text in GUI objects and in
areas of the screen. While creating a test you point to an object or a window containing text.
WinRunner reads the text and writes a TSL statement to the test script. You may then add simple
programming
162. Explain Get Text checkpoint from screen area with syntax?
We use win_get_text (window, out_text [, x1, y1, x2, y2]) function to get the text from a window.
163. Explain Get Text checkpoint from selection (web only) with syntax?
Returns a text string from an object. web_obj_get_text (object, table_row, table_column, out_text
[, text_before, text_after, index]); i. object The logical name of the object. ii. table_row If the object
is a table, it specifies the location of the row within a table. The string is preceded by
164. Explain Get Text checkpoint web text checkpoint with syntax?
We use web_obj_text_exists function for web text checkpoints. web_obj_text_exists ( object,
table_row, table_column, text_to_find [, text_before, text_after] ); object The logical name of the
object to search. b. table_row If the object is a table, it specifies the location of the row within a
table.
167. Record a data driven test script using data driver wizard?
You can use the DataDriver Wizard to convert your entire script or a part of your script into a
Jagan Mohan Julooru
data-driven test. For example, your test script may include recorded operations, checkpoints, and
other statements that do not need to be repeated for multiple sets of data
180. Which TSL function you will use to compare two files?
We can compare 2 files in WinRunner using the file_compare function. Syntax: file_compare
(file1, file2 [, save file]);
182. What is the use of putting call and call_close statements in the test script?
You can use two types of call statements to invoke one test from another: i. A call statement
invokes a test from within another test. ii. A call_close statement invokes a test from within a
script and closes the test when the test is completed.
183. What is the use of treturn and texit statements in the test script?
The treturn and texit statements are used to stop execution of called tests. i. The treturn
statement stops the current test and returns control to the calling test. ii. The texit statement stops
test execution entirely, unless tests are being called from a batch test. In this case, control is
184. Where do you set up the search path for a called test.
The search path determines the directories that WinRunner will search for a called test. b. To set
the search path, choose Settings > General Options. The General Options dialog box opens.
Click the Folders tab and choose a search path in the Search Path for Called Tests box.
WinRunner searches
185. How you create user-defined functions and explain the syntax?
A user-defined function has the following structure: [class] function name ([mode] parameter...) {
declarations; statements; }b. The class of a function can be either static or public. A static function
is available only to the test or module within which the function was defined. c. d. Parameters
189. What does auto, static, public and extern variables means?
auto: An auto variable can be declared only within a function and is local to that function. It exists
Jagan Mohan Julooru
only for as long as the function is running. A new copy of the variable is created each time the
function is called. b. static: A static variable is local to the function, test, or compiled module
195. What are batch tests and how do you create and run batch tests ?
A batch test is a script that contains call statements to other tests.A batch test is created by
selecting the "Run in batch mode" from the run tab in the Tools-->General Options. A batch test
runs as a regular test. The only difference being that all messages like pause,wait...etc are
suppressed
196. How do you execute your tests from windows run command?
u can execute ur test in c compiler with window run command.as tsl is c based language
198. During debugging how do you monitor the value of the variables?
Jagan Mohan Julooru
LOAD RUNNER
3. What are the enhancements which have been included in loadrunner 8.0 when
compared to loadrunner 6.2?
HiHow can i get the winrunner an the loadrunner wizard? I would like to learn how to use it ?Can
you please suggest a site where i can load it from..
4. Can we use Load Runner for testing desktop applications or non web based
applications and how do we use
Yes we can use LoadRunner for the desktop appliocation. When you start load runner VU
generator , it asks you to select the type of protocal to use. There you have plenty of options from
E-business application( web based) to client/server applications. hopr it helps
7. What are the steps for doing load and performance testing using Load Runner?Note: I
need the actual process
8. What is concurrent load ? and corollation? what is the processof load runner?
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. Remote louncher
14. According to Market analysis 70% of performance problem lies with what?
15. What is the level of system loading expected to occur during specific business
scenario?
24. What are all the functions available in Loadrunner to do the corrlation?
Wdiff -This is a Loadrunner tool which can be user to spot the dynamic data to be
correlated. web_reg_save_param (const char *ParamName, <List of Attributes>, LAST); This is a
built in loadrunner function that can be used to find and save occurrences of a text string (text to
be
checks where performance delays occur network/client delays. 3-loadrunner monitor the network
and server resource to help the improve performance.
52. what type of function generate and insert by the vugen to the script when you record a
script .
1-LR Function.(vuser function) 2- protocol function.
55. what are the section contain by the vugen while creating a vuser script .
Vugen contain the 3 section . 1-vuser-init 2-action. 3-vuser-end.
62. what is the load runner end transaction and its syntax.
It will end the transaction. Syntax. Lr-end-transaction("transaction name", LR-AUTO).
65. what are the 5 icons appear in the buttom of the controller windows.
1-host windows(list of machine). 2-script windows(list of all the vuser script) 3-rendezvous
windows. 4-transaction windows(display all the transaction) . 5-output window( display error and
notification message).
73. how you set maximum number of vuser that a host can run.
We can modify the maximum number of vuser according to the (available resource , the needs of
your scenario, load runner license agreements).
Jagan Mohan Julooru
75. when the load runner controller open the win runner file then what is the location of
the winner configuration
Wrun.ini.
79. during run time where the hosts saves the files.
In temporally in the local drive of each host.
84. why we insert the rendezvous point while running the scenario.
If a multiple vuser to perform a tasks at exactly the same time.
91. what is report header and what are the information contains.
It display general scenario information and it contain the information like (title, scenario, result
start time, end time and duration).
99. What are the reasons why parameterization is necessary when load testing the Web
server and the database
Parameterization is generally done to test with multiple set of data or records.
101. What do I need to know to do load testing in addition to knowing how to use the
Load-Runner tool?
In addition to knowing the tool : - Management aspects of Load Testing, Planning being
paramount - Requirements gathering, Profile/Mix, SLA, Acceptance Criteria.... - an general
understanding of the protocol you are working with, developers can be unhelpful - a basic
understanding
Jagan Mohan Julooru
3. How we can explain a bug which may arrive at the time of tesing. explain that bugs in
details.
Firstly i will contact to TL ..after confirmation from him i will forward this bug to Concerned
Developer.....
6. how do we track a bug?plz send format of excel sheet in which we write the bug
details?how do we give
There are different bg tracking tools n the market , but rational clear quest is the most commonly
used tool.
7. What are the different types of Bugs we normally see in any of the Project? Include the
severity as wel
1. User Interface Defects -------------------------------- Low 2. Boundary Related Defects -----------------
-------------- Medium3. Error Handling Defects --------------------------------- Medium4. Calculation
Defects ------------------------------------ High5. Improper Service Levels (Control flow defects)
4. What are all the key factors to write system test plan?
keyfactors
5. How to perform integration testing on a web application? What are the considerations?
Detailed pls.
6. If you have an application, but you do not have any requiremnts available, then how
would you perform
With out a requirements documents how can u develop an application .if it is developed without
any requirements then the application is made with assumptions .Then testing is done depending
on the assumptions made through application.In this case, if you are going to work for some
company,
9. How do you know when you have enough test cases to adequately test a software
system or module?
13. What is QA? What is Testing? Are they both same or different?
Testing is subset of QA. Testing is just a phase that comes after coding. But QA is the one that
should be incorporated into the entire Software Development Life Cycle.
1) Test the modified module2) Test all the other modules/areas of the application which will have
direct/indirect interaction with the modified module.
16. What is included in test strategy?What is overall process of testing step by step and
what are various
Test strategy is creating a procedure of how to test the software and creating a strategy what all
to be tested(screens,process,modules,..)and time limts for testing process(automated or manual)
.So everything has to be planned and implemented.Testing overall procedure isThe duties of
software test
17. What is the most challenging situation you had during testing
18. what are you going to do if there is no Functional Spec or any documents related to
the system and developer
First of all, when a developer left then another one in or someone assigned to take care of the
responsibilities.Most of the functional testing needs more knowledge about the product then the
code. Be familiarize with the code. Research similar product in the market. Increase
communication with related
19. What is the major problem did you resolve during testing process
21. 1.how will u write integration test cases2.how will u track bugs from winrunner3.how u
customise the
A use case is a description of how end-users will use a software code. It describes a task or a
series of tasks that users will accomplish using the software, and includes the responses of the
software to user actions. Use cases may be included in the Software Requirements Document
(SRD) as a way of
22. what is the difference between smoke testing and sanity testing
smoke testing is conducted by development people according to the clients requirements.the first
test conducted by testing people when build is received is called sanity testing.in sanity testing
testing people check the basic functionality i.e whether all buttons are working or not etc
31. What is the difference between testing and quality assurance (QA)?
This question is surprisingly popular. However, the answer is quite simple. The goals of both are
different: The goal of testing is to find the errors. The goal of QA is to prevent the errors in the
program.
34. What is the difference between bug priority & bug severity?
HiPrority : Urgency Of the BugSeverity : Impact of the Bug
35. What kinds of testing do you know? What is it system testing? What is it integration
testing? What is
You theoretical background and home work may shine in this question. System testing is a
testing of the entire system as a whole. This is what user see and feels about the product you
provide. Integration testing is the testing of integration of different modules of the system. Usually,
the integration
42. When does testing begin - requirements, plan, design, code / testing phase?
Obviously Testing will begins in requirement phase.
47. How would you build a test with WinRunner? Rational Visual Test?
First of all, see the comments to the previous question. Then, all automation testing tools I ever
heard of have a GUI recorder which allows you to record the basic user interactions with the
software underneath. Then, you manually update your initial script to suit your needs. You must
know scripting
49. How would you conduct a test: top-down or down-top? What is it? Which one is
better?
Down-Top: unit -> interface -> system. Top-Down is a vice versa. You may use both, but down-
top allows to discover malfunctioning at earlier phases of development and cheaper to fix than in
the case of top-down.
51. How do you see a QA role in the product development life cycle?
QA should be involved in early stages of the development process in order to create an adequate
test cases and better general understanding of the system. QA, however, must be separated from
the development team to ensure that there is no influence of developers on QA engineers. As a
last resort before
Jagan Mohan Julooru
57. What was the most difficult problem you ever found while testing?
This is homework. Think about one and give it as an example.
60. What role do you see yourself in 2-3 years from now? Would you want to become a
developer?
You should not concentrate the attention of the interviewer on your wish to become a developer.
You are being hired for testing role and you should demonstrate reliability. Team lead of QA team
is OK, but do not answer yes when asked if you are willing to become a developer.
Jagan Mohan Julooru
1. How can an object from a per action repository be called to another per action
repository?
2. How you write scripts in QTP? What's the main process in QTP? How do you run
scripts in QTP?
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.
8. How can i call a external action which is not added external action of an action. Means I
want to call
Yes u can do it by copying the Action c to Action A...In QTP 8.2 there is an menu called insert-
Copy of Action...
11. how can u discribe the basic flow of automation with conditional and programatic
Executing of operators flow in the automation code if the question is that then my answer is
===For example: z = 78 * (96 + 3 + 45)There are five operators in this expression: =, *, (), +, and
another +. According to the rules of operator precedence, they are evaluated
12. HOW CAN I IMPLEMENT ERROR HANDLING IN QTP,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 type in uname n don't enter in PWD..It displays a pop up msg called plz,,enter
PWD...Then stop recording..Goto Recovery MGR and call POPUP exception handling./../
Jagan Mohan Julooru
14. Give one example where you have used Regular Expression?
While validating 'Date format' .
15. How can I implement error handling in QTP, I know with Recovery Mangaer but how
please give me detailed
16. How to select particular value from the combo box in the current page which is
entered in the previous
17. If you have the same application screen with 7 drop down boxes and approximately 70
values how do you
Record the 7 test objects (dropdown boxs) and there will be many 70 properties ( and their
associated bvalues) Drop Down Box 1
18. When there is a task that gets repeated in multiple scripts, what do you do in QTP?
Split the action related to that task, make it Reusable & then call that Action as many times as
needed.
20. I Have an interview in Qtp..Please could any one give me the hints what will they ask in
interview..this
21. How to instruct QTP to display errors and ther description in the test results instead of
halting execution
Make use of Reporter.Reportevent eg.var=statementif var="True" ThenReporter.Reportevent
0,"Step Name","Description of the Passed step"elseReporter.Reportevent 1,"Step
Name","Description for the failed step"End IfI hope thats it :)
22. How you write scripts in qtp?what's the main process in qtp?How do you run scripts
in Qtp?Please anyone
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.
tests,where you would directly assign property values and write methods.you do not 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
29. I am using the QTPlus Repositories Merge Utility to merge all my different repositories
into a single
Merge Utility have a lot of problems, try don't use this for file biggest the 8 MB
30. if a error occur during the excution of QTP script. how can we get the name of the
current object that
Use Err.descriptionExample. msgbox "Error:"&err.description
34. what if storage limit of shared object repository exceeds its limit(2 MB).how this kind
of situation
One can use advanced object repository Editor from Sirus SQA
35. Explain as to how would you design the driver code for a keyword based test script.
36. Testing > QTPWhich feature of QTP would you like to improve ?How would you go
about implementing it ?(This
38. how many types of recording modes in QTP?describe each type with an example
where we use them?
3 types of recording modes in QTP.1.norma 2.analog mode 3.low level recording mode.pls
describe where we use them exactly..
39. What is the file extension of the code file & object repository file in QTP?
.TSR
40. I want to open a Notepad window without recording a test and I do not want to use
SystemUtil.Run command
Another alternative to open a notepad is to use ShellObject. Check out with the following
example:Dim aSet a = WScript.CreateObject ("WSCript.shell")a.run "notepad.exe"
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" in Insert->Step->Step Generator -F7,
which will generate the scripts as u enter the appropriate steps.
43. Explain the concept of object repository & how QTP recognises objects?
with QTP 8.2 ,there available QTP Plus,setup.It provides Repositories Merge Utility.The Object
Repository Merge Utility enables user to merge Object repository files into a single Object
repository file.
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
48. How to handle the exceptions using recovery secnario manager in Qtp?
There are 4 trigger events during which a recovery scenario should be activated. They are A pop
up window appears in an opened application during the test run. A property of an object changes
its state or value. A step in the test does not run successfully. An open application fails
49. What are the Features & Benefits of Quick Test Pro(QTP)..?
Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality
Center. Introduces next-generation “zero-configuration” Keyword Driven testing technology in
QuickTest Professional 8.0 — allowing for fast test creation, easier maintenance, and more
powerful data-driving capability
50. How does Parameterization and Data-Driving relate to each other in QTP?
52. What is a Run-Time Data Table? Where can I find and view this table?
The test results tree also includes the table-shaped icon that displays the run-time Data Table—a
table that shows the values used to run a test containing Data Table parameters or the Data
Table output values retrieved from a test while application test run.
53. What are the different scripting languages you could use when working with QTP ?
This will also support java script, but i hve not tries refer Quick test plus help for each function
they have give code in vbs and js.
56. What is the difference between check point and output value.
additional comment on Above comment:An output value is a value retrieved during the
runsession and entered into runtime table or data table subsequently it can be used as input
value in your test.
57. What are the properties you would use for identifying a browser & page when using
descriptive programming
Logical Name of BrowserLogical Name of Pagee.g. Browser("myBrowser").Page("myPage")
58. What projects have you used WinRunner on? Tell me about some of the challenges
that arose and how you
pbs :WR fails to identify the object in gui. If there is a non std window obk wr cannot recognize it
,we use GUI SPY for that to handle such situation
61. What is the difference between Call to Action and Copy Action.?
when u insert a call to action,they r read only in the calling test.It can be modified in the original
test.where as come to copy action,you can make changes to the copied action,your changes will
not effect the original action where it created.
62. have you ever written a compiled module? If yes tell me about some of the functions
that you wrote.
functions for Capturing the dynamic data during runtime. Function used for Capturing Desktop,
browser and pages.
63. Explain what the difference between Shared Repository and Per_Action Repository
In Shared reporsitory, one object is used in more than one actions and in per action reporsitory,
everytime in every action, objects are stored differently and are not shared.
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
70. Give me an example where you have used a COM interface in your QTP project?
com inteface appears in the scenario of front end and back end.for eg:if you r using oracle as
back end and front end as VB or any language then for better compatibility we will go for an
interface.of which COM wil be one among those intefaces.
72. Where can I get Quck Test pro(QTP Pro) software.. This is Just for Information
purpose Only.
Introduction to QuickTest Professional 8.0, Computer Based Training: Please find the step to get
QuickTest Professional 8.0 CBT Step by Step Tutorial and Evaluation copy of the software. The
full CBT is 162 MB. You will have to create account to be able to download evaluation copies of
CBT and Software.Click
Jagan Mohan Julooru
DATABASE TESTING