Skip to main content

Posts

Showing posts from 2009

Tricky QTP Interview Questions - and QTP Certification HP0-M16

Answer the below Questions and Judge yourself for QTP Certification. Note - QTP Certification HP0-M16 is for QTP 9.2 1. How do you hide the Add-In Manager so that it will not be displayed while launching QTP? Answer: a) Uncheck “Show on Startup” checkbox in the Add-In Manager b) Uncheck “Display Add-In Manager on Startup” in the General tab of Options dialog box. 2. How do you display the Data Table or Active screen if they are not shown by default? Answer: In Menu choose View → Active Screen or View → Data Table. 3. What are the default add ins provided by QTP? Answer: ActiveX, Visual Basic, Web. 4. What is the default location of Data Table for any QTP script? Answer: Script Folder Test Folder (folder with the name of the test where all test files are stored) 5. What is QTP workflow Phases: Create, Display, Verify and Enhance, Integrate.?????? Alternative answer: Create test suite, Create an engine, Automate test cases, Debug the script, Deploy the sc

QTP Certification Exam Papers

Practice Questions for Exam: HP0-M16 Title: HP QTP 9.2 Software QUESTION 1 When a procedure is created in the Function Library editor, what is the extension on the file? A. .INI B. .TXT C. .QFL D. .VBS QUESTION 2 What are the categories in the Step Generator? A. Object, Operation, Value B. Library, Built-in, Local Script C. Operation, Arguments, Return Value D. Test Objects, Utility Objects, Functions QUESTION 3 In Test Settings ->Run the Data Table iteration options are for which data sheet? A. Local B. Global C. Run-time Data Table D. Design-time Data Table QUESTION 4 What can you use to handle unpredictable testing exceptions? A. A Do Loop B. Recovery Scenario C. IFHEN statement D. Selectase statement QUESTION 5 In which command can you associate a function library to a test? A. Run Options B. Test Settings C. View Options D. Function Definition Generator QUESTION 6 HP0-M16 Where do you set the action iterations for a specified action? A. Action Settings B. Action Properties C.

:: Relative paths in QTP::

=============== Have you ever wondered about how to effortlessly transfer your QTP scripts from your computer to one of colleagues or may be from a drive of your computer to another? Well, relative path is the answer. There can be two types of path in your file System 1. full path or absolute path 2. Relative Path A full path or absolute path is a path that points to the same location on one file system regardless of the working directory. Example of a full path: C:\Program Files\Mercury Interactive\QuickTest Professional\Tests While A relative path is a path relative to the current working directory, so the full absolute path may not need to be given. Example of a relative path: Say your current working directory is QuickTest Professional as shown above so the relative path for the folder Mercury Interactive which is one level up would be..\..\Mercury Interactive similarly folder which is on same level can