You are on page 1of 76

16 Descriptive Programming 1) Programmatic description can be very useful if you want to perform an operati on on an object that is stored in the

object repository. A) True B) False 2) There are two types of programmatic descriptions: A) Static & Dynamic B) Statement & Dynamic C) Step & Dynamic D) Standard & Dynamic 3) You can also use programmatic descriptions to perform the same operation on s everal objects with certain identical properties, or to perform an operation on an object whose properties match a description that you determine dynamically du ring the run session. A) True B) False 4) QuickTest evaluates all property values in programmatic descriptions as regul ar expressions A) True B) False 5) From the below 4 statements which one is invalid: A) Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=A uthor", "Index:=3").Set "Amit Kumar" B) Browser("Index").Page(Desc1).Link(docu3) C) Browser("Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set "Amit Kumar" D) Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Author" ).Set "Amit Kumar" 6) When using programmatic descriptions from a specific point within a test obje ct hierarchy, you must continue to use programmatic descriptions from that point onward within the same statement. A) True B) False 7) You can run any application from a specified location using a ..... statement . A) Start.Application B) System.UtilRun C) SystemUtil.Run D) SystemUtii.RUn 8) When creating a programmatic description for an ActiveX test object and the r elevant run-time object is windowless (has no window handle associated with it), you must add the ........ property to the description and set its value to True . A) Window Handle B) WindowLess C) Winless D) None 9) You can compare the run-time value of a specified object property with the ex pected value of that property using either programmatic descriptions or user-def ined functions. A) True B) False 10) When you specify an application to open using the Record and RunSettings dia log box, QuickTest adds a SystemUtil.Run statement to your test. A) True B) False 17 - QTP Expert View

1) You can use the Expert View tab to view a text-based version of your test. A) True B) False 2) Expert View contains each step as a VBScript line. In object-based steps, the VBScript line defines the ........ hierarchy. A) Action B) Object C) Test D) Step 3) If you focus on a specific step in the Keyword View and switch to the Expert View, the cursor is located in that ..... line of the test. A) Next B) Previous C) Last D) Corresponding 4) For each object and method in an Expert View statement, a xists in the Keyword View. A) True B) False 5) When you switch from the Expert View to the Keyword View, ally checks for syntax errors in your script, and shows them pane. A) True B) False 6) In the Expert View, the ....... is always visible and the displays the script for the selected action. A) Action List B) Expert List C) Check List D) View List corresponding row e

QuickTest automatic in the Information

Expert View always

7) You can insert a checkpoint or output value statement in the Expert View manu ally. A) True B) False 8) You can copy a Checkpoint or Output statement from the Expert View to another test. A) True B) False 9) You can also manually enter standard VBScript statements, as well as statemen ts using QuickTest test objects and methods, in the Expert View. A) True B) False 10) You cannot print the test displayed in the Expert View or a function library . A) True B) False 11) When you type in the Expert View or a function library, .......... enables y ou to select the test object, method, property, or collection for your statement from a drop-down list and view the relevant syntax. A) Object Property dialog box B) Web edit Property dialog box C) Intellisense D) dropdown list 18 - Function Library

1) Using QuickTest, you can define and store your user-defined functions in a .. ... A) B) C) D) function library directly in an action within a test. both A & B None

2) Default file extention of function library is A) B) C) D) .flf .qtfl .qfl .tfl

3)When you store a function in a test action, it can be called from any other ac tion or test. A) True B) False 4) You cannot define private functions and store them in a function library. A) True B) False 5) You can drag and drop a function (or part of it) from one document to another. A) True B) False 6) You can add steps to your function library manually or using the StepGenerator. A) B) C) D) Manually using Step Generator Both A & B None

7) In function libraries, IntelliSense does not enable you to view test object name s or collections because function libraries are not connected to object reposito ries. A) True B) False 8) Function Libraries can be edited during the debug session. A) True B) False 9) To close all open function libraries: A) Choose File > Close All Function Libraries, B) Window > Close All Function Libraries.

C) Widow > Close All D) Both A & B 10) Any text file written in standard VBScript syntax can be used as a function libr ary. A) True B) False 11) If you create a user-defined function manually and do not define the scope as Pu blic or Private, it will be treated as a ..... function, by default. A) B) C) D) Private Public Both A & B None

12) If you choose not to register your function at this time, you can manually regis ter it later by adding a RegisterUserFunc statement after your function A) RegisterUserFunction B) RegisterUserFunc C) RegUserFunc D) Both A & B

19 - QTP Parameterization 1) You can parameterize values ..... in your test. A) B) C) D) E) in Steps in Checkpoints of Action Parameters Both A & B All of above

2) You can parameterize values in steps and checkpoints while ...... your test. A) recording B) editing C) Both A & B 3) There are four types of parameters: Test/Action, Random number,Environment Varia ble, Regular Expression. A) True B) False 4) While using Test and Action Input Parameters,you can enter the parameter name in the Expert View using the Parameter utility object, in the format: ............ for the current action.

A) B) C) D)

Parameter("ParameterName") ParameterName("Parameter") Parameter("Parameter-Name") Parameter("Parameter_Name")

5) ..... parameters are available only for top-level actions. A) B) C) D) Action Environment Variable Test None

6) ...... parameters are available for subsequent steps and for nested actions. The y are defined in the action containing the steps or in the action that calls the nested action. A) B) C) D) Action Environment Variable Test Parent action

7) When specifying the name for data table parameter, the first character of the pa rameter name must be a ...... A) B) C) D) letter underscore number both A & b

8) By outputting values to the global Data Table sheet from one action and using th em as input parameters in another action, you can easily pass values from one ac tion to another. A) True B) False 9) ....... parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on th e selected language. A) B) C) D) Action Environment Test Parent action

10) You can also store environment variable files in Quality Center. A) True B) False 11) ....... built-in environment variable that tells version of the OS on which you are working.

A) B) C) D)

OS OS_Ver OSVER OSVersion

12) Random number parameters are appropriate for non-numeric values, such as text or hypertext links. A) True B) False Answers 1) e, 2) c, 3) b, 4) a, 5) c, 6) D, 7) d, 8) A, 9) b, 10) a, 11) d, 12) b 20 - Regular Expressions 1) Regular expressions enable QuickTest to identify objects and text strings with u ndependable values. A) True B) False 2) You can use regular expressions only for values of type string and number. A) True B) False 3) If you expect the value of a property to change in an unpredictable way during e ach run session, you can use regular expressions A) True B) False 4) All ........ are automatically treated as regular expressions. A) B) C) D) programmatic description Window WinObject Collection

5) If a backslash character is used before a character that has no specialmeaning, the backslash is ignored. A) True B) False 6) You can use regular expressions in the Find what and Replace with strings to enh ance your search. A) True B) False

7) Regular Expressions can also be used with XML checkpoints. A) True B) False 8) What is the Regular Expression Matching Zero or More Specific Characters A) x B) # C) * D) & Answers 1) A, 2) B, 3) B, 4) A, 5) A, 6) A, 7) A, 8) c 21 Virtual Objects 1) Virtual objects enable you to record and run tests on objects that are normally recognized by QuickTest. A) True B) False 2) In the test results, the virtual object is displayed as though it is a standard class object. A) True B) False 3) QuickTest does not support virtual objects for ....... recording. A) B) C) D) E) analog low-level normal both A & B both A & C

4) You can use the Object Spy to view virtual object properties. A) True B) False 5) You cannot insert any type of checkpoint on a virtual object A) True B) False 6) The ............ contains all the virtual object collections defined on your com puter.

A) B) C) D)

Virtual Virtual Virtual Virtual

Objects Manager Manager Object Manager Object Wizard

7) Extention of virtual object collection files A) B) C) D) .vcf .vot .vct .vcd

8) You can remove virtual objects from your test by ....... these objects. A) B) C) D) E) disabling recognition of deleting deleting virtual object collection files of All of Above both A & B

9) When you want QuickTest to recognize virtual objects during recording, ensure th at the ....... check box in the General tab of the Options dialog box is cleared . A) B) C) D) Disable recognition of virtual object Files while recording Disable recognition of virtual object Collection while recording Disable recognition of virtual objects while recording Enable recognition of virtual objects while recording

10) QuickTest identifies a virtual object according to its ...... A) B) C) D) Properties boundaries Object Spy Edges

Answers 1) B, 2) A, 3) D, 4) B, 5) A, 6) C, 7) b, 8) E, 9) C, 10) B 22 - Recovery scenarios 1) Recovery scenarios activate specific recovery operations when ......... occur. A) B) C) D) Specific Errors Test Errors Trigger Events QTP Errors

2) You can also control and activate your recovery scenarios during the run session by inserting .............. into your test. A) Trigger Events

B) Recovery Events C) Recovery Statements D) Catch Statements 3) If you choose On error in the Activate recovery scenarios box in the Recovery ta b of the Test Settings dialog box, the recovery mechanism does not handle trigge rs that occur in the last step of a test. A) True B) False 4) By default, recovery scenario operations are activated only after a step returns an error. A) True B) False 5) A ....... is a convenient way to organize and store multiple recovery scenarios together. A) B) C) D) recovery file recovery folder Recovery Log Log File

6) The Recovery Scenario Manager dialog box enables you to create and editrecovery files, and does not let you create and manage the recovery scenarios stored in t hose files. A) True B) False 7) Each recovery scenario is represented by an icon that indicates its type. A) True B) False 8) The Recovery Operations screen in Recovery Scenario Wizard enables you tomanage the collection of ........ in the recovery scenario. A) B) C) D) recovery operations recovery Files Trigger events All of Above

9) If you define a Restart Microsoft Windows recovery operation, it is always inser ted as the last recovery operation, and you can change its position in the list. A) True B) False 10)

If more than one scenario uses a function with the same name from different func tion libraries, the recovery process may fail. A) True B) False Answers 1) c, 2) c, 3) a, 4) A, 5) A, 6) b, 7) a, 8) a, 9) b, 10) a 23 - Debug 1) To debug a function library, you must first associate it with a test and then de bug it from that test. A) True B) False 2) To detect and isolate defects in a test or function library, you can control the run session using the .... command A) B) C) D) Pause Run F14 Session

3) When the test or function library run stops at a breakpoint, you can use the ... ... to check and modify the values of VBScript objects and variables. A) B) C) D) Debug Debug Debug Debug Window Dialog Viewer page

4) While the test and function libraries are running in debug mode, they are read-o nly A) True B) False 5) You cannot debug a file that is called using an ...... statement, or any of the functions contained in the file. A) B) C) D) ExecuteFiles Execute_File Execute-File ExecuteFile

6) The debug session can continue at the backend while you can perform file operati ons like opening a new test etc. A) True B) False

