• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Q1. The Command used to insert the transactions in test is:A.StartTransaction(Name),EndTransaction(Name)
B.Services.StartTransaction"Name",Services.EndTransaction"Name"
C. StartTransaction.services "Name, EndTransaction.services "Name"Q2. A step in which one or more values are captured at a specific point in your test and stored for theduration of the run session is:
A.OutputValue
B.CheckpointsC.ActiveScreenQ3. QTP can detects anapplication crash and activate a defined recovery scenario to continue the run session.
A.True
B.falseQ4. In Batch Test process, the test list are saved in file format as:
A.*.mtb
B.*.mtsC.*.mbtD.*.mtr Q5. The command used to invoke other application from QTP:A.InvokeApplicationB.SystemUtil.RunC.RunD.Both b & c
E.Both a & b
Q6. The command used to retrieve data from excel sheet isA.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)
 
Q7. The method that explicitly activates the recovery scenario mechanism is:
A.recovery.activate
B.enableC.recovery.enableD.activateQ8. The method used for sending information to the test results is:A.Reporter.log()
B.Reporter.reportevent()
C.Reporter.msgbox()D.Reporter.report()Q9. To terminate an application that is not responding we use:A.SystemUtil.terminateB.SystemUtil.Stop
C.SystemUtil.CloseProcessByName
Q10. The recovery mechanism does not handle triggers that occur in the last step of a test:A.false
B.True
Q11. We can add Test object methods, function calls into the Test using:
A.Functiongenerator 
B.Stepgenerator C.ObjectrepositoryQ12. The method that adds to the test while implementing synchronization is:A.SynchronizeB.Wait
C.WaitProperty
D.PauseQ13. The mechanism used to identify objects during run session is:
 
A.Recoveryscenario
B.Smartidentification
C.HandlingobjectQ14. Post-recovery test run options specifies:
A.how to continue the run session after QTP identify the event
B.errors while runningC.recovery scenario during a run sessionQ15. The action that can be called multiple times by the test as well as by other tests is called:A.non-reusableaction
B.Reusableaction
C.ExternalactionQ16. The command used to connect with Database is:
A.Createobject(connectivityname)
B.dbconnect(connectivityname)C.open(connectivityname)D.None of the aboveQ17. The method used to retrieve the folders is:
A.FileSystemObject.Getfolder()
B.FileSystemObject.selectfolder()C.FileSystemObject.retrievefolder()Q18. The method used to compare 2 XML files is:A1.XMLfile1.compare(XMLfile2)B.XMLcompare(file1,file2)
C.compare(XMLfile1,XMLfile2)
Q19. The QTP script files are stored in the extension of:
A.*.mts
B.*.usr 
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...