Você está na página 1de 21

Jagan Mohan Julooru

LOAD RUNNER

1. Can we test j2me application with load runner ?


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

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


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

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

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

5. How to call winrunner script in Loadrunner?


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

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


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

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

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

9. What is planning for the test.


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

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

11. Where is Load testing usually done?


The Load testing is carried in the controlled environment based on the requirement specs from
the client the Load Test Plan followed with the scenarios are created & executed to match the
requirements. To speak more precisely the Load testing Episode is carried once the Performance
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 system loading expected to occur during specific business
scenario?

16. What is run-time-setting.


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

17. When load runner is used .


When multiple users work concurrently .

18. What protocols does LoadRunner support?


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

19. What do you mean by creating vuser script.


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

20. What is rendezvous point.


To emulate peak load on the server.

21. What is load runner.


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

22. What can I monitor with LoadRunner?


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

23. What are all the types of correlation?


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

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

25. How do we do the correclation?


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

26. What is 'Correlation' in Loadrunner?


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

27. What are the advantage of using load runner.


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

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

28. What is scenario.


A scenario defines the events that occur during is testing session. Exam (deposit cash, withdraw
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 measure and record the performance of the server
during the scenario.

32. What is transaction .


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

33. When the rendezvous point is insert .


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

34. What is load runner controller .


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

35. what is Host.


Host is machine which execute the vuser script.

36. what are the load runner testing process .


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

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


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

38. how to create a scenario .


We have to install load runner controller to the host . Then we include list of host(where vuser
script execute) then list of vuser script (where vuser run) and then list of vuser that run during the
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 controller.

41. how you load a load runner Agent.


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

42. how many types of vuser are available .


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

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


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

44. what is MS-windows.


Win runner used for MS-Window application .

45. what is X-Windows.


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

46. what is load runner API function .


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

47. how you develop the database vuser script .


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

48. what is VuGen.


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

49. how many section database vuser script have.


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

50. how you enhance the basic script .


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

51. what is stand-alone mode.


To verify that the script runs correctly .

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

53. what is LR-function.


obtain the information about vuser running in a scenario .

54. what is protocol function.


Obtain the information about the type of vuser.

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

56. what is vuser-init section .


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

57. what is action section .


Record the client activity .
Jagan Mohan Julooru

58. what is vuser-end section.


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

59. how vugen create a vuser script.


By recording the activity between client and server.

60. how you edit the script .


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

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


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

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

63. where you insert the rendezvous point .


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

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


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

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

66. what is .lrs.


Load runner save the information in a scenario files.

67. what is scenario wizard .


Through scenario wizard we can create a new scenario.

68. what is filtering and sorting.


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

69. what are the information crating for each host.


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

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


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

71. how to modify the host attribute .

72. what the host attributes determine .


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

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

74. what do you mean by initialization of quota.


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

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

76. what is scenario default .


Instruct the vuser to use the win runner configuration file.

77. what is local configuration file.


Instruct the vuser to use hosts win runner configuration file.

78. what do you mean by path.


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

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

80. what is script list.


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

82. how to modify the script.


Using vuser script information dialog box.

83. what is the purpose of running the scenario .


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

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

85. when a scenario run exactly what happened .


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

86. how to run a scenario.


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

87. when you initialize the vuser what happen .


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

88. what is pause command.


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

89. what is running virtual user graph.


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

90. what is report viewer .


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

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

92. what is rendezvous graph.


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

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


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

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

95. what in percentile graph.


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

96. what is transaction performance graph.


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

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


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

98. What are the Vuser components in LoadRunner?


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

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

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


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

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


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

3. How we can explain a bug which may arrive at the time of tesing. explain that bugs in
details.
Firstly i will contact 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: Missing requirements is called defect.Bug:Dis satisfaction of the requirements.

5. How to post a BUG


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

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

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

8. Top Ten Tips for Bug Tracking


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

TESTING COMMON INTERVIEW QUESTIONS

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


control?

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


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

3. what is the Test server

4. What are all the key factors to write system test plan?
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,

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

8. What is peer review in practical terms?


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

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

10. Who approved your test cases?


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

11. What will you when you find a bug?


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

12. What test plans have you written?


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

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

14. How to write Negative Testcase?Give ex.


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

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


necessary to re-
Jagan Mohan Julooru

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

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

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

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

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

20. What are the types of functional testing?


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

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

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

23. What is Random Testing?


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

24. What is smoke testing?


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

25. What is stage containment in testing?

26. Security testing and Performance testing on Communication interface

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


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

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

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


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

30. What is the testing process?


Verifying that an input data produce the expected output.

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

32. Difference between QA and QC?


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

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


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

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

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

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


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

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


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

38. What is defect density?


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

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


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

40. What is considered a successful test?


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

41. What bug tracking system did you use?


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

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

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


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

44. What is the difference between testing and debugging?


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

45. How would you conduct your test?


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

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


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

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

48. What is considered a good test?


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

49. How would you conduct a test: top-down or down-top? What is it? Which one is
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.

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


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

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

52. What is the size of your executable?


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

53. What version of Oracle database did you use?


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

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


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

55. What version of OS were you using?


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

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


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

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

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


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

59. Why do you like to test?


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

60. What role do you see yourself in 2-3 years from now? Would you want to become a
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

QTP INTERVIEW QUESTIONS

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?

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


SystemUtil.Run "iexplore"

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


winrunner we use

5. differenced between quick test proffesional version 5.6 and 8.2


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

6. How would u manipulate the script so that when the test is run it takes a new login
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,
[IterationMode , IterationRange]Before you can use the RunAction statement in the Expert View
for an external action, you must first call or copy the external action into your test by choosing
Insert > Copy

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

9. what is meant by SOURCE CONTROL ?


It is used to hold all the bulids of diff versions

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


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

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

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

13. How to recall a function in QTP


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

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

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

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

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

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

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


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

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

23. What is descriptive programming?


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

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


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

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

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


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

tests,where you would directly assign property values and write methods.you do not need to save
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 Repositories Merge Utility to merge all my different repositories
into a single
Merge Utility have a lot of problems, try don't use this for file biggest the 8 MB

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

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

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


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

33. how to handle java tree in QTP


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

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

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

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

37. How can we do the Frame work in QTP

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

39. What is the file extension of the code file & object repository file in QTP?
.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"

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


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

42. How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the
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.

44. How do you data drive an external spreadsheet?


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

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

46. How to handle dynamic objects in QTP?


Using GETRO Property we will handle the runtime objects.

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


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

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

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

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

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

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

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

54. How do you test siebel application using qtp?


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

55. How the exception handling can be done using QTP


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

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

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

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

59. Differentiate the two Object Repository Types of QTP.


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

60. Explain the concept of how QTP identifies object.


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

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

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

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

64. Discuss QTP Environment.


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

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

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


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

67. Explain the keyword createobject with an example.


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

68. How long have you used the product?

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

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

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


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

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

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. What is way of writing testcases for database testing?


For writing test cases in Database first one should define the project name, then module,Bug
number,objective,steps/action undertaken,expected result,actual result, then status, priority and
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 validation 2. Check constraints. 3. Indexes
are done or not (for performance related issues) 4. Stored procedures 5. The field size defined in
the application is matching with that in the db.

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


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

Você também pode gostar