7) Any changes you apply to external resources saved in the file system, such as fu nction libraries, are implemented only when the test is closed and reopened but any changes you apply to any external resource that is saved in your Quality Cen ter project, such as a function library, will be implemented immediately. A) True B) False 8) You can use the .......... command to begin your debug session at a specific poi nt in your test. A) B) C) D) Start from Step Run to Step Run from Step Start to Step

9) You can specify the time (in milliseconds) QuickTest pauses between each step by modifying the ..... option in the Run tab of the Options dialog box (Tools > Op tions). A) B) C) D) Delay Delay Delay Delay step execution by every step execution by all steps execution by each step execution by

10) To display the Debug toolbar, choose ............ A) View > Toolbar > Debug B) View > Toolbars > Debugs C) Views > Toolbar > Debug D) View > Toolbars > Debug Answers 1) A, 2) A, 3) C, 4) A, 5) D, 6) B, 7) B, 8) A, 9) D, 10) D 24 - Add-in 1) You can install the QuickTest...... add-ins (Web, ActiveX, Visual Basic) when yo uinstall QuickTest Professional, or you can install the QuickTest built-in add-i ns at a later time by running the installation again. A) B) C) D) internal external built-in All of above

2) Add-ins that are installed separately from the QuickTest Professional installati onare referred to as ....... add-ins. A) B) C) D) 3) internal external built-in built-out

When QuickTest opens, you can choose which of the installed add-ins you want to load using the QuickTest Professional - ...... dialog box. A) B) C) D) Add-In Window Add-In Add-In Manager Add-In Management

4) Installing and Loading an Add-in is one and the same thing. A) True B) False 5) You can install Add-in Upgrade patches by running the relevant patch executable from the \...... folder. A) B) C) D) AddinsUpdate AddinsUpgrade Addins_upgrade Both A & B

6) In Add-in Manager dialog box, Time-Limited column displays values only when usin g a QuickTest seat license not a concurrent license. A) True B) False 7) You can view the list of add-ins that are currently installed or loaded by choos ing ................... A) B) C) D) File > Settings Tools > Options and click the General tab. Help > About QuickTest Professional. both A & B

8) To maximize performance and object identification reliability, load all the addins. A) True B) False 9) The add-in is displayed as Not Licensed in the License column of the Add-in Mana ger dialog box: A) n. B) or C) D) If an add-in license has not yet been installed for a specific external add-i if no concurrent license server within your subnet has a registered license f the specific add-in if all concurrent licenses are in use All of Above

10) You can use only one license type per session for QuickTest Professional and all loaded add-ins-either seat or concurrent.

A) True B) False Answers 1) C, 2) B, 3) C, 4) B, 5) B, 6) A, 7) C, 8) B, 9) D, 10) A 25 - Record & Run Options 1) Before you record or run a test on a Web or Windows application, you can use the .... dialog box to instruct QuickTest which applications to open when you begin to record or run your test. A) B) C) D) Record and Run Record and Run Settings Run and Record Run and Record Settings

2) If you define environment variables to specify the record and run details, those values override the values in the Record and Run dialog box. A) True B) False 3) You can record tests only on ............ A) B) C) D) Microsoft Internet Explorer Netscape Browser Mozilla Firefox Opera

4) Record and Run Settings window contains two tabs A) B) C) D) Web Web Web Web & & & & Window Windows Applications Window Applications Windows Application

5) You can add up to ... applications to the application list displayed in the Wind ows Applications tab A) B) C) D) 10 12 24 64

6) You can use special, predefined environment variables to specify the application sor browsers you want to use for your test while specifying the Record and Run D etails A) True B) False 7)

If you select the option to Record and Run on any application or browser (the up per radio button in each tab of the Record and Run Settings dialog box), QuickTe st ..... any defined record and run environment variables. A) B) C) D) does not ignores may or may not ignore None of above

8) To use environment variables to specify the applications or browsers you want to use for your test run, you must use the appropriate variable names E.g. the var iable name for the Web address to display in the browser is A) B) C) D) URL_VAR URL_EN URL_ENV URL_VA

9) The setting of the Active Screen capture level (Tools > Options > Active Screen tab) can significantly affect the ..... for your test and the functionality of t he Active Screen while editing your test. A) B) C) D) repeating time waiting time average time recording time

10) The Web tab (Record and Run Settings dialog box) is available only when Web supp ort is installed and loaded. A) True B) False Answers 1) B, 2) A, 3) A, 4) B, 5) A, 6) A, 7) B, 8) C, 9) D, 10) A 26 - Actions - 2 1) The ...... enables you to view either the entire test flow (the calls to the act ions in the test) or you can view the steps for a selected reusable or external action. A) B) C) D) Action Action Action Action Menu List Toolbar View

2) You can view the ....... of the original action in the General tab of the Action Properties dialog box. A) B) C) D) 3) Parameters Location Associated Repositories Type

You can create an additional call to any reusable or external action in your tes t by pressing ...... while you drag and drop the action to another location at a parallel (sibling) level within your test. A) B) C) D) F3 alt shift ctrl

4) You can use action parameters in any step in your action (including function cal ls). A) True B) False 5) Input values for an action parameter can be retrieved A) B) C) D) from the test (for a top-level action) from the parameters of the parent action that calls it (for a nested action) from the output of a previous action call (for a sibling action) All of above

6) The Action Call Properties dialog box enables you to set options that apply only to a ...... action call. A) B) C) D) following preceeding specific internal

7) Specifying input and output parameter values in action calls is ....... A) B) C) D) required optional required only for internal action both A & B

8) You can share a value that is generated in one action with other actions in your test by storing the value in the ..... Data Table. A) B) C) D) Internal External Local Global

9) ExitAction: A) B) C) D) Exits Exits Exits Exits the the the the current action, regardless of its iteration attributes. current iteration of the action. test, regardless of its iteration attributes. current global iteration.

10) If the action called by the RunAction statement includes an ExitAction statement

, the RunAction statement can return the value of the ExitAction's RetVal argume nt. A) True B) False Answers 1) B, 2) B, 3) D, 4) A, 5) D, 6) C, 7) b, 8) d, 9) A, 10) A 27 - Object Repository - 2 1) If an object with the same name and description is located in both the local obj ect repository and in a shared object repository that is associated with the sam e action, the action uses the ...... object definition. A) B) C) D) shared local Can use any None of above.

2) You cannot use the same shared object repository with multiple actions. A) True B) False 3) If one or more of the property values of an object in your application differ fr om theproperty values QuickTest uses to identify the object, your test ..... fai l. A) B) C) D) may must should will certainly

4) You can open as many shared object repositories as you want. A) True B) False 5) You can also open an object repository from the .......... in the File menu. A) B) C) D) Recent Folders list Current Files list Recent Files list Both A & c

6) QuickTest saves the object repository with a ..... extension in the specified lo cation A) B) C) D) 7) .vsr .tsr .lsr .qsr

If you opened the object repository in ...... mode, you must enable editing for the object repository before you can modify it. A) B) C) D) read-write mode read-execute mode read-write-execute mode read-only mode

8) You can also modify a shared object repository by merging it with another shared object repository. A) True B) False 9) You can also add objects to a shared object repository using the ....... option. A) B) C) D) Navigate and Learn Navigate and earn Navigate Navigate and Click

10) While Finding Objects in an Object Repository, You can use the Find and Replace dialog box to replace property or object names. A) True B) False Answers 1) B, 2) B, 3) A, 4) A, 5) C, 6) B, 7) D, 8) A, 9) A, 10) B 28 - Object Properties 1) In the Expert View, you can use the Object property to activate the method for a Web object. A) True B) False 2) The test object property set for each test object is created and maintained by . ...... The run-time object property set for each run-time object is created and maintained by the object creator A) B) C) D) 3) You can view or modify the test object property values that are stored with your component in the Object Properties or Object Repository dialog box. A) True B) False Microsoft Adobe HP QuickTest

4) It is possible that you can use the Object property to access the native propert iesof any run-time object. A) True B) False 5) You cannot retrieve the values of test object properties from a run-time object. A) True B) False 6) You can use the GetTOProperty, GetTOProperties, and SetTOProperty methods in you r ........ to set and retrieve the test object property values of the test objec t. A) B) C) D) 7) Because QuickTest refers to the temporary version of the test object during the run session, any changes you make using the SetTOProperty method apply only duri ng the course of the run session, and do not affect the values stored in the tes t object repository. A) True B) False 8) You can use the Object Spy at any time to view ..... properties and values of th e objects in the application you are testing. A) B) C) D) 9) You cannot add to the list of properties that QuickTest uses to identify an obje ct. A) True B) False 10) The default properties for a Link object (hypertext link) are... A) Name B) text C) HTML tag D) Tag Answers run-time test object Both A & B None Test Function Library Applciation area Both A & B

1) A, 2) D, 3) A, 4) A, 5) B, 6) D, 7) A, 8) C, 9)B, 10) B,C 29 - API's 1) Text (or text area) checkpoints may behave differently in different run sessions depending on the APIs used in your application A) True B) False 2) Using the Windows API, you can extend testing abilities and add usability and flexibility to your...... . A) B) C) D) tests function libraries applications Both A & B

3) API functions are located inside Windows DLLs A) True B) False 4) Integrating QuickTest with Quality Center enables you to store and access files in a Quality Center project, as well as use the ....... object to access t he wide range of functionality provided in the Quality Center Open Test Architecture API. A) B) C) D) QCUtil QCUtility QCUtill QCUntil

5) QuickTest works directly with the SAP Gui Scripting API to record your operation s. Therefore, QuickTest adds steps to your test or component only when ........ are sent to the server. A) B) C) D) API API API API catches events starts stops

6) QuickTest communicates directly with the SAP Gui Scripting API to record and run your operations on SAP Windows objects. A) True B) False 7) ........... declares references to external procedures in a dynamic-link library A) Declare B) Extern C) Intern

D) None 8) The QuickTest automation object model supplies a type library file named ....... .... This file is stored in \bin. A) B) C) D) QTObjectModel.dll QTObjectModell.dll QTObjecModel.dll Both A & B

9) If you want to call a QuickTest test containing Stingray objects from WinRunner or vice versa, you must first ensure that WinRunner and QuickTest are both using the latest version of the Stingray agent. To do this, search for the .......... file in\bin and in \arch. Then replace the earlier file with the later one. A) B) C) D) Stagent.dll Stagerent.dll Staent.dll Stagents.dll

10) In the General tab of Options dialog box, Use text recognition mechanisms in thi s order: (Please select valid options from below) A) First B) First C) First D) First Answers 1) A, 2) Windows Windows Windows Windows API API API API then then then then OCR LCR MCR NCR

D, 3) A, 4) A, 5) B, 6) A, 7) A, 8) A, 9)A, 10) A

30 - Sharing Information Between Actions 1) A Dictionary object is the equivalent of a PERL associative array. A) True B) False 2) Values from one part of a run session cannot be used later in the run session A) True B) False 3) For other actions to use the value in the Data Table as an input parameter, you can store a value in the Data Table by outputting the value to the ..... Data Ta ble A) B) C) D) 4) local global action both A & B

