Professional Documents
Culture Documents
1. 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
2. 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
6. What is the file extension of the code file & object repository file in QTP?
Regarding code I have no idea but for object repository there are 2 files Shared repository .tstper
test .mtr
7. 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.
8. What are the properties you would use for identifying a browser & page when using
descriptive programming?
For Browser We will have to see for "title"For Page also We will have to see for "title"
9. 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 functions
they have give code in vbs and js.
10. 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.
VISUAL MIND 1
VISUAL MIND QTP FAQ’s
15. 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
16. How does Parameterization and Data-Driving relate to each other in QTP?
How i can get evaluation version of QTP.
17. 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.
21. 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
22. 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.
23. Have you ever written a compiled module? If yes tell me about some of the functions that
you wrote.
I used the functions for capturing the dynamic data during runtime. Function used for Capturing
Desktop, browser and pages.
VISUAL MIND 2
VISUAL MIND QTP FAQ’s
24. What projects have you used WinRunner on? Tell me about some of the challenges that
arose and how you handled them.
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
27. How to do the scripting. Is there any inbuilt function in QTP as in QTP-S. Whatz the
difference between them? how to handle script issues?
Yes, 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.
28. 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.
29. IF we use batch testing.the result shown for last action only.in that how can i get result for
every action.
u can click on the icon in the tree view to view the result of every action
34. I want to open a Notepad window without recording a test and I do not want to use
SystemUtil.Run command as well how do I do this?
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"
VISUAL MIND 3
VISUAL MIND QTP FAQ’s
35. 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..
37. Testing > QTPWhich feature of QTP would you like to improve? How would you go
about implementing it ?(This question is only to test the candidate, I dont expect any strong
answers. How should be able to convince the interviewer, thats it.)
38. Explain as to how would you design the driver code for a keyword based test script.
39. what if storage limit of shared object repository exceeds its limit(2 MB).how this kind of
situation can be handled?
One can use advanced object repository Editor from Sirus SQA
43. if a error occur during the excution of QTP script. how can we get the name of the
current object that cause the error
44. I am using the QTPlus Repositories Merge Utility to merge all my different repositories
into a single one. After having merged some repositories, I notice that, from the test, you can't
see the web objects that were merged into the reposotory.If you open the merged repository in
the Merge Utility, the web objects appear there.Has anyone encountered this problem? Am I
missing something obvious? Does
46. How can we write scripts without having GUI(means u dont have any GUI and u want to
write a script in QTP)?
48. how to load the *.vbs or test generating script in a new machine?
VISUAL MIND 4
VISUAL MIND QTP FAQ’s
51. How you write scripts in qtp?what's the main process in qtp?How do you run scripts in
Qtp?Please anyone can answer my questions.......
52. How to instruct QTP to display errors and ther description in the test results instead of
halting execution by throwing error in the mid of execution due to an error (for example
Object not found)?
53. I Have an interview in Qtp..Please could any one give me the hints what will they ask in
interview..this is the first interview for me.
2. How will you write test cases for a code currently under development?
The First Thing I will go through the Requirments if it is not understandable then we will conduct
Requirment Analysis within our Team, then if need we will get the knowledge on the product from
the developers.after that i will Prepare Requirement Traceblity
3. Describe the last project scenario and generate test cases for it?
Based on the last project functionality we write test cases for it.
4. If there are a lot of bugs to be fixed, which one would you resolve first
As a tester.. We donot fix bugs.. we only find bugsAs a developer... Bugs are to be fixed basing on
the Priority and severity of bug.Sometimes even the severity is low..but if attaches to major
functionality, then priority will be more to fix that bug..
6. If a customer wants a new feature to be added, how would you go about adding that?
First Dev team do some R &D on required new feature, weather it is feasible or not.. If it is feasible
then onle we will think further on that, We will update our old requirement docs and test plan.
After that we will create some test
7. Did u ever have to deal with someone who doesn't believe in testing? What did u do?
geetanjali Wrote: i will explain if the product will release without testing it can cause loose of
quality, customer relaibilty, loss of reputation, and even loss of life, in a normal IT company there
are 1:1 tester to developer, but in NASA there are
VISUAL MIND 5
VISUAL MIND QTP FAQ’s
1. If characters in new string > characaters in previous string, none of the characters should get
truncated. 2. If characters in new string < characters in previous string, junk characters should not
be added. 3. Spaces
9. Write test cases for char * my_itoa(int n) method? What if this function is mission critical?
How will you test it? How can you speed up the implementation?
char * my_itoa(int n) method For this function : First I will pass correct argument and checks
weather it is functioning correctly or not for correct arguments. I will pass float as argument, and
check weather type casting is happening
12. How will you test a newly installed elevator? What will you be the broad categories of
your test cases.
go through the requirements.. check for the maximum load cpacity.. check wheather the system is
funcitoning properly.. check for the different switches awilable.. check their funtionality...
13. What important test cases will need to be run to test an installable?
15. What are the flaws in water fall model and how to overcome it?
Since testing comes at the last stage , there are huge chances of defect multiplication, defects will
be migrated to every stagewastage of human resuources and time delays are also introduced
18. What is system testing and what are the different types of tests you perform in system
testing?
System testing is a type of Black box testing. System testing means testing the application. After
the integration testing, usually will do system testing. Functionality, Regression, and performance
testings comes under system testing.
19. How do we know about the build we are going to test? where do you see this?
in test plan we r going to have all the details about who should test which tests in a team which is
given by team leader.according to that all the group will do their testing
VISUAL MIND 6
VISUAL MIND QTP FAQ’s
21. What test you perform mostly? Regression or retesting in your testing process?
Retesting is the repeated execution of the test case which results in a fault,with the aim that fault
has been cured,Regression testing is the renewed testing of already tested program or part after
modification with the aim that the modification had
22. What is the major diff. between the Winrunner 6.0 and 7.0 (with internal procedure)?
25. What is the actual different between re-testing and regressiontesting .brefily explain
27. What are the errors encountered while testing an application manually or using
automated tool like Testdirector,Winrunner.
28. What bugs are mainly come in webtesting what severity and priority we are giving
What is the job of the Test Engg when a Project is accepted by CEO?
32. Without using gui map editor? We can recognize the application in WinRunner ?
Without Using GUI map Editor, We can recognize the Application in WinRunner by using Rapid
Test Script Wizard, but it is also recognize only Client server application, not Web based
application.
34. For a triangle (sum of two sides is greater than or equal to the third side),what is the
minimal number of test cases required.
Generally, we will calculate the number of test cases that depends on the particular module and its
complexity. Minimum number of test cases= (number of inputs) multiply (1.6) (approx. calculatio
35. How will you check that your test cases covered all the requirements?
VISUAL MIND 7
VISUAL MIND QTP FAQ’s
There is one formula to no the number of testcases i.sMinimum Number of testcases=No. Of inputs
*1.6
38. Can any one help me in writing the testcases on atm transactions.... urgent pls answer to
my query?
39. With what extension you can save the list of tests in a file to run in Test Batch Runner?
Ans: .mtb
42 How many tabs are available to view your test in a Test pane and what are they?
Ans: Tree & Expert
Ans)Ouput values are values we can get those values from our application. We can put those values in
data table and wherever we want we can use those values. In Parameterizing Tests, you created
parameters that inserted different data into each iteration of a test run. You can also retrieve data from
VISUAL MIND 8
VISUAL MIND QTP FAQ’s
your application and output it to the Data Table, using output values. This data can then be used at a later
stage in the test. QuickTest displays the retrieved data, following the test run, in the Runtime Data Table
47 What are the Different types of Functions available in QTP and Explain ?
Ans)Functions are 2 types 1)VB Script Functions-abs,now….etc 2) User defind Functions
VISUAL MIND 9