50 QTP Certification Questions and Answers
1. The Toolbar enables you to view the details of an individual Action or the entire Test flow is
1. Testing toolbar
2. None of the above
3. Action toolbar
4. Test Pane
ANSWERE: 3
2. The key that is used to Start/End analog Recording mode ?
1. F3
2. SHIFT+ALT+F3
3. CTRL+SHIFT+F3
4. F10
ANSWERE: 2
3.QuickTest supports virtual object for anolog or low-level recording.
1. False
2. True
ANSWERE: 1
4. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?
1. Add the specific property to the list
2. Use the Default property
3. Use some other property to identify your object
ANSWERE: 1
5. The CHECKPOINT used to check the alt attribute exists for all relevant Objects (such as images) is
1. DataBase CheckPoint
2. Accessibility checkpoint
3. Bitmap checkpoint
4. STANDARD checkpoint
ANSWERE: 2
6. Bitmap checkpoint is supported in VB environment.
1. True
2. False
ANSWERE: 1
7.Can we parameterize the Checkpoints properties?
1. No
2. Yes
ANSWERE: 2
8. What is the shortcut key that is used for a Standard Checkpoint?
1. F12
2. F2
3. F10
4. F7
ANSWERE: 1
9.Can we change name of checkpoint?
1. No
2. Yes
ANSWERE: 1
10. To compares the values of the specified property during a run session with the values stored for the same test object property within the test.
1. Checkpoint
2. All the above
3. Output Value
4. Compare the object property
ANSWERE: 1
11. You will use the recording mode for an object not recognized by QuickTest.
1. Low-Level Recording Mode
2. Normal recording Mode
3. Analog Mode
ANSWERE: 1
12. The statement that calls the recorded analog file is
1. RunAnalog
2. CallAnalog
3. ExecuteAnalog
ANSWERE: 1
13. An action can be called by other tests or Actions is
1. Call Action
2. Split Action
3. Reusable action
ANSWERE: 3
14. You can replace the page in your Active Screen tab
1. False
2. True
ANSWERE: 2
15. QuickTest adds a checkpoint statement in the Expert View as
1. Check Checkpoint
2. Checkpoint
ANSWERE: 1
16.A Checkpoint checks that a text string is displayed within a defined area in a Windows application is
1. Accessibility
2. Text Area
3. Standard
4. Text
ANSWERE: 2
17. In ActiveX environment an “Accessibility checkpoint†is supported.
1. No
2. Yes
ANSWERE: 1
18. Can we get the execution time for an action in a Test.
1. Yes
2. No
ANSWERE: 1
19. Can we add external library files in QTP?
1. No
2. Yes
ANSWERE: 2
20. The method used to get data from HTML Table is
1. GetData(Row,Col)
2. GetRowValue(Rowid,Colname)
3. GetCellData (Row,Col)
ANSWERE: 3
21.The Command used to insert the transactions in test is,
1. StartTransaction(“Nameâ€), EndTransaction(“Nameâ€)
2. Services.StartTransaction “Name”, Services.EndTransaction “Name”
3. StartTransaction.services “Nameâ€, EndTransaction.services “Nameâ€
ANSWERE: 2
22. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is
1. Output Value
2. Checkpoints
3. Active Screen
ANSWERE: 1
23. QuickTest can detects an Application crash and activate a defined recovery scenario to continue the run session.
1. True
2. false
ANSWERE: 1
24. In Batch Test process, the test list are saved in file format as,
1. *.mtb
2. *.mts
3. *.mbt
4. *.mtr
ANSWERE: 1
25.The command used to invoke other application from QTP,
1. InvokeApplication
2. SystemUtil.Run
3. Run
4. Both b & c
5. Both a & b
ANSWERE: 5
26.The command used to retrieve data from excel sheet is
1. Set ab = Connection(“srcfilepath “) , Set ws = ab.getdata(sheetid)
2. Set ab = CreateObject(“srcfilepath “) , Set ws = ab.getsheet(sheetid)
3. Set ab = GetObject(“srcfilepath”) , Set ws = ab.worksheets(sheetid)
ANSWERE: 2
27. The method that explicitly activates the recovery scenario mechanism is,
1. recovery.activate
2. enable
3. recovery.enable
4. activate
ANSWERE: 1
28. The method used for sending information to the test Results.
1. Reporter.log()
2. Reporter.REPORTEVENT()
3. Reporter.MsgBox()
4. Reporter.Report()
ANSWERE: 2
29.To terminate an application that is not responding we use,
1. SystemUtil.terminate
2. SystemUtil.Stop
3. SystemUtil.CloseProcessByName
ANSWERE: 3
30.The recovery mechanism does not handle triggers that occur in the last step of a test
1. false
2. True
ANSWERE: 2
31. We can add Test object methods, function calls into the Test using
1. Function generator
2. Step Generator
3. Object Repository
ANSWERE: 1
32. The method that adds to the test while implementing Synchronization is
1. Synchronize
2. Wait
3. WaitProperty
4. Pause
ANSWERE: 3
33. The mechanism used to identify objects during run session is
1. Recovery scenario
2. Smart identification
3. Handling object
ANSWERE: 2
34.Post-recovery test run Options specifies
1. how to continue the run session after QTP identify the event
2. errors while Running
3. recovery scenario during a run session
ANSWERE: 1
35. The action that can be called multiple times by the test as well as by other tests is called
1. Non-Reusable action
2. Reusable action
3. External action
ANSWERE: 2
36. The command used to connect with Database is
1. Createobject(“connectivity nameâ€)
2. dbconnect(“connectivity nameâ€)
3. open(“connectivity nameâ€)
4. None of the above
ANSWERE: 1
37. The method used to retrieve the folders is
1. FileSystemObject.Getfolder()
2. FileSystemObject.selectfolder()
3. FileSystemObject.retrievefolder()
ANSWERE: 1
38. The method used to compare 2 XML files is:
1. XMLfile1.compare(XMLfile2)
2. XMLcompare(file1,file2)
3. compare(XMLfile1,XMLfile2)
ANSWERE: 3
39. The QTP script files are stored in the extension of
1. *.mts
2. *.usr
3. *.mtr
4. *.vbs
ANSWERE: 1
40. The method used to register the user-defined function with test object is
1. setFunc()
2. RegisterUserFunc()
3. RegisterFunc()
ANSWERE: 2
41. The method used to open the specified URL in a browser is
1. openURL()
2. navigateURL()
3. navigate()
ANSWERE: 3
42. The 3 Parameter types available in data Driver is
1. DataTable,Environment,Random number
2. DataTable,random number,unique
3. environment,string,numeric
ANSWERE: 1
43. The method added to the test while Parameterizing is
1. get Data (variable, dtGlobalSheet)
2. get DataTable(variable, dtGlobalSheet)
3. Set Data(variable, dtGlobalSheet)
4. Set DataTable(variable, dtGlobalSheet)
ANSWERE: 4
44. The length of the array can be get by the method
1. length(array)
2. ubound(array)
3. count(array)
ANSWERE: 2
45. The method used to get the count value of list box or combo box os
1. GetItemsCount
2. GetCount
3. GetItemCount
ANSWERE: 1
46. To retrieve the current property value of the objects in your application during the run session.
1. GetVisibleText
2. GetROProperty
3. SetROProperty
4. GetTOProperty
ANSWERE: 2
47. In data base check point we can not set the expected value from the test?
1. True
2. False
ANSWERE: 2
48. The list of test objects and their properties and values are stored in the
1. Object Repository
2. Object Identification
ANSWERE: 1
49. The method used to continue the test execution after getting run-time error is
1. On Error Resume Next
2. On Error Raise Next
3. On Error Next
ANSWERE: 1
50.Object repository file extension is?
1. .Obj
2. .Orf
3. .Tsr
ANSWERE: 3