The Dictionary object enables you to assign values to variables that are accessi ble from .... actions A) B) C) D) local external both A & B None of above

5) After you have added the reserved Dictionary object to the registry, it is .... to restart QuickTest. A) B) C) D) required not required may or may not be None of above

6) It is possible to create nested Dictionary objects. A) True B) False 7) A function cannot return a dictionary object. A) True B) False 8) A function can accept a dictionary object as a parameter. A) True B) False 9) By default if you want to debug a dictionary object, then QTP debug windowhelps a lot in that. A) True (QTP debug window can be used with Dictionary objects) B) False (QTP debug window cannot be used with Dictionary objects) 10) ............ Removes a key, item pair from a Dictionary object A) Remove Method B) RemoveAll Method C) Delete Method D) DeleteAll Method Answers 1) A, 2) B, 3) B, 4) C, 5) A, 6)A, 7) B, 8) A, 9) B, 10) A 31 - Maintenance Run Mode 1) As QuickTest runs in Maintenance Run Mode, it identifies discrepancies between t he objects in the repository and those in your ....... A) Function B) Action1

C) application D) Both A & B 2) In Maintenance Run Mode, the run ..... each time an object is not found. A) B) C) D) Resumes Stops pauses None

3) When you run a test in Maintenance Mode, the ........ opens for steps that faile d because an object was not found in the application. A) B) C) D) Maintenance Maintenance Maintenance Maintenance Wizard Run wizard Run option Work Wizard

4) When the Maintenance Run Mode ends, Maintenance Mode wizard provides a summary o f the changes it made to your test. A) True B) False 5) You can run in Maintenance Run Mode only when QuickTest is set to use the ..... run mode. A) B) C) D) Maintenance Low Level Analog Normal

6) You can run in Maintenance Run Mode on applications that do not have a user inte rface, such as Web services. A) True B) False 7) You must have the Microsoft Script Debugger installed to run the tests inMainten ance Mode. A) True B) False 8) The Add Comment screen enables you to add a comment to your test or component .. ... the current step. A) B) C) D) 9) After before At Last Both A & C

The Add Object to Repository screen opens if the object to which you pointed ... . in any associated object repository. A) B) C) D) is not added exist does not exist is added

10) Maintenance Mode makes changes to the .... object repository only. A) Shared B) Local C) Both D) None Answers 1) c, 2) c, 3) b, 4) a, 5) d, 6) b, 7) a, 8) b, 9) c, 10) b 32 - QTP Test Run Results 1) After a run session, you view the results in the Test Results window. By default , the Test Results window opens when a run session is ........ A) completed B) half completed C) about to be completed D) Both A & C 2) The left pane in the Test Results window displays the .............--a graphical representation of the test results. A) B) C) D) run results images run results tree run results icons None

3) By default, when the Test Results window opens, a test summary is displayed in t he .......... tab in the right pane of the window. A) B) C) D) Result Detail Res Details Result Details Details

4) The right pane of the Test Results Window contains tabs labeled ................ ...... A) B) C) D) Result Details and Screen Recorder Result Detail and Screen Recorder Res Details and Screen Recorder Details and Screen Recorder

5) QuickTest Professional can capture still images and movies of your application d uring a run session.

A) True B) False 6) You can view the results of an individual................. A) B) C) D) iteration an action a step All of above

7) A test, iteration, or action containing a step marked Warning may still be label edPassed or Done. A) True B) False 8) You can use ............. statements in the Expert View to disable or enable the saving of selected steps, or to save only steps with Failed or Warning status. A) B) C) D) Reporter.Event Reporter.Results Reporter.Filter Reporter.Result

9) You can view the saved results for the current test or component, or you can vie w the saved results for other test or components. A) True B) False 10) You can use the .............. to remove unwanted or obsolete run results from y our system, according to specific criteria that you define. A) Test Results Tool B) Test Results Deletion Tool C) Results Deletion Tool D) RunResults Deletion Tool Answers 1) A, 2) B, 3) C, 4) A, 5) A, 6) D, 7) A, 8) C, 9)A, 10) B 32 - QTP Test Run Results 1) After a run session, you view the results in the Test Results window. By default , the Test Results window opens when a run session is ........ A) completed B) half completed C) about to be completed D) Both A & C 2) The left pane in the Test Results window displays the .............--a graphical representation of the test results. A) run results images

B) run results tree C) run results icons D) None 3) By default, when the Test Results window opens, a test summary is displayed in t he .......... tab in the right pane of the window. A) B) C) D) Result Detail Res Details Result Details Details

4) The right pane of the Test Results Window contains tabs labeled ................ ...... A) B) C) D) Result Details and Screen Recorder Result Detail and Screen Recorder Res Details and Screen Recorder Details and Screen Recorder

5) QuickTest Professional can capture still images and movies of your application d uring a run session. A) True B) False 6) You can view the results of an individual................. A) B) C) D) iteration an action a step All of above

7) A test, iteration, or action containing a step marked Warning may still be label edPassed or Done. A) True B) False 8) You can use ............. statements in the Expert View to disable or enable the saving of selected steps, or to save only steps with Failed or Warning status. A) B) C) D) Reporter.Event Reporter.Results Reporter.Filter Reporter.Result

9) You can view the saved results for the current test or component, or you can vie w the saved results for other test or components. A) True B) False

10) You can use the .............. to remove unwanted or obsolete run results from y our system, according to specific criteria that you define. A) Test Results Tool B) Test Results Deletion Tool C) Results Deletion Tool D) RunResults Deletion Tool Answers 1) A, 2) B, 3) C, 4) A, 5) A, 6) D, 7) A, 8) C, 9)A, 10) B 33 - Relative & Absolute Path 1) In Edit > Action > Action Properties, in Associated Repositories tab, you cannot enter an associated object repository as a relative path. A) True B) False 2) ..............method helps you resolve the specified relative file path and retu rns its absolute path. A) B) C) D) Local Lrelative Locate Lresolve

3) In the FIle ->Settings, Resource tab, you can enter an associated function libra ry as a relative path. A) True B) False 4) ExecuteFile Statement which executes the VBScript statements in the specified fi le can accept ............ of the file to execute. A) B) C) D) Absolute Relative Both A & B None

5) When working with tests, if your recovery files are stored in the file system an d you want other users or Mercury products to be able to run this test on other computers, you should set the recovery file path as a ......... path. A) B) C) D) Absolute Relative Both A & B None

6) When you choose Insert-> Call to Existing Action, in the Select Action dialog th at opens, you cannot enter the relative path in "From test" dropdown.

A) True B) False 7) If you expect other users to open your tests and all actions in your tests are s tored in the same drive, you should use absolute paths for your reusable actions so that other users will be able to open your tests even if they have mapped th eirnetwork drives differently A) True B) False 8) A relative path is a path that is indicated relatively to a ......... location i n the file system tree. A) B) C) D) previous root current base

9) You can use a .......statement in your test to retrieve the complete path that Q uickTest will use for a specified relative path based on the folders specified i n the Folders tab. A) B) C) D) PathFinder.Locale PathFinder.Locate Locale.PathFinder Locate.PathFinder

10) .................. Property Assigns a relative path to a shortcut, or identifies therelative path of a shortcut. A) RelativePath B) Relative_Path C) Relative-Path D) RelativePaths Answers 1) B, 2) C, 3) A, 4) C, 5) B, 6) B, 7)B, 8) C, 9)B, 10) A 34 - Reporter Object 1) The object used for sending information to the test results is.... A) B) C) D) ReporterEvent Reporter both A & B None of above

2) Reporter object is an utility object A) True B) False 3) ReportEvent Method .......

A) B) C) D)

Reports Reports Reports Reports

an an an an

event event event event

to to to to

the the the the

Quality Center Excel Sheet test results. Business Process Testing.

4) ReportEvent method's EventStatus argument has the following predefined constants : (click all answers that apply) A) B) C) D) E) 0 1 2 3 4 or or or or or micPass micFail micDone micWarning micError

5) .........Retrieves the run status at the current point of the run session. A) B) C) D) RunStatuses RunStatus Run_Status Run-Status

6) The following example uses the RunStatus property to retrieve the status of the run session at a specific point and exit the action if the test status is ...... . If Reporter.RunStatus = 1 Then ExitAction A) B) C) D) Pass Fail Error Warning

7) .................Retrieves or sets the current mode for displaying events in the Test Results A) B) C) D) Filters RFilter R.Filter Filter

8) You can use ...... property to completely disable or enable reporting of steps A) B) C) D) enable disable filter enable-disable

9) How would you insert result for a step in Test Results A) B) C) D) Reporter.Reports micPass, "step", "details" Reporter.ReportEvent micPass, "step", "details" Reporter.PassEvent , "step", "details" Reporter.Event.Report micPass, "step", "details"

10) .....................Retrieves the folder path in which the current test's resul ts are stored A) Reporter.Report.Path B) Reporter.ReportsPath C) Reporter.ReportPath D) Reporter.Report_Path Answers 1) B, 2) A, 3) C, 4) A,B,C,D 5) B, 6) B, 7) D, 8) C, 9) B, 10) C QTP Multiple Choice Questions- Set 35 - Bitmap Checkpoints 1) You can create bitmap checkpoints for all supported testing environments A) True B) False 2) The results of bitmap checkpoints may be affected by factors such as.... A) B) C) D) E) operating system screen resolution color settings All of above Both A & C

3) In the Test Results window you can also view a bitmap that reflects the differen ce between the two bitmaps. A) True B) False 4) You can adjust the comparison to enable the checkpoint to pass even if the bitma ps are not identical by setting the...... A) B) C) D) RGB tolerance Pixel tolerance Bitmap tolerance Both A & B

5) The RGB (Red, Green, Blue) tolerance determines the percent by which the RGB val ues of the pixels in the expected bitmap can differ from those of the actual bit map and allow the checkpoint to pass. A) True B) False 6) You cannot modify an existing bitmap checkpoint. A) True B) False 7)

Bitmap checkpoints can capture only the visible part of an object. Therefore, confirm that the object to capture is always fully visible on the screen before a bitmap checkpoint step is performed. One way to do this is to insert a ..... statement. A) B) C) D) BitmapVisible AreaVisible MakeVisible PixelVisible

8) If you want to create a bitmap checkpoint that contains multiple objects, you sh ould select the highest level object that includes all the objects to include in the bitmap checkpoint. A) True B) False 9) In the Checkpoint Properties dialog box, ........enables you to select the compa rer for QuickTest to use to run the checkpoint. A) B) C) D) Bitmap Comparer Pixel Comparer Comparer CheckComparer

