Quick Test Professional

Quick Test Professional
11. Outcome of the below QTP code (vbscript) is,
Set obj = CreateObject("WScript.Shell")
sCmnd = "%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation"
obj.Run sCmnd, 0, False

  • Runtime error
  • Computer will be locked automatically.
  • Computer will be unlocked
  • will throw syntax error
Show Answer
12. Which is used for verifying whether the Actual result matches with expected result in QTP?
  • ObjectSpy
  • Object respository
  • Checkpoints
  • Expert view
Show Answer
13. Which is built-in add-in QTP?
  • TE add-in
  • java add-in
  • web add-in
  • .net add-in
Show Answer
14. Setting in one instance of QTP IDE can be transferred to another machine using,
  • Data driver
  • Function Generator
  • Step Generator
  • Automation Object Model
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test