This post has 2 comments
November 24th, 2010
Software Testing – A good read….not intended against any group as such, but still entertaining … read on …
A university scholar, Mr. John Smith approaches his friend a software-testing guru telling him that he has a Bachelor in programming, and now would like to learn the software testing to complete his knowledge and to find a job as a software tester. After summing him up for a few minutes, the software-testing guru told him “I seriously doubt that you are ready to study software testing. It’s the serious topic. If you wish however I am willing to examine you in logic, and if you pass the Test I will help teach you software testing. ”
The young man agrees.
Software testing guru holds up two fingers “Two men come down a chimney. One comes with a clean face and the other comes out with a dirty face. Which one washes his face?
The young man stares at the software-testing guru. “Is that a test in Logic?” software testing guru nods. “The one with the dirty face washes his face,” He answers wearily.
“Wrong. The one with the clean face washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. So; the one with the clean face washes his face.”
“Very clever” Says Smith. “Give me another test”
The software-testing guru again holds up two fingers “Two men come down a chimney.One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“We have already established that. The one with the clean face washes his face”
“Wrong. Each one washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. So; the one with the clean face washes his face. When the one with the dirty face sees the one with the clean face washing his face, he also washes his face. So each one washes his face”
“I didn’t think of that!” Says Smith. ” It’s shocking to me that I could make an error in logic. Test me again!.”
The software-testing guru holds up two fingers “Two men come down a chimney. One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“Each one washes his face”
“Wrong. Neither one washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. But when the one with clean face sees that the one with the dirty face doesn’t wash his face, he also doesn’t wash his face So neither one washes his face”.
Smith is desperate. “I am qualified to study software testing. Please give me one more test”
He groans when the software-testing guru lifts his two fingers, “Two men come down a chimney. One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“Neither one washes his face”
“Wrong. Do you now see, John, why programming knowledge is an insufficient basis for studying the software testing? Tell me, how is it possible for two men to come down the same chimney, and for one to come out with a clean face and the other with a dirty face? Don’t you see?
May 9th, 2011
Hey Ram, Its really Nice one, u really got across the point on what testing is..