10) When you create a bitmap checkpoint, QuickTest can also capture any part that is scrolled off the screen, or hidden by another object A) True B) False Answers 1) A , 2) D , 3) A, 4) D , 5) B , 6) A , 7) C , 8) A , 9) C , 10) B 36 - Table Checkpoints 1) You can add ...... checkpoints to check the content of tables displayed in youra pplication. A) B) C) D) table Cell & Row Spreadsheet Excel

2) Table checkpoints are supported for table objects in a Which of add-in environments. A) B) C) D) Web ActiveX Java All of above

3) For selecting a range of rows to be included in your checkpoint, You can include :

A) B) C) D)

All rows Visible Rows Range All of Above

4) Table checkpoints are also supported for some list view objects, such as WinList View and VbListView. A) True B) False 5) The Table Checkpoint Properties dialog box does not allow you to edit or paramet erize the expected data for the cells included in the check. A) True B) False 6) In Table Checkpoint Properties dialog box, the Class specifies A) B) C) D) Type of object Class of content Class of table grib None of above

7) When you create a new table checkpoint, all cells contain a ..... check mark, in dicating they are all selected for verification. A) B) C) D) Red Blue Green Yellow

8) In a Table Checkpoint Properties dialog box, in order to Add an entire column to or remove it from the check A) B) C) D) Double-click the top-left corner of the grid Double-click the row header Double-click the column header None of Above.

9) In Table Checkpoint Properties dialog box, Double-clicking on the grid toggles t he settings for all selected cells. A) True B) False 10) In Table Checkpoint Properties dialog box, in the settings tab, you can specify the numeric range against which the content of the cell is compared. QuickTest d isplays this option only when Numeric Range is selected as the Verification type . A) True B) False

37 - Text Checkpoints 1) You can check that a specified text string is displayed by adding one of the fol lowing checkpoints to your test. A) B) C) D) Standard Checkpoint Text Area Checkpoint Text Checkpoint All of Above.

2) When checking text, QuickTest tries to retrieve the text directly from the objec t. If QuickTest cannot retrieve the text in this manner (for example, because th e text is part of a picture), it tries to retrieve the text using an OCR (optica l character recognition) mechanism. A) True B) False 3) Tick mark the true and complete statment: A) You can add a text checkpoint d application. B) You can add a text checkpoint or Web-based application. C) You can add a text checkpoint ased application. D) You can add a text checkpoint application. while recording steps in a Windows- or Web-base while recording or editing steps in a Windowswhile recording or editing steps in a Windows-b while editing steps in a Windows- or Web-based

4) You can add a text area checkpoint only while recording a test on Windows-based applications, such as Standard Windows, Java, Visual Basic, and ActiveX. A) True B) False 5) In the Text/Text Area Checkpoint Properties Dialog Box Options, in Checkpoint Su mmary area, QuickTest automatically displays the checked text in ....., and the text before and after the checked text in ..... A) B) C) D) Red, Blue Green, Blue Green Yellow White, Pink

6) In Windows-based environments, if there is more than one line of text selected, the Checkpoint Summary area displays [complex value] instead of the selected tex t string. You can then click Configure to view and manipulate the actual selecte d text for the checkpoint. A) True B) False

7) In the Text/Text Area Checkpoint Properties Dialog Box Options, in Checkpoint Su mmary area, You can only view and cannot modify the text selection displayed. A) True B) False 8) You can parameterize the checked text. A) True B) False 9) If you specify a checkpoint timeout other than 0, and the checkpoint ....., theT est Results window displays information on the checkpoint timeout. A) B) C) D) Passes Fails Fails or Passes None

10) Any text that is not selected as Checked Text, Text Before, or Text After is dis played in ..... The .... text is not displayed the next time the Configure Text Selection dialog box is opened. A) Black B) Brown C) Gray D) Yellow Answers 1) D , 2) A , 3) B, 4) A , 5) A , 6) A , 7) B , 8) A , 9) B , 10) C 38 - Database Checkpoints 1) Database checkpoints are supported by all environments. A) True B) False 2) Database checkpoint is displayed in the Expert View as a CheckPoint A) B) C) D) DbTable.Checkpoint DataTable.Check DbTable.Check DTable.Check

3) You can define the query for your checkpoint using A) B) C) D) 4) Microsoft Query Manually Oracle both A & B

The Database Checkpoint Properties dialog box enables you to check database cont ent. A) True B) False 5) In Database Checkpoint Properties dialog box, the .... displays the data that wa scaptured for the checkpoint. A) B) C) D) lotusdb area table area spreadsheet area grid area

6) When you create a new database checkpoint, all cells in the grid area of Databas e Checkpoint Properties Dialog Box contain a Red check mark, indicating they are selected for verification. A) True B) False 7) In the Database Checkpoint Properties dialog box, you can select to check the A) B) C) D) E) entire results set specific rows specific columns specific cells All of Above

8) You cannot modify the SQL query definition and the expected data in an existing database checkpoint. A) True B) False 9) In Database Checkpoint Properties dialog box, the default setting is to treat ce ll values as ..... and to check for the exact text, while ignoring spaces. A) B) C) D) Numeric String Variant array

10) You can modify the value of a cell or you can parameterize it to use a value fro m an external source, such as .... A) Data Table B) an environment variable C) Both A & B D) None of above Answers 1) A , 2) C , 3) D, 4) A , 5) D , 6) B , 7) E , 8) B , 9) B , 10) C 39 - Standard Checkpoint

1) Standard checkpoints compare the expected values of object properties to the obj ect s current values during a record session. A) True B) False 2) You use standard checkpoints to perform checks on .... A) B) C) D) E) images tables Web page properties None All of Above

3) To add a standard checkpoint while editing, two of the following can be true dep ending on the environment and applcaton: A)Active Screen information exists for the step. B)Active Screen information does not exist for the step. C)The object for which you want to create a checkpoint is currently not displaye d in the application. D)The object for which you want to create a checkpoint is currently displayed in the application. 4) In the Configure value area, you can define the expected value of the property t o check as a ....... A) B) C) D) Constant Parameter Both A & B None

5) Checkpoint timeout specifies the time interval (in milliseconds) during which QuickTest attempts to perform the checkpoint successfully. A) True B) False 6) If you specify a checkpoint timeout other than 0, and the checkpoint fails, theT est Results window displays information on the checkpoint timeout. A) True B) False 7) Standard checkpoint enables you to compare the expected image source file with t he actual image source file. A) True B) False 8) Once standard checkpoint is created you cannot modify the settings of existing c

heckpoints. A) True B) False 9) You can use ....... parameters while parameterizing the Object property to check . A) B) C) D) E) Data Table Environment Variable Random number Test or Action All of above

10) By default, the checkpoint name is the same as the name of the test object on wh ich the checkpoint was created. A) True B) False Answers 1) B , 2) E , 3)A,D 4) C , 5) B , 6) A , 7) A , 8) B , 9) E , 10) A 40 1) By creating tests that call multiple ......, you can design tests that are more modular and efficient. A) B) C) D) actions Functions Environment Variables Data Files

2) You can add steps to your test (select all those apply) A) B) C) D) by dragging objects from your object repository by recording on your application Automatically from Quality Center by exporting from Excel

3) When you create a function, you can insert it directly in an action to make it a vailable only within that action, or you can insert it in a function library to make it available to any test that is associated with that function library. A) True B) False 4) In QuickTest, you can create tests and components and then save them directly to your Quality Center project. A) True B) False 5) Business Process Testing uses a .......... methodology for testing.

A) B) C) D)

Hybrid Functional Decomposition Record & Play keyword-driven

6) By default, QuickTest automatically checks for online software updates once ever y ...... days. A) B) C) D) Three Four Six Seven

7) QuickTest remembers the add-ins you load so that the next time you open QuickTes t, the add-ins you selected in the previous session are selected by default. A) True B) False 8) If you focus on a specific step in the Keyword View and switch to the Expert Vie w, the cursor is located in that corresponding line of the test. A) True B) False 9) The ...... View is a script editor with many script editing capabilities. A) B) C) D) Remote View Keyword View Additional View Expert View

10) You cannot work on several function libraries at the same time. A) True B) False Answers 1) A, 2) A,B, 3) A, 4) A, 5) D, 6) D, 7) A, 8) A, 9)D, 10) B 41 1) The ....... Screen provides a snapshot of your application as it appeared when y ou performed a certain step during a recording session. A) B) C) D) Keyword View Expert View Active Library

2) The ......... pane enables you to drag and drop objects or calls to functions in to your test.

A) B) C) D)

Keywords Available Keywords Action Test

3) QuickTest automatically opens information pane when a syntax error is detected. A) True B) False 4) In Data Table Menu commands CTRL + K ... A) B) C) D) Deletes the current selection. Clears the contents from the current selection Finds a cell containing specified text. None of Above

5) You can also filter the Missing Resources pane to display a specific type of mis sing resource, such as Missing Object Repository and hide the other types. A) True B) False 6) .........Checks the syntax of the active document. A) B) C) D) Ctrl+F6 Ctrl+F7 Ctrl+F8 Ctrl+F9

7) QuickTest cannot test your dynamically changing application by learning and iden tifying test objects and their expected properties and values. A) True B) False 8) ....Sets or clears a breakpoint in the test. A) B) C) D) F7 F8 F9 F10

9) Process guidance is displayed in two panes: .......... A) B) C) D) Process Process Process Process Guidance Guidance Guidance Guidance Activities Information Plan Description

10) The To Do pane also enables you to view the TODO comments that exist in the acti

on or an open function library. A) True B) False Answers 1) C, 2) B, 3) A, 4) A, 5) A, 6) B, 7) B, 8) C, 9) A,D, 10) A 42 1) To view details for, or modify, the QuickTest Professional licenses installed on your computer, click the ...... button after selecting Help > About QuickTest P rofessional. A) B) C) D) License View License Active License Modify License

2) Use ..... to toggles between the Keyword View and Expert View. A) B) C) D) Shift+Page Up/Page Down Alt+Page Up/Page Down Ctrl+Page Up/Page Down Page Up/Page Down

3) For each test object class, QuickTest has a list of ..... properties that it alw ays learns. A) B) C) D) identification mandatory assistive All of above

4) QuickTest uses a very similar process of elimination with its ..... mechanism to identify an object, even when the learned description is no longer accurate. A) B) C) D) Elimination Ordinal identifier Identification Smart Identification

5) During a run session, QuickTest searches for a ...... object that exactly matche s the description of the test object it learned previously. A) B) C) D) run-time test-time prime-time action-time

6) You can add test objects to an object repository by...... A) QuickTest Navigate and Learn option B) add test objects manually C) perform an operation on your application while recording

D) All of above 7) If the mandatory property values are not sufficient to uniquely identify the obj ect within its parent object, QuickTest adds some assistive properties to create a unique description. A) True B) False 8) The native property set for each run-time object is created and maintained by th e ..... A) B) C) D) QuickTest Object creator Microsoft Adobe

