{"id":547,"date":"2023-09-09T06:42:05","date_gmt":"2023-09-09T06:42:05","guid":{"rendered":"https:\/\/softwaretestingstuff.com\/?p=547"},"modified":"2023-09-10T10:09:45","modified_gmt":"2023-09-10T10:09:45","slug":"hp-qtp-certification-hp-m016-practice-exam-questions-2","status":"publish","type":"post","link":"https:\/\/www.softwaretestingstuff.com\/2008\/11\/hp-qtp-certification-hp-m016-practice_21.html","title":{"rendered":"HP QTP Certification HP-M016 Practice Exam Questions – 2"},"content":{"rendered":"\t\t
<\/p>\n
Q1. The Command used to insert the transactions in test is:<\/strong> <\/p>\n <\/p>\n <\/a> <\/p>\n <\/p>\n Q3. QTP can detects an application crash and activate a defined recovery scenario to continue the run session.<\/strong> <\/p>\n <\/p>\n Q4. In Batch Test process, the test list are saved in file format as:<\/strong> <\/p>\n <\/p>\n Q5. The command used to invoke other application from QTP:<\/strong> <\/p>\n <\/p>\n Q6. The command used to retrieve data from excel sheet is<\/strong> <\/p>\n <\/p>\n Q7. The method that explicitly activates the recovery scenario mechanism is:<\/strong> <\/p>\n <\/p>\n Q8. The method used for sending information to the test results is:<\/strong> <\/p>\n <\/p>\n Q9. To terminate an application that is not responding we use:<\/strong> <\/p>\n <\/p>\n Q10. The recovery mechanism does not handle triggers that occur in the last step of a test:<\/strong> <\/p>\n <\/p>\n Q11. We can add Test object methods, function calls into the Test using:<\/strong> <\/p>\n <\/p>\n Q12. The method that adds to the test while implementing synchronization is:<\/strong> <\/p>\n <\/p>\n Q13. The mechanism used to identify objects during run session is:<\/strong> <\/p>\n <\/p>\n Q14. Post-recovery test run options specifies:<\/strong> <\/p>\n <\/p>\n Q15. The action that can be called multiple times by the test as well as by other tests is called:<\/strong> <\/p>\n <\/p>\n Q16. The command used to connect with Database is:<\/strong> <\/p>\n <\/p>\n Q17. The method used to retrieve the folders is:<\/strong> <\/p>\n <\/p>\n Q18. The method used to compare 2 XML files is:<\/strong> <\/p>\n <\/p>\n Q19. The QTP script files are stored in the extension of:<\/strong> <\/p>\n <\/p>\n Q20. The method used to register the user-defined function with test object is:<\/strong> <\/p>\n <\/p>\n Q21. The method used to open the specified URL in a browser is:<\/strong> <\/p>\n <\/p>\n Q22. The 3 Parameter types available in data driver is:<\/strong> <\/p>\n <\/p>\n Q23. The method added to the test while parameterizing is:<\/strong> <\/p>\n <\/p>\n Q24. The length of the array can be get by the method:<\/strong> <\/p>\n <\/p>\n Q25. The method used to get the count value of list box or combo box is:<\/strong> <\/p>\n <\/p>\n Q26. To retrieve the current the objects in your application during the run session:<\/strong> <\/p>\n <\/p>\n Q27. The list of test objects and their properties and values are stored in the:<\/strong> <\/p>\n <\/p>\n Q28. The method used to continue the test execution after getting run-time error is:<\/strong> <\/p>\n <\/p>\n Also See:<\/strong><\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p><\/ul>\n <\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t HP QTP Certification HP-M016 Practice Exam Questions \u2013 2 Q1. The Command used to insert the transactions in test is:A. StartTransaction(Name\ufffd), EndTransaction(Name\ufffd)B. Services.StartTransaction “Name”, Services.EndTransaction “Name”C. StartTransaction.services “Name\ufffd, EndTransaction.services “Name” Q2. A step in which one or more values are captured at a specific point in your test and stored for the duration of the […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[14],"tags":[],"table_tags":[],"class_list":["post-547","post","type-post","status-publish","format-standard","hentry","category-software-testing-certification"],"yoast_head":"\n
<\/strong><\/p>
A. StartTransaction(Name\ufffd), EndTransaction(Name\ufffd)
B. Services.StartTransaction “Name”, Services.EndTransaction “Name”
C. StartTransaction.services “Name\ufffd, EndTransaction.services “Name”<\/p>\n
Q2. 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:<\/strong>
A. Output Value
B. Checkpoints
C. Active Screen<\/p>\n
A. True
B. false<\/p>\n
A. *.mtb
B. *.mts
C. *.mbt
D. *.mtr<\/p>\n
A. InvokeApplication
B. SystemUtil.Run
C. Run
D. Both b & c
E. Both a & b<\/p>\n
A. Set ab = Connection(“srcfilepath “) , Set ws = ab.getdata(sheetid)
B. Set ab = CreateObject(“srcfilepath “) , Set ws = ab.getsheet(sheetid)
C. Set ab = GetObject(“srcfilepath”) , Set ws = ab.worksheets(sheetid)<\/p>\n
A. recovery.activate
B. enable
C. recovery.enable
D. activate<\/p>\n
A. Reporter.log()
B. Reporter.reportevent()
C. Reporter.msgbox()
D. Reporter.report()<\/p>\n
A. SystemUtil.terminate
B. SystemUtil.Stop
C. SystemUtil.CloseProcessByName<\/p>\n
A. false
B. True<\/p>\n
A. Function generator
B. Step generator
C. Object repository<\/p>\n
A. Synchronize
B. Wait
C. WaitProperty
D. Pause<\/p>\n
A. Recovery scenario
B. Smart identification
C. Handling object<\/p>\n
A. how to continue the run session after QTP identify the event
B. errors while running
C. recovery scenario during a run session<\/p>\n
A. non-reusable action
B. Reusable action
C. External action<\/p>\n
A. Createobject(connectivity name\ufffd)
B. dbconnect(connectivity name)
C. open(connectivity name)
D. None of the above<\/p>\n
A. FileSystemObject.Getfolder()
B. FileSystemObject.selectfolder()
C. FileSystemObject.retrievefolder()<\/p>\n
A1. XMLfile1.compare(XMLfile2)
B. XMLcompare(file1,file2)
C. compare(XMLfile1,XMLfile2)<\/p>\n
A. *.mts
B. *.usr
C. *.mtr
D. *.vbs<\/p>\n
A. setFunc()
B. RegisterUserFunc()
C. RegisterFunc()<\/p>\n
A. openURL()
B. navigateURL()
C. navigate()<\/p>\n
A. DataTable,Environment,Random number
B. DataTable,random number,unique
C. environment,string,numeric<\/p>\n
A. get Data (variable, dtGlobalSheet)
B. get DataTable(variable, dtGlobalSheet)
C. Set Data(variable, dtGlobalSheet)
D. Set DataTable(variable, dtGlobalSheet)<\/p>\n
A. length(array)
B. ubound(array)
C. count(array)<\/p>\n
A. GetItemsCount
B. GetCount
C. GetItemCount<\/p>\n
A. GetVisibleText
B. GetROProperty
C. SetROProperty
D. GetTOProperty<\/p>\n
A. Object Repository
B. Object Identification<\/p>\n
1. On Error Resume Next
2. On Error Raise Next
3. On Error Next<\/p>\n