9) You can view the syntax of the test object operations as well as the native oper ations of any object on your desktop using the Operations tab of the Object Spy. A) True B) False 10) You can retrieve property values from the run-time object during the run session by adding GetROProperty statements. A) GetTOProperty B) SetROProperty C) GetROProperty D) GetSOProperty Answers 1) B, 2) C, 3) B, 4) D, 5) A, 6) D, 7) A, 8) B, 9) A, 10) C 43 1) The Export and Replace Local Objects option (in Object Repository window) ..... A) B) C) D) exports the local objects to a shared object repository associates the new shared object repository with your action deletes the objects in the local object repository All of above

2) You cannot define the priorities of the object repositories associated with an a ction using the Associate Repositories dialog box. A) True B) False 3) The Object Repository window is read-write-only during record and run sessions. A) True B) False

4) You can modify the properties of the temporary version of the object during the run session without affecting the permanent values in the object repository by a dding a ...... statement. A) B) C) D) SetROProperty GetTOProperty SetTOProperty Both C & A

5) You can add a test object to the local object repository only if that test objec t does not already exist in a shared object repository that is associated with t he action. A) True B) False 6) You cannot add new test objects to your object repository that do not yet exist in your application. A) True B) False 7) You cannot add ..... objects directly to an object repository using the Add Obje cts to Local button in the Object Repository window. A) B) C) D) Web WinMenu Webelement Both B & C

8) You can add test objects to the local object repository of the current action by selecting the required object in the Active Screen. A) True B) False 9) To copy an object to a different location within an object repository press the .... key while dragging the object and drop it at the required location in the t ree. A) B) C) D) Shift Alt Shift Ctrl

10) You can modify the root node of an object repository. A) True B) False Answers 1) D, 2) A, 3) B, 4) C, 5) A, 6) B, 7) B, 8) A, 9) D, 10) B

44 1) A shared object repository stores objects in a file that can be accessed by mult iple tests in ....... mode. A) B) C) D) read-write read-only write-only read-write-execute

2) You can not transfer local objects to a shared object repository. A) True B) False 3) If an object with the same name is located in both the local object repository a nd in a shared object repository associated with the same action, the action use s the .... definition. A) B) C) D) local object shared object Object Spy Smart Identification

4) If a child object is added to a local object repository, and its parents are in a shared object repository, its parents are automatically added to the local obj ect repository. A) True B) False 5) In order to export Local Objects to a Shared Object Repository, you can use OR W indow but NOT OR Manager. A) True B) False 6) Test objects of environments that are not installed with QuickTest will be displ ayed with an ........ in the object repository. A) B) C) D) unknown icon (exclamation mark) unknown icon (hand mark) unknown icon (question mark) All of above

7) While the Object Repository window is open, you can continue using QuickTest, an d you can continue modifying objects and object repositories. A) True B) False 8) Checkpoint and output objects can be dragged and dropped from the Object Reposit

ory window. A) True B) False 9) You can use the Object Spy at any time to view ...... properties and values of t he objects in the application you are testing. A) B) C) D) Run-time native identification both B & C

10) You can modify checkpoint and output value details for objects saved in the loca l object repository. A) True B) False Answers 1) B, 2) B, 3) A, 4) A, 5) A, 6) C, 7) A, 8) B, 9) D, 10) A 45 1) You delete objects in the local object repository using the Object Repository Ma nager, and objects in the shared object repository using the Object Repository W indow. A) True B) False 2) You can search for a specific object in your object repository. You can search f or an object according to its ...... A) B) C) D) Color Font Type None of above

3) You can use the Find and Replace dialog box to replace property or object names. You cannot replace property values in a read-only component. A) True B) False 4) You can update a test object in your object repository by selecting the correspo nding object in your application and relearning its properties and property valu es from the application. A) True B) False 5) If you just want to restore the original test object description property set, w hile retaining any property values you have modified, you can use the ....... se

t option. A) B) C) D) Restore Restore Restore Restore true property property compulsory property mandatory property

6) When an object changes in your application, or if you are not satisfied with the current name of a test object for any reason, you can change the name that Quic kTest assigns to the stored object. A) True B) False 7) When you modify the name of a test object in the local object repository, the na me is not automatically updated for all occurrences of the test object. When you modify the name of a test object in a shared repository, the name is automatica lly updated in all components open on the same computer that use the object repo sitory as soon as you make the change, even if you have not yet saved the object repository with your changes. A) True B) False 8) The name you assign to the test object must be unique within the same class and hierarchy in the object repository. Object names are ...... A) case-sensitive. B) Not case-sensitive. 9) An ordinal identifier assigns a ...... value to a test object that indicates its order or location relative to other objects with an otherwise identical descrip tion (objects that have the same values for all properties). A) B) C) D) Decimal Floating point numerical String

10) You cannot configure the way that QuickTest learns and identifies objects. A) True B) False Answers 1) B, 2) C, 3) B, 4) A, 5) D, 6) A, 7) B, 8) B, 9) C, 10) B 46 1) ....... properties are properties that QuickTest learns only if the mandatorypro perties that QuickTest learns for a particular object in your application are no t sufficient to create a unique description. A) Assistive B) Ordinal

C) Semi-mandatory D) Smart 2) If several assistive properties are defined for an object class, then QuickTest learns two assistive properties at a time, and stops as soon as it creates a uni que description for the object. A) True B) False 3) If the combination of all defined mandatory and assistive properties is not suff icient to create a unique test object description, QuickTest also... A) B) C) D) Uses Smart Identification Learns the value for the selected ordinal identifier. Learns Disc Properties None

4) The learned and Smart Identification properties of certain test objects cannot b e configured, for example, the WinMenu, VbLabel, and VbToolbar objects. A) True B) False 5) During the run session, QuickTest looks for objects that match .... properties i n the test object description. A) B) C) D) assistive mandatory all None

6) You can include the same property in both the mandatory and assistive property l ists. A) True B) False 7) If QuickTest can use other identification properties to identify the object duri ng a run session, the ordinal identifier is ignored. A) True B) False 8) QuickTest can use the following types of ordinal identifiers to identify an obje ct: A) B) C) D) 9) Index Number Location CreationTime

By default, some test objects already have Smart Identification configurations a nd others do not. A) True B) False 10) The Smart Identification mechanism uses two types of properties: A) Base Filter Properties B) Option Filter Properties C) Optional Filter Properties D) Basic Filter Properties Answers 1) A, 2) B, 3) B, 4) A, 5) C, 6) B, 7) A, 8) A,C,D, 9) A, 10) A, C 47 1) If, after completing the Smart Identification elimination process, QuickTest sti ll cannot identify the object, then QuickTest uses the ........... to identify t he object. A) B) C) D) learned description and smart identification smart identification and the ordinal identifier smart identification plus the run time properties learned description plus the ordinal identifier

2) If QuickTest successfully uses Smart Identification to find an object after no o bject matches the learned description, the step is assigned a ....... in the Tes t Results. A) B) C) D) Passed status Failed status Warning status Yellow status

3) While Mapping User-Defined Test Object Classes, You should map an object that ca nnot be identified only to a ....... class with comparable behavior. A) B) C) D) Standard Standard Standard Standard Windows WinObject Winclass Winmap

4) With Object Repository Manager, You can work with object repositories saved both in the file system and in a Quality Center project. A) True B) False 5) You open the Object Repository Manager by choosing ........... A) B) C) D) File > Object Repository Manager Object Repository > Object Repository Manager Resource > Object Repository Manager Resources > Object Repository Manager

6) You cannot open as many shared object repositories as you want. A) True B) False 7) If QuickTest is connected to a Quality Center project with version control enabl ed, you can ...... A) B) C) D) view and manage versions of your shared object repositories view comparisons of two shared object repository versions view baseline history All of above

8) You can add checkpoint or output value objects to a shared object repository via the Object Repository Manager. A) True B) False 9) Even when steps containing an object are deleted from your component, the object s remain in the object repository. A) True B) False 10) When you open an object repository that is stored in the file system and was cre ated using a version of QuickTest earlier than version 9.0, QuickTest converts i t to the current format when you make it editable. A) True B) False Answers 1) D, 2) c, 3) A, 4) A, 5) D, 6) B, 7) D, 8) B, 9) A, 10) A 48 1) You can export the test objects in an object repository to an XML file. A) True B) False 2) QuickTest provides an .......... that enables you to manage QuickTest shared obj ect repositories and their contents from outside of QuickTest. A) B) C) D) Object Object Object Object Repository Repository Repository Repository automation object model Manager Window Dialog box

3) QuickTest Professional enables you to merge two shared object repositories into a single shared object repository using the ..........

A) B) C) D)

Object Object Object Object

Repository Repository Repository Repository

Manager Merge Tool automation object model Dialog box

4) The Object Repository Merge Tool also merge checkpoint or output objects from th e primary and secondary object repositories into the target shared object reposi tory. A) True B) False 5) You can configure how the Object Repository Merge Tool automatically deals with conflicting objects during the merge process or when performing an Update from L ocal Repository operation. A) True B) False 6) You can specify the ..... in which object names are displayed in the target obje ct repository according to their source, and whether they caused a conflict. Thi s enables you to see the status of each object more easily. A) B) C) D) Type Font Text color

7) An object repository that is currently open by another user is locked. If you tr y to merge the locked file, a warning message displays, and you cannot perform t he merge. A) True B) False 8) You can view or change how ...... objects are dealt with during the updateproces s in the Settings dialog box. A) B) C) D) Same Similar conflicting two

9) While updating a shared object repository from a local object repository, You ca n only add a component whose application area is associated with the shared obje ct repository you are updating and whose local object repository contains object s. A) True B) False 10) After you merge two object repositories, the Object Repository Merge Tool displa

ys ......, which describes how the files were merged, and the number and type of any conflicts that were resolved during the merge. A) the merge dialog box B) the Statistics dialog box C) the complete dialog box D) the merge complete dialog box Answers 1) A, 2) A, 3) B, 4) B, 5) A, 6) D, 7) B, 8) C, 9) A, 10) B 49 1) You can also open an object repository from the Recent Files list in the File me nu. A) True B) False 2) QuickTest saves the object repository with a .... extension in the specified loc ation and displays the object repository name and path in the title bar of the r epository window. A) B) C) D) .lsr .tsr .msr .tso

3) While an object repository is being edited, it is locked so that it cannot be mo dified by others. When you close the object repository, it is automaticallyunloc ked. A) True B) False 4) When you open an object repository, it is opened in read-only mode by default. Y ou can open it in editable format by clearing the ......... check box in the Ope nShared Object Repository dialog box when you open it. A) B) C) D) Repo in read-only mode Open in read-only mode Get in read-only mode Set in read-only mode

5) The ......... enables you to add multiple test objects to a shared object reposi tory while navigating through your application. A) B) C) D) Learn and Add option Navigate and Add option Learn and Navigate option Navigate and Learn option

6) Minimized windows are not learned when using the Navigate and Learn option. A) True

B) False 7) You can use the ........ button in the Manage Repository Parameters dialog boxto see where a repository parameter is being used. A) B) C) D) Find in Repository Locate in Repository See in Repository Look in Repository

8) The Object Repository Merge Tool also not merge checkpoint and output objects. A) True B) False 9) You can import and export object repositories from and to XML files. A) True B) False 10) Checkpoint and output objects are included when importing the contents of an obj ect repository from an XML file. A) True B) False Answers 1) A, 2) B, 3) A, 4) B, 5) D, 6) A, 7) A, 8) B, 9) A, 10) B 1) You can generate statements in a Function Library in the following ways: A) B) C) D) You can use the Step Generator to add steps that use methods and functions. You can manually insert VBScript statements that perform operations. You can import from Excel or Word. Both A & B

2) When you type in a function library, IntelliSense (the statement completion feat ure included with QuickTest) enables you to select the ...... for your statement from a drop-down list and view the relevant syntax. A) B) C) D) E) variable, test object, operation, property, collection

3) If you type a period after an object that you created in your script (using the CreateObject method, for example), QuickTest displays the ...... that you can us e for that object. A) B) C) D) operations properties collection variable

4) If you press CTRL+SPACE, QuickTest displays a list of the relevant test objects, operations, properties, collections, VBScript functions, user-defined functions ,VBScript constants, and utility objects that you can add. This list is displaye d even if you typed an object that has not yet been added to the object reposito ry. If the test contains a function, or is associated with a function library, t he functions are also displayed in the list. A) True B) False 5) When the Auto-expand VBScript syntax option is enabled and you start to type aVB Script keyword in a function library, QuickTest automatically recognizes the fir st two characters of the keyword and adds the relevant VBScript syntax or blocks to the script. A) True B) False 6) You can use the ......... to jump to a specific line in a function library. A) B) C) D) Go To dialog box Bookmarks PINUPS Both A & B

7) You cannot use Find & Replace option in Function Library. A) True B) False 8) When you are in function library, both the below statements are identical. Browser("Mercury").Page("Find a Flight:").WebList("toDay").Select "31" browser("mercury").page("find a flight:").weblist("today").select "31" A) True B) False 9) You can comment a statement by clicking ......... of/in the statement and clicki ng the Comment Block button. A) B) C) D) in the middle at the begining anywhere at the end

10) You cannot change the font style and size of text in your scripts and function l ibraries, but can change the color of different elements, including comments, st rings, QuickTest reserved words, operators, and numbers. A) True B) False

Answers 1) d, 2) a, b, c, d, e 3) a, b, 4) a, 5) a, 6) d, 7) b, 8) a, 9) c, 10) b QTP Function Libraries Multiple Choice Questions - 2 QTP Function Libraries - Multiple Choice Questions 11) When testing in a Unicode environment, you must select a Unicode-compatible font . Otherwise, elements in your test or function library may not be correctly disp layed in the Expert View or function library windows. A) True B) False 12) You cannot register a user-defined function as a method for a QuickTest test obj ect. A) True B) False 13) Using QuickTest, you can define and store your user-defined unctions............ ... A) B) C) D) in in in in a function library an action within a test an excel file a word file

14) Each function library opens in a separate window, enabling you to open and work on one or several function libraries at the same time. A) True B) False 15) Function Library cannot be opened in a read-only mode. A) True B) False 16) Function Library does not show up in the the recent files list in the File menu. A) True B) False 17) You can save Function Library A) B) C) D) to Quality Center project to the file system as an attachment to a test Both A & B

18) To insert calls to the attached function library, you need to associate it with

a test. A) True B) False 19) You can edit a function library at any time using the QuickTest editing features that are available in the...... A) B) C) D) VBScript Expert View Keyword View None of above

20) You can drag and drop a function but not a part of it from one document to anoth er. A) True B) False Answers 11) a, 12) b, 13) a, b, 14) a, 15) b, 16) b, 17) a, b, c, 18) a, 19) b, 20) b 1) If your test contains a global Data Table parameter, QuickTest runs the test onc e for each row in the Data Table. If your test contains a Data Table parameter f or the current action data sheet, QuickTest runs the action once for each row of data in that action data sheet. A) True B) False 2) You can specify whether to run the first iteration or all iterations, for the en tire test or for a specific action in the test; or to run the iterations for a s pecified range of data sets. A) True B) False 3) You can run the entire test from the beginning, but you cannot run part of it. A) True B) False 4) If you cleared the "View results when run session ends" check box in the Run pan e of the Options dialog box, the Test Results window does not open at the end of the run session. A) True B) False 5) You can use the ....... option to run a single action in your test. Using ...... . ignores any iterations. A) Run Current Actions B) Run Action

C) Run Current Action D) Ran Current Action 6) In the Run Dialog Box, in Results Location Tab, ........... option displays the default path and folder name in which the results are saved. A) B) C) D) New New New New run run run run result folder folder results path results folder

7) During a ...... session, QuickTest automatically marks steps that open certain d ialog boxes as optional. A) B) C) D) Run Recording Both A & B None of above

8) You cannot use Test Batch Runner to run several tests in succession. A) True B) False 9) Using Test Batch Runner, you can set up a list of tests and save the list as an ..... file, so that you can easily run the same batch of tests again, at another time. A) B) C) D) .ntb .mtb .mbt .btm

10) For a test that does not contain Data Table parameters, the Test Results window shows a ..... test iteration(s). A) Single B) Two C) Both A & B D) Multiple Answers 1) a, 2) a 3) b, 4) a, 5) c, 6) d, 7) b, 8) b, 9) b, 10) a 11) If the test contains Data Table parameters, and the test settings are configured to run multiple iterations, the Test Results window displays details for each i terationof the test run. The results are grouped by the ...... in the test. A) B) C) D) Tests Actions Iterations Parameters

12) After you run a test, the Test Results window displays all aspects of the run se ssion and can include - The exact locations in the test where failures occurred.

A) True B) False 13) The Test Results window can show results with up to ..... levels in the tree hie rarchy. If you have results with more than 300 nested levels, you can view the e ntire report by manually opening the results.xml file. A) B) C) D) 150 200 350 300

14) while Viewing Run Session Results, If an iteration contains checkpoints, the pos sible results are Passed or Failed. If an iteration does not contain checkpoints , the possible results are .............. A) B) C) D) Passed or Failed Done or Passed Done or Failed OK or Failed

15) You cannot change the look and feel of the Test Results window, as required. A) True B) False 16) If your QuickTest test is stored in Quality Center, the results are stored in th e test folder in Quality Center. You cannot change the location of the run session results. A) True B) False 17) Results files for QuickTest Professional version 6.5 and earlier are saved with a .qtp file extension. By default, only results files with an ......... extensio n are shown in the Select Results File dialog box. To view results files with a .qtp extension in the Select Results File dialog box, select Test Results (*.qtp ) in the Files of type box. A) B) C) D) .html .xhtml .xml .ml

18) A test, iteration, or action containing a step marked Warning may still be label edPassed or Done. A) True B) False 19) The ........... dialog box enables you to filter which iterations are displayed

in the run results tree of the Test Results window. A) B) C) D) Fillers Filter Results Filters

20) You can use ........ statements in the Expert View to disable or enable the savi ngof selected steps, or to save only steps with Failed or Warning status. A) Reporter.Filters B) Report.Filter C) Reporting.Filter D) Reports.Filter Answers 11) b, 12) a, 13) d, 14) c, 15) b, 16) a, 17) c, 18) a, 19) d, 20) a 21) You cannot also programmatically add an image to the Result Details tab using th e ReportEvent method of the Reporter utility object. A) True B) False 22) By default, QuickTest does not save a still image of your application for failed steps. A) True B) False 23) Movie is also stored with test results. You can export a captured Screen Recorde r movie to a file. The file is saved as an ...... file. You can view .fbr files in the HP Micro Recorder. You can also attach ...... files to defects in Quality Center. A) B) C) D) .fbr .sbr .tbr .mbr

24) You can export the test result details to an HTML, PDF, or DOC file. A) B) C) D) E) HTML PDF DOC Both A & C All of Above

25) You can use the .......... Tool to remove unwanted or obsolete test results from your system, according to specific criteria that you define. This enables you t o free up valuable disk space. A) Test Results Trash B) Test Results Removal C) Test Results Deletion

D) All of Above 26) You can use the Windows command line to instruct the Test Results. Deletion Tool to delete test results according to criteria you specify. A) True B) False 27) You cannot instruct QuickTest to automatically submit a defect to a Quality Cent er project for each failed step in your test. A) True B) False 28) If QuickTest successfully uses Smart Identification to find an object after multiple objects are found that match the learned description, QuickTest shows the Smart Identification information in the Test Results window. A) True B) False 29) You cannot view the results of the checkpoint in the Test Results window. A) True B) False 30) By default, the bottom pane in the Result Details tab in the Test Results window displays information on the selected checkpoint only if it has the status ...... . A) B) C) D) Pass Failed Done All of above

31) You can view detailed results of the table or database checkpoint in the Test Re sults window. A) True B) False 32) The top pane in the Result Details tab displays the checkpoint step results, inc luding ........ A) B) C) D) E) F) its status (Passed or Failed) the date and time the checkpoint was run the portion of the checkpoint timeout interval that was used the expected text and actual text that was checked the verification settings you specified for the checkpoint Both A & C

33) By default, if the checkpoint passes, the View XML Checkpoint Results button is

not available. A) True B) False 34) When you include accessibility checkpoints in your test, the Test Resultswindow does not display the results of each accessibility option that you checked. A) True B) False 35) You can view information on parameterized values and the results of output value steps in the Test Results window. But you cannot also view the contents of the run-time Data Table. A) True B) False Answers 21) b, 22) b, 23) a, 24) e, 25) c, 26) a, 27) b, 28) a, 29) b, 30) b, 31) a, 32) a,b,c,d,e, 33) a, 34) b, 35) b 1) The QTP & QC connection process has two stages. First, you connect QuickTest to ............ Quality Center server.Next, you log in and choose the project you w ant QuickTest to access. A) B) C) D) local remote inhouse both B & C

2) Quality Center projects are password protected A) True B) False 3) You can choose a Quality Center server accessible via ............ A) B) C) D) Local Area Network (LAN) Wide Area Network (WAN). Both A & B LPAD

4) You can log in to the same Quality Center server using a different user name by clicking Change User. A) True B) False 5) To view the current Quality Center connection, point to the Quality Center icon onthe status bar. A tooltip displays the Quality Center .......... to which Quic kTest is connected. A) server name

B) IP Address C) project D) Both A & B 6) If a Quality Center test, or shared file (such as a shared object repository or Data Table file) is open when you disconnect from Quality Center, then QuickTest keeps it open. A) True B) False 7) Integrating QuickTest with Quality Center enables you to store and access files in a Quality Center project, as well as use the ....... object to access the wid e range of functionality provided in the Quality Center Open Test Architecture A PI. A) B) C) D) QCUtility QCenterUtil QCUti QCUtil

8) You can also use the ....... object in your QuickTest automation scripts to acce ss the Quality Center OTA. A) B) C) D) TDOTA TDO TDOMA TDOTAG

9) When QuickTest is connected to a Quality Center project, you can open QuickTest tests that are a part of your Quality Center project. You locate tests according to their position in the ........, rather than by their actual location in the file system. You can also open tests from the recent tests list in the File menu . A) B) C) D) test test test test module tree case tree plan tree plan graph

10) If the test is stored in a Quality Center project with version control support, you can view version control information for the test by clicking the Views down arrow and selecting ........ A) info B) Details C) QC Info D) Detail Answers 1) a,b, 2) a 3) c, 4) a, 5) a, c, 6) b, 7) d, 8) a, 9) c, 10) b 11) ..... tests serve as the basis for all QuickTest tests created in Quality Center . A ..... test is a QuickTest test that contains default test settings.

A) B) C) D)

Server Template Dummy Sample

12) When a Quality Center user creates a new QuickTest test in Quality Center, the d efault template test for the installed QuickTest version is automaticallyassocia ted with the test unless the users selects another template test, A) True B) False 13) A default template test is installed on each Quality Center client when the Quic kTest Professional Add-in for ......... is installed. A) B) C) D) Web Services Quality Center .Net JVM

14) You can create multiple template tests, each for a specific testing purpose. A) True B) False 15) In Quality Center, you create QuickTest tests in the ............... A) B) C) D) test test test test module plan case module tree module plan module

16) When you create a QuickTest test in Quality Center, you must choose a template t est that specifies the QuickTest add-ins to be associated with the test. Otherwi se the required QuickTest add-ins will not be loaded during the run session. A) True B) False 17) QuickTest stores temporary test run results for all tests in ......... The path in thetext box of the Temporary run results folder (not saved in the project) op tion is read-only and cannot be changed. A) B) C) D) %TEMP%\TempResults %TMP%\TempResult %TMP%\TempResults %TMP%\TmpResults

18) You can report defects to a Quality Center project either automatically as they occur and not manually directly from the QuickTest Test Results window. A) True B) False

19) You can run QuickTest tests that are stored in a Quality Center database via.... ..... A) B) C) D) QuickTest a Quality Center client that is installed on your computer a remote Quality Center client. All of above

20) You can run QuickTest tests from Quality Center if the QuickTest computer is log ged off or locked. A) True B) False Answers 11) b, 12) a, 13) b, 14) a, 15) d, 16) a, 17) c, 18) b, 19) d, 20) b 21) By default, QuickTest opens and runs in hidden mode when Quality Center activate s it to run a test in a test set. A) True B) False 22) For security reasons, remote access to your QuickTest application is not enabled . If you want to allow Quality Center (or other remote access clients) to open a nd run QuickTest tests, you must select the ........ option in the Options dialo g box. A) B) C) D) Allow Allow Allow Allow other other other other HP HP HP HP products products products products to to to to run run run run tests tests and components components tests or components

23) When you run a QuickTest test or business process test from Quality Center, the QuickTest ........ opens on the QuickTest computer. The QuickTest .......... det ermines how QuickTest behaves when a test is run by a remote applicationsuch as Quality Center. A) B) C) D) Connection Agent Server Agent Remote Agent Both A & B

24) The ................ Enables you to view and compare your QuickTest assets in bo th Quality Center and QuickTest. A) B) C) D) Resources model Dependencies model Resources and Dependencies model Resources or Dependencies model

25) You can use the Asset Comparison Tool to compare versions of individual QuickTes

t assets and the Asset Viewer for viewing an earlier version of a QuickTest asse t. A) True B) False 26) You can share assets with other projects and synchronize them as needed. A) True B) False 27) While Working With the Resources and Dependencies Model in Quality Center, The . ........ displays the relationship between a selected asset, such as a test, and the assets with which it is associated. A) B) C) D) Dependency tab Dependencies tab Resource tab Resources tab

28) The QuickTest Asset Comparison Tool enables you to ........ A) B) re C) D) compare two versions of a particular QuickTest asset enables you to drill down in an asset to view a comparison of entities that a associated with the asset both a & b none

29) You manage asset versions by checking assets in and out of the version controlda tabase. A) True B) False 30) In QuickTest, you can check out only the latest version of an asset, although yo u can view and compare earlier versions. This is because assets that are stored in Quality Center are often linked to or dependent on one another. A) True B) False Answers 21) a, 22) b, 23) c, 24) c, 25) a, 26) a, 27) b, 28) c, 29) a, 30) a 31) Saving your changes to an existing asset does not check them in. Even if you sav e and close the asset, the asset remains checked out until you choose to check i t in. A) True B) False 32) While an asset is checked out, Quality Center users can run the previously check ed-in version of your asset. For example, suppose you check out version 3 of an asset and make a number of changes to it and save the asset. Until you check the

asset back into the version control database as version 4, Quality Center users can continue to run version ....... A) B) C) D) 4 5 3.1 3

33) If you do not want to check your changes into the Quality Center database, you c an undo the check-out operation. A) True B) False 34) A ......... represents a version of a project at a specific point in a project s l ife cycle. A) B) C) D) baseline caseline projectline both a & c

35) If you want to view the content of an asset on a particular date or after a part icular user checked in the asset, use the ...... option to view or compare the a sset. A) B) C) D) Version History baseline both A & B none of above

36) A Quality Center server with version control support requires the installation o fversion control software as well as the Quality Center Version Control Add-in. A) True B) False 37) When you choose File > Open > Test to open a test that is currently checked in t o the version control database or is checked out to another user, it is opened i n ..... mode. A) B) C) D) write-only read-only read-write None of above

38) You can review the checked-in test. You cannot run the test and view the results . A) True B) False 39) When you use Save As to save a new test in a Quality Center project withversion

control support, QuickTest automatically saves the test in the project, checks t he test into the version control database with version number ...... A) B) C) D) 1.0.0 1.0.1 1.1.1 0.1.1

40) You can use the Version History dialog box to......... A) view version information about the currently open test B) retrieve an earlier version of the test. C) View an earlier version of the test. D) All of above Answers 31) a, 32) d, 33) a, 34) a, 35) a, 36) a, 37) b, 38) b, 39) 40) d 1. You can create tests using the ... A) B) C) D) keyword-driven methodology Step recording Stop recording Both A & B

2. ...... enables you to record the operations you perform on your application. A) B) C) D) keyword-driven methodology Step recording Stop recording Both A & B

3. Keyword-driven testing enables you to design your tests at a business level r ather than at the object level. A) True B) False 4. As you navigate through your application, QuickTest graphically displays each step you perform as a ... in the Keyword View. A) B) C) D) row Column Cell None

5. After creating an initial test, you can further enhance it by adding and modi fying steps in the or . A) B) C) D) Keyword View Expert View Both A & B You cannot enhance it.

6. You can also use the CheckProperty method, which enables you to verify thepro perty value of an object without using the checkpoint interface. A) CheckpointProperty B) CheckProperty C) VerifyProperty

D) CheckingProperty 7. While parameterizing tests, you can supply data from A) B) C) D) E) data table environment variables values that QuickTest generates during the run session All of above None ..

8. QuickTest enables you to define the path to a resource that you are adding to the file system or to Quality Center, as only a relative path. A) True B) False 9. Using relative paths means that the paths remain valid when files or folders containing files are moved or copied to other locations or computers, provided t hat they are moved within the same folder structure. A) True B) False 10. QuickTest resource files can be locked by QuickTest to protect the informati on in the file from being overwritten. A) True B) False Answers 1)d, 2)b, 3) a, 4) a, 5)c, 6) b, 7)d, 8) b, 9)a, 10) a posted by sachin 9:37 AM 1. Using File > Export Test to Zip File enables you to save together, conserving space and making it easier to move a test. A) B) C) D) E) F) configuration run-time setup data Active Screen files A,B & C All of above

2. When you save a new test to the file system, QuickTest suggests a default fol der called . A) B) C) D) QTP Test Tests QuickTest

3. To set Active Screen preferences, such as instructing QuickTest not to captur e Active Screen files while recording or to only capture Active Screen informati on under certain conditions, you can modify the Active Screen pane of the Option s dialog box under........... A) B) C) D) Tools > Option > Active Screen node Tool > Options > Active Screen node Tools > Options > Active Screen node Tools > Options List > Active Screen node

4. To conserve disk space if you do not require the run results for later analys is, or if you are saving an existing test under a new name and do not need the r un results, clear the .............. check box. A) B) C) D) Save Save Save None run results run Screens run Screnshots of Above

5. Which of the following is not a valid option in QTP: A) B) C) D) E) F) Save Function Library Save Recovery Scenario Save Shared Object Repository Save Environment Variable File Both C & D All are Valid

6. If you clear the Save Active Screen files check box and then later want to ed it your test using Active Screen options, you can regenerate the Active Screen i nformation by performing an Update Run operation. A) True B) False 7. QuickTest does not support hidden files. A) True B) False 8. If a test has locked QuickTest resource files, you can open the test in ..... . A) B) C) D) read-only mode read-write mode Write-only mode Both A & B

9. Names and paths of tests and resources (for example, function libraries, object repositories, and recovery scenarios) are Unicode compliant. A) True B) False 10. The keyword-driven methodology is especially useful for organizations that h ave both technical and less technical users because it offers a clear division o f automation tasks. A) True B) False Answers 1)f, 2)c, 3) c, 4) a, 5)f, 6) a, 7)a, 8) d, 9)b, 10) a 1. The automation infrastructure usually includes ................... A) B) C) D) one or more shared object repositories one or more function libraries Both A & B None

2. QuickTest provides support for development environments using add-ins. A) True B) False 3. While you record your test steps, QuickTest creates test objects representing the objects in your application on which you perform operations. This enables Q uickTest to identify the objects in your application both while and . A) B) C) B) creating a test during a run session Both A & B None

4. By default, each test includes a single action, but can include multiple actions. A) True B) False 5. By default, QuickTest records in the ............ recording mode. A) B) C) D) Analog Standard Normal Low Level

6. This method enables you to record the exact mouse and keyboard operations you perform in relation to either the screen or the application window. A) B) C) D) Analog Standard Normal Low Level

7. When you record in Analog Recording mode, QuickTest adds to your test a ..... ..... statement that calls the recorded analog file. A) B) C) D) RunTime RunAnalog RunAction None

8. You can switch to either Analog Recording or Low Level Recording in themiddle of a recording session for specific steps. A) True B) False 9. QuickTest can record only on Web browsers that were opened after QuickTest. A) True B) False 10. QuickTest records the visual relation identifier property when recording ste ps. A) True B) False

Answers 1)c, 2)a, 3) c, 4) a, 5)c, 6) a, 7)b, 8) a, 9)a, 10) b 1. You can use the Keyword View to add new steps to your test and but you cannot view and modify existing steps. A) True B) False 2. In the keyword view, in a Value cell, press ....... to add line breaks (multi -line arguments) to your argument value. A) B) C) D) CTRL+ENTER SHIFT+ENTER ALT+ENTER F12+ENTER

3. In a Value cell (keyword view),if you enter quotation marks as part of the ar gument value, they are included in the argument value used during the run sessio n. A) True B) False 4. You can copy or cut a parent object together with only some of its child obje cts. A) True B) False 5. In case of Keyboard Shortcuts in the Keyword View, Press.... to add a new ste p below the currently selected step. A) B) C) D) F9 F11 F8 F12

6. ....... tool enables you to encode passwords so that you can use the resultin g strings as method arguments or data table parameter values (enabling you to pl ace secure values into the data table). A) B) C) D) Password Tool Password coder Tool Password decoder Tool Passworder Tool

7. IntelliSense information works in the keyword view. A) True B) False 8. A test comprises calls from actions. A) True B) False 9. An action consists of its own test script, including all of the steps in that action, and any objects in its shared object repository.

A) True B) False 10. An action in QTP can correspond to more than one DataSheet. A) True B) False Answers 1)b, 2)b, 3) a, 4) b, 5)c, 6) b, 7)a, 8) b, 9)a, 10) a 1. To modify a called, external action, you may or may not open the test with wh ich the action is stored and make your modifications there. A) True B) False 2. Input values for an action parameter can be retrieved from any of the followi ng: A) B) C) D) the the the the test (for a top-level action) parameters of the parent action that calls it (for a nested action) VBScript Engine output of a previous action call (for a sibling action)

3. Action parameters enable you A) to transfer input values from your test to a top-level action, B) to transfer input values from a parent action to a nested action, C) to transfer input values from an action to a sibling action that occurs later in the test. D) to transfer output values from a step in an action to its parent action, E) to transfer output values from a top-level action back to the script or appli cation that ran (called) your test. 4. The actual value specified for an input action parameter and the location spe cified for action output parameter cannot be different for each call to the acti on. A) True B) False 5. You can share a value that is generated in one action with other actions in y our test by storing the value in the global data table. Other actions can then u se the value in the data table as an ..... parameter. A) B) C) D) input output both none

6. As an alternative to using environment variables to share values between acti ons, you can use the Dictionary object. A) True B) False 7. An action call in the Expert View can define A) the action iterations, B) inputparameter values,

C) output parameter storage locations, D) an action return values. E) Both A & B 8. An action call with parameters has the following syntax: A) B) C) D) RunAction RunAction RunAction RunAction ActionCall, ActionName, ActionName, ActionName, IterationQuantity, Parameters IterationQuantity, Parameters, Time IterationQuantity, Parameters, IterationQuality, Parameters

9. If you expect other users to open your tests and all actions in your tests ar e stored in the same drive, you should use ....... paths for your reusable actio ns so that other users will be able to open your tests even if they have mapped theirnetwork drives differently. A) B) C) D) Relative Absolute Any None

10. If a test contains a call to an action from another test, and that other tes t was renamed in Quality Center, the original test name still appears (in square brackets) in the Test Flow pane. A) True B) False Answers 1)b, 2)a,b,d 3) a,b,c,d,e 4) b, 5)a, 6) a, 7)a,b,c,d 8) c 9)a, 10) a posted by sachin 8:46 AM 1. By default, QuickTest names the checkpoint using the name of the test object on which the checkpoint was created. A) True B) False 2. When you run the test, QuickTest compares the expected results of the checkpo int to the current results. If the results do not match, the checkpoint may or m ay not fail. A) True B) False 3. Which of the following following examples illustrate situations in which inse rting an existing checkpoint may be useful: A) se B) to C) D) If each page of your application contains your organization s logo, you can reu a bitmap checkpoint to verify each occurrence in the application. If your application contains multiple edit boxes, you can reuse a checkpoint confirm the enabled status of these edit boxes throughout your test. Both A & B None

4. Standard checkpoints are supported for all add-in environments A) True B) False

5. You create an image checkpoint by inserting a ..... checkpoint on an imageobj ect. A) B) C) D) standard Pic Image Picture

6. You can create a bitmap checkpoint for any area in your application. A) True B) False 7. You create a table checkpoint by inserting a ...... checkpoint on a table obj ect. A) B) C) D) table standard webtable tab

8. Text area checkpoints are supported for A) B) C) D) all Windows-based environments Java Both A & B None

9. Page checkpoints are only supported for the Web add-in environment A) True B) False 10.The XML Checkpoint option is supported for all add-in environments A) True B) False Answers 1)a, 2)b 3) c 4) a, 5)a, 6) a, 7)b 8)c 9)a 10) a 1. After you insert a checkpoint step, the checkpoint object is added to the ...... object repository. A) B) C) D) Shared Local Both XML

2. Return value of a checkpoint is a A) B) C) D) numeric string boolean variant

3. You can use the CheckProperty method to check specific property or itemproper ty values. A) True B) False

4. Checkpoints that contain more than 64K of data may run slowly. A) True B) False 5. With Bitmap Checkpoint you can check an entire object or any area within an o bject. A) True B) False 6. The results of bitmap checkpoints may be affected by factors such as A) B) C) D) operating system, screen resolution, color settings, RAM

7. The ........ determines the number or percentage of pixels in the actual bitm ap that can differ from those in the expected bitmap and allow the checkpoint to pass. A) B) C) D) Image tolerance RGB tolerance pixel tolerance Both A & C

8. ....... Specifies the time interval (in seconds) during which QuickTest attem pts to perform the checkpoint successfully. A) B) C) D) Checkpoint Checkpoint Checkpoint Checkpoint Time TimeOut TimeIn Time Frame

9. A table checkpoint on a large table may take a long time to create and a long time to run. A) True B) False 10 In Table Checkpoint Properties Dialog Box, in settings tab, Exact Match optio n is available only when String Content is selected as the Verification type. A) True B) False Answers 1)b, 2)c 3) b 4) a, 5)a, 6) a,b,c 7)c 8) b 9)a, 10) a 1. Text Checkpoint enables you to check that the text is displayed in a ......... according to specified criteria. A) B) C) D) Screen Window Web page All of Above

2. QTP can retrieve the text using an OCR (optical character recognition) mechan ism.

A) True B) False 3. You can create a check on a database to check the contents of the entire resu lt set, and not a part of it. A) True B) False 4. You can modify the expected data of a database checkpoint before you run your test. But you cannot make changes to the query in an existing database checkpoi nt. A) True B) False 5. When you create a database checkpoint on one machine and try to run it on dif ferent machine, you should have the same ........ installed on both machines. A) B) C) D) DBC driver DDBC driver MDBC driver ODBC driver

6. You can perform checkpoints on A) B) C) D) E) F) XML documents contained in Web pages, XML documents contained in frames, on XML files, on test objects that support XML Both A & C All of Above

7. XML documents and files often need a well-defined structure to be portable ac ross platforms and development systems. One way to accomplish this is by develop ing an ......, which describes the structure of the XML elements and data types. A) B) D) E) XML XML XML XML schema structured doc DTC VAR

8. XML checkpoints are not compatible with namespace standards. A) True B) False 9. What types of XML checkpoints you can create: A) XML Web Page/Frame Checkpoint. Checks an XML document within a Web page or frame. B) XML File Checkpoint. Checks a specified XML file. C) XML Test Object Checkpoint. D) All of Above 10. QuickTest cannot generate the expected return values of an operation when yo u insert an XML checkpoint on a Web service operation, but it can generate this information after it runs the operation.

A) True B) False Answers 1)d, 2)a 3) b, 4) b, 5)d, 6) f, 7)a 8) b 9)d, 10) a 1. QuickTest cannot generate the expected return values of an operation when you insert an XML checkpoint on a Web service operation. A) True B) False 2. The XML source on which you base your checkpoint must be A) B) C) D) in a valid XML format, confirm to W3 standards, Both A or B Both A and B

3. You can use the ....... button to confirm that the XML in your application or file adheres to the structure defined in a specific XML schema or schemas. A) B) C) D) Activate Schema Validation Activate Structure Validation Activate Schema Verification Both A and B

4. If you are validating an XML file using a schema defined in the XML file, the schema can be defined with ...... A) B) C) D) an absolute relative path. Both A and B Both A or B

5. If there is a schema with a namespace defined in your XML document, the names pace of the external schema may or may not be identical to the one defined in yo ur document. A) True B) False 6. The path or URL of your XML schema file is Schema path or URL A) True B) False 7. When you parameterize the value of an object property for a local object, you are modifying the test object description in the shared object repository. A) True B) False 8. You cannot parameterize values of operation arguments defined for a selected step. A) True B) False 9 You can parameterize a value using a test or action parameter only if the para meter has been defined for the test or action.

A) True B) False 10. You can also create test or action parameter output values that retrieve val ues during the run session and store them for use at another point in the run se ssion. A) True B) False Answers 1)a, 2)d 3)a, 4) d, 5)b, 6) a, 7)b, 8) b 9)a, 10) a 1. When you create a new data table parameter, a new column is added at the .... . of the data table and the current value you parameterized is placed in the fir st row. A) B) C) D) Start End Middle None

2. If you parameterize a value that is defined as a variant value, then when Qui ckTest retrieves the value from the data table, it will retrieve it as a string. A) True B) False 3. Environment parameters can be used for testing the same application on differ ent browsers. A) True B) False 4. You can create several external variable files with the same variable names a nd different values and then run the test several times, using a different file each time. A) True B) False 5. Variables that represent information about the test and the computer on which the test is run, such as Test path and Operating system. These variables are ac cessible from all tests, and are designated as ........ A) B) C) D) Read & Write only Read Only Write only None

6. You cannot select built-in environment variables when parameterizing values. A) True B) False 7. You can also store environment variable files in Quality Center. A) True B) False

8. When working with Quality Center and environment variable files, you must sav e the environment variable file in the ........ module in your Quality Center pr oject before you specify the file in the Environment pane of the Test Settingsdi alog box. A) B) C) D) Test Management Test Library Test Resources Any of Above

9. QuickTest also has a set of predefined environment variables that you can use to set the values of the Record and Run Settings dialog options. A) True B) False 10. By outputting values to the global data table sheet from one action and usin g them as input parameters in another action, you cannot pass values from one ac tion to another. A) True B) False Answers 1)b, 2)a 3) a 4) a, 5) b, 6) b, 7)a 8) c 9)a, 10) b

You might also like