50092107-qtp

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

Upload: dhannanjayjadhav4u

Post on 01-Oct-2014

86 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 50092107-qtp

16 Descriptive Programming

1) Programmatic description can be very useful if you want to perform an operation on an object that is stored in the object repository.

A) TrueB) False

2) There are two types of programmatic descriptions:A) Static & DynamicB) Statement & DynamicC) Step & DynamicD) Standard & Dynamic

3) You can also use programmatic descriptions to perform the same operation on several objects with certain identical properties, or to perform an operation on an object whose properties match a description that you determine dynamically during the run session.A) TrueB) False4) QuickTest evaluates all property values in programmatic descriptions as regular expressionsA) TrueB) False5) From the below 4 statements which one is invalid:A) Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "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 object hierarchy, you must continue to use programmatic descriptions from that point onward within the same statement.A) TrueB) False7) You can run any application from a specified location using a ..... statement.A) Start.ApplicationB) System.UtilRunC) SystemUtil.RunD) SystemUtii.RUn8) When creating a programmatic description for an ActiveX test object and the relevant 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 HandleB) WindowLessC) WinlessD) None9) You can compare the run-time value of a specified object property with the expected value of that property using either programmatic descriptions or user-defined functions.A) TrueB) False10) When you specify an application to open using the Record and RunSettings dialog box, QuickTest adds a SystemUtil.Run statement to your test.A) TrueB) False

17 - QTP Expert View

Page 2: 50092107-qtp

1) You can use the Expert View tab to view a text-based version of your test.A) TrueB) False2) Expert View contains each step as a VBScript line. In object-based steps, the VBScript line defines the ........ hierarchy.A) ActionB) ObjectC) TestD) 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) NextB) PreviousC) LastD) Corresponding

4) For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.A) TrueB) False5) When you switch from the Expert View to the Keyword View, QuickTest automatically checks for syntax errors in your script, and shows them in the Information pane.A) TrueB) False6) In the Expert View, the ....... is always visible and the Expert View always displays the script for the selected action.A) Action ListB) Expert ListC) Check ListD) View List

7) You can insert a checkpoint or output value statement in the Expert View manually.A) TrueB) False8) You can copy a Checkpoint or Output statement from the Expert View to another test.A) TrueB) False

9) You can also manually enter standard VBScript statements, as well as statements using QuickTest test objects and methods, in the Expert View.A) TrueB) False10) You cannot print the test displayed in the Expert View or a function library.A) TrueB) False11) When you type in the Expert View or a function library, .......... enables you 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 boxB) Web edit Property dialog boxC) IntellisenseD) dropdown list18 - Function Library

Page 3: 50092107-qtp

1) Using QuickTest, you can define and store your user-defined functions in a .....

A) function libraryB) directly in an action within a test.C) both A & BD) None

2) Default file extention of function library is

A) .flfB) .qtflC) .qflD) .tfl

3)When you store a function in a test action, it can be called from any other action or test.

A) TrueB) False

4)You cannot define private functions and store them in a function library.

A) TrueB) False

5)You can drag and drop a function (or part of it) from one document to another.

A) TrueB) False

6)You can add steps to your function library manually or using the StepGenerator.

A) ManuallyB) using Step GeneratorC) Both A & BD) None

7)In function libraries, IntelliSense does not enable you to view test object names or collections because function libraries are not connected to object repositories.

A) TrueB) False

8)Function Libraries can be edited during the debug session.

A) TrueB) False

9)To close all open function libraries:

A) Choose File > Close All Function Libraries,B) Window > Close All Function Libraries.

Page 4: 50092107-qtp

C) Widow > Close AllD) Both A & B

10)Any text file written in standard VBScript syntax can be used as a function library.

A) TrueB) False

11)If you create a user-defined function manually and do not define the scope as Public or Private, it will be treated as a ..... function, by default.

A) PrivateB) PublicC) Both A & BD) None

12)If you choose not to register your function at this time, you can manually register it later by adding a RegisterUserFunc statement after your functionA) RegisterUserFunctionB) RegisterUserFuncC) RegUserFuncD) Both A & B

19 - QTP Parameterization

1)You can parameterize values ..... in your test.

A) in StepsB) in CheckpointsC) of Action ParametersD) Both A & BE) All of above

2)You can parameterize values in steps and checkpoints while ...... your test.

A) recordingB) editingC) Both A & B

3)There are four types of parameters: Test/Action, Random number,Environment Variable, Regular Expression.

A) TrueB) 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.

Page 5: 50092107-qtp

A) Parameter("ParameterName")B) ParameterName("Parameter")C) Parameter("Parameter-Name")D) Parameter("Parameter_Name")

5)..... parameters are available only for top-level actions.

A) ActionB) Environment VariableC) TestD) None

6)...... parameters are available for subsequent steps and for nested actions. They are defined in the action containing the steps or in the action that calls the nested action.

A) ActionB) Environment VariableC) TestD) Parent action

7)When specifying the name for data table parameter, the first character of the parameter name must be a ......

A) letterB) underscoreC) numberD) both A & b

8)By outputting values to the global Data Table sheet from one action and using them as input parameters in another action, you can easily pass values from one action to another.

A) TrueB) False

9)....... parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on the selected language.

A) ActionB) EnvironmentC) TestD) Parent action

10)You can also store environment variable files in Quality Center.

A) TrueB) False

11)....... built-in environment variable that tells version of the OS on which you are working.

Page 6: 50092107-qtp

A) OSB) OS_VerC) OSVERD) OSVersion

12)Random number parameters are appropriate for non-numericvalues, such as text or hypertext links.

A) TrueB) 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 undependable values.

A) TrueB) False

2)You can use regular expressions only for values of type string and number.

A) TrueB) False

3)If you expect the value of a property to change in an unpredictable way during each run session, you can use regular expressions

A) TrueB) False

4)All ........ are automatically treated as regular expressions.

A) programmatic descriptionB) WindowC) WinObjectD) Collection

5)If a backslash character is used before a character that has no specialmeaning, the backslash is ignored.

A) TrueB) False

6)You can use regular expressions in the Find what and Replace with strings to enhance your search.A) TrueB) False

Page 7: 50092107-qtp

7)Regular Expressions can also be used with XML checkpoints.

A) TrueB) False

8)What is the Regular Expression Matching Zero or More Specific Characters

A) xB) #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) TrueB) False

2)In the test results, the virtual object is displayed as though it is a standard class object.

A) TrueB) False

3)QuickTest does not support virtual objects for ....... recording.

A) analogB) low-levelC) normalD) both A & BE) both A & C

4)You can use the Object Spy to view virtual object properties.

A) TrueB) False

5)You cannot insert any type of checkpoint on a virtual object

A) TrueB) False

6)The ............ contains all the virtual object collections defined on your computer.

Page 8: 50092107-qtp

A) Virtual Objects ManagerB) Virtual ManagerC) Virtual Object ManagerD) Virtual Object Wizard

7)Extention of virtual object collection files

A) .vcfB) .votC) .vctD) .vcd

8)You can remove virtual objects from your test by ....... these objects.

A) disabling recognition ofB) deletingC) deleting virtual object collection files ofD) All of AboveE) both A & B

9)When you want QuickTest to recognize virtual objects during recording, ensure that the ....... check box in the General tab of the Options dialog box is cleared.

A) Disable recognition of virtual object Files while recordingB) Disable recognition of virtual object Collection while recordingC) Disable recognition of virtual objects while recordingD) Enable recognition of virtual objects while recording

10)QuickTest identifies a virtual object according to its ......

A) PropertiesB) boundariesC) Object SpyD) 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) Specific ErrorsB) Test ErrorsC) Trigger EventsD) QTP Errors

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

A) Trigger Events

Page 9: 50092107-qtp

B) Recovery EventsC) Recovery StatementsD) Catch Statements

3)If you choose On error in the Activate recovery scenarios box in the Recovery tab of the Test Settings dialog box, the recovery mechanism does not handle triggers that occur in the last step of a test.

A) TrueB) False

4)By default, recovery scenario operations are activated only after a step returns an error.

A) TrueB) False

5)A ....... is a convenient way to organize and store multiple recovery scenarios together.

A) recovery fileB) recovery folderC) Recovery LogD) 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 those files.

A) TrueB) False

7)Each recovery scenario is represented by an icon that indicates its type.

A) TrueB) False

8)The Recovery Operations screen in Recovery Scenario Wizard enables you tomanage the collection of ........ in the recovery scenario.

A) recovery operationsB) recovery FilesC) Trigger eventsD) All of Above

9)If you define a Restart Microsoft Windows recovery operation, it is always inserted as the last recovery operation, and you can change its position in the list.

A) TrueB) False

10)

Page 10: 50092107-qtp

If more than one scenario uses a function with the same name from different function libraries, the recovery process may fail.

A) TrueB) FalseAnswers

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 debug it from that test.

A) TrueB) False

2)To detect and isolate defects in a test or function library, you can control the run session using the .... command

A) PauseB) RunC) F14D) 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) Debug WindowB) Debug Dialog C) Debug ViewerD) Debug page

4)While the test and function libraries are running in debug mode, they are read-only

A) TrueB) False

5)You cannot debug a file that is called using an ...... statement, or any of the functions contained in the file.

A) ExecuteFilesB) Execute_FileC) Execute-FileD) ExecuteFile

6)The debug session can continue at the backend while you can perform file operations like opening a new test etc.

A) TrueB) False

Page 11: 50092107-qtp

7)Any changes you apply to external resources saved in the file system, such as function 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 Center project, such as a function library, will be implemented immediately.

A) TrueB) False

8)You can use the .......... command to begin your debug session at a specific point in your test.

A) Start from StepB) Run to Step C) Run from StepD) 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 > Options).

A) Delay step execution byB) Delay every step execution byC) Delay all steps execution byD) Delay each step execution by

10)To display the Debug toolbar, choose ............

A) View > Toolbar > DebugB) View > Toolbars > DebugsC) Views > Toolbar > DebugD) View > Toolbars > DebugAnswers

1) A, 2) A, 3) C, 4) A, 5) D, 6) B, 7) B, 8) A, 9) D, 10) D24 - Add-in

1)You can install the QuickTest...... add-ins (Web, ActiveX, Visual Basic) when youinstall QuickTest Professional, or you can install the QuickTest built-in add-ins at a later time by running the installation again.

A) internalB) externalC) built-inD) All of above

2)Add-ins that are installed separately from the QuickTest Professional installationare referred to as ....... add-ins.

A) internalB) externalC) built-inD) built-out

3)

Page 12: 50092107-qtp

When QuickTest opens, you can choose which of the installed add-ins you want to load using the QuickTest Professional - ...... dialog box.

A) Add-In WindowB) Add-In C) Add-In ManagerD) Add-In Management

4)Installing and Loading an Add-in is one and the same thing.

A) TrueB) False

5)You can install Add-in Upgrade patches by running the relevant patch executable from the \...... folder.

A) AddinsUpdateB) AddinsUpgradeC) Addins_upgradeD) Both A & B

6)In Add-in Manager dialog box, Time-Limited column displays values only when using a QuickTest seat license � not a concurrent license.

A) TrueB) False

7)You can view the list of add-ins that are currently installed or loaded by choosing ...................

A) File > SettingsB) Tools > Options and click the General tab.C) Help > About QuickTest Professional.D) both A & B

8)To maximize performance and object identification reliability, load all the add-ins.

A) TrueB) False

9)The add-in is displayed as Not Licensed in the License column of the Add-in Manager dialog box:

A) If an add-in license has not yet been installed for a specific external add-in.B) if no concurrent license server within your subnet has a registered license for the specific add-inC) if all concurrent licenses are in useD) 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.

Page 13: 50092107-qtp

A) TrueB) FalseAnswers

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) Record and Run B) Record and Run SettingsC) Run and Record D) 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) TrueB) False

3)You can record tests only on ............

A) Microsoft Internet ExplorerB) Netscape BrowserC) Mozilla FirefoxD) Opera

4)Record and Run Settings window contains two tabs

A) Web & WindowB) Web & Windows ApplicationsC) Web & Window ApplicationsD) Web & Windows Application

5)You can add up to ... applications to the application list displayed in the Windows Applications tab

A) 10B) 12C) 24D) 64

6)You can use special, predefined environment variables to specify the applicationsor browsers you want to use for your test while specifying the Record and Run Details

A) TrueB) False

7)

Page 14: 50092107-qtp

If you select the option to Record and Run on any application or browser (the upper radio button in each tab of the Record and Run Settings dialog box), QuickTest ..... any defined record and run environment variables.

A) does notB) ignoresC) may or may not ignoreD) 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 variable name for the Web address to display in the browser is

A) URL_VARB) URL_EN C) URL_ENV D) 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 the Active Screen while editing your test.

A) repeating timeB) waiting timeC) average time D) recording time

10)The Web tab (Record and Run Settings dialog box) is available only when Web support is installed and loaded.

A) TrueB) FalseAnswers1) 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 actions in the test) or you can view the steps for a selected reusable or external action.

A) Action MenuB) Action ListC) Action ToolbarD) Action View

2)You can view the ....... of the original action in the General tab of the ActionProperties dialog box.

A) ParametersB) LocationC) Associated RepositoriesD) Type

3)

Page 15: 50092107-qtp

You can create an additional call to any reusable or external action in your test by pressing ...... while you drag and drop the action to another location at a parallel (sibling) level within your test.

A) F3B) altC) shiftD) ctrl

4)You can use action parameters in any step in your action (including function calls).

A) TrueB) False

5)Input values for an action parameter can be retrieved

A) from the test (for a top-level action)B) from the parameters of the parent action that calls it (for a nested action)C) from the output of a previous action call (for a sibling action)D) All of above

6)The Action Call Properties dialog box enables you to set options that apply only to a ...... action call.

A) followingB) preceedingC) specificD) internal

7)Specifying input and output parameter values in action calls is .......

A) requiredB) optionalC) required only for internal actionD) 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) InternalB) ExternalC) LocalD) Global

9)ExitAction:

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

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

Page 16: 50092107-qtp

, the RunAction statement can return the value of the ExitAction's RetVal argument.

A) TrueB) FalseAnswers1) 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 object repository and in a shared object repository that is associated with the same action, the action uses the ...... object definition.

A) sharedB) localC) Can use anyD) None of above.

2)You cannot use the same shared object repository with multiple actions.

A) TrueB) False

3)If one or more of the property values of an object in your application differ from theproperty values QuickTest uses to identify the object, your test ..... fail.

A) mayB) mustC) shouldD) will certainly

4)You can open as many shared object repositories as you want.

A) TrueB) False

5)You can also open an object repository from the .......... in the File menu.

A) Recent Folders listB) Current Files listC) Recent Files listD) Both A & c

6)QuickTest saves the object repository with a ..... extension in the specified location

A) .vsrB) .tsrC) .lsrD) .qsr

7)

Page 17: 50092107-qtp

If you opened the object repository in ...... mode, you must enable editing for the object repository before you can modify it.

A) read-write modeB) read-execute modeC) read-write-execute modeD) read-only mode

8)You can also modify a shared object repository by merging it with another shared object repository.

A) TrueB) False

9)You can also add objects to a shared object repository using the ....... option.

A) Navigate and LearnB) Navigate and earnC) Navigate D) 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) TrueB) FalseAnswers1) 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) TrueB) 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) MicrosoftB) Adobe C) HPD) QuickTest

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) TrueB) False

Page 18: 50092107-qtp

4)

It is possible that you can use the Object property to access the native propertiesof any run-time object. A) TrueB) False

5)You cannot retrieve the values of test object properties from a run-time object. A) TrueB) False

6)

You can use the GetTOProperty, GetTOProperties, and SetTOProperty methods in your ........ to set and retrieve the test object property values of the test object.

A) TestB) Function LibraryC) Applciation areaD) Both A & B

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 during the course of the run session, and do not affect the values stored in the test object repository. A) TrueB) False

8)

You can use the Object Spy at any time to view ..... properties and values of the objects in the application you are testing.

A) run-timeB) test objectC) Both A & BD) None

9)

You cannot add to the list of properties that QuickTest uses to identify an object.A) TrueB) False

10)

The default properties for a Link object (hypertext link) are...

A) NameB) text C) HTML tagD) TagAnswers

Page 19: 50092107-qtp

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 applicationA) TrueB) False

2)Using the Windows API, you can extend testing abilities and add usabilityand flexibility to your...... .

A) testsB) function libraries C) applicationsD) Both A & B

3)API functions are located inside Windows DLLs

A) TrueB) False

4)Integrating QuickTest with Quality Center enables you to store and accessfiles in a Quality Center project, as well as use the ....... object to access thewide range of functionality provided in the Quality Center Open TestArchitecture API.

A) QCUtilB) QCUtilityC) QCUtillD) QCUntil

5)QuickTest works directly with the SAP Gui Scripting API to record your operations. Therefore, QuickTest adds steps to your test or component only when ........ are sent to the server.

A) API catchesB) API eventsC) API startsD) API stops

6)QuickTest communicates directly with the SAP Gui Scripting API to record and run your operations on SAP Windows objects.

A) TrueB) False

7)........... declares references to external procedures in a dynamic-link library

A) DeclareB) ExternC) Intern

Page 20: 50092107-qtp

D) None

8)The QuickTest automation object model supplies a type library file named ........... This file is stored in \bin.

A) QTObjectModel.dllB) QTObjectModell.dllC) QTObjecModel.dllD) 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) Stagent.dllB) Stagerent.dllC) Staent.dllD) Stagents.dll

10)In the General tab of Options dialog box, Use text recognition mechanisms in this order: (Please select valid options from below)

A) First Windows API then OCRB) First Windows API then LCRC) First Windows API then MCRD) First Windows API then NCRAnswers1) A, 2) 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) TrueB) False

2)Values from one part of a run session cannot be used later in the run session

A) TrueB) 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 Table

A) localB) globalC) actionD) both A & B

4)

Page 21: 50092107-qtp

The Dictionary object enables you to assign values to variables that are accessible from .... actions

A) localB) externalC) both A & BD) None of above

5)After you have added the reserved Dictionary object to the registry, it is .... to restart QuickTest.

A) requiredB) not requiredC) may or may not beD) None of above

6)It is possible to create nested Dictionary objects.

A) TrueB) False

7)A function cannot return a dictionary object.

A) TrueB) False

8)A function can accept a dictionary object as a parameter.

A) TrueB) 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 MethodB) RemoveAll MethodC) Delete MethodD) DeleteAll MethodAnswers1) 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 the objects in the repository and those in your .......

A) FunctionB) Action1

Page 22: 50092107-qtp

C) applicationD) Both A & B

2)In Maintenance Run Mode, the run ..... each time an object is not found.

A) ResumesB) StopsC) pausesD) None

3)When you run a test in Maintenance Mode, the ........ opens for steps that failed because an object was not found in the application.

A) Maintenance WizardB) Maintenance Run wizardC) Maintenance Run optionD) Maintenance Work Wizard

4)When the Maintenance Run Mode ends, Maintenance Mode wizard provides a summary of the changes it made to your test.

A) TrueB) False

5)You can run in Maintenance Run Mode only when QuickTest is set to use the ..... run mode.

A) MaintenanceB) Low LevelC) AnalogD) Normal

6)You can run in Maintenance Run Mode on applications that do not have a user interface, such as Web services.

A) TrueB) False

7)You must have the Microsoft Script Debugger installed to run the tests inMaintenance Mode.

A) TrueB) False

8)The Add Comment screen enables you to add a comment to your test or component ..... the current step.

A) AfterB) beforeC) At LastD) Both A & C

9)

Page 23: 50092107-qtp

The Add Object to Repository screen opens if the object to which you pointed .... in any associated object repository.

A) is not addedB) existC) does not existD) is added

10)Maintenance Mode makes changes to the .... object repository only.

A) SharedB) LocalC) BothD) NoneAnswers1) 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) completedB) half completedC) about to be completedD) Both A & C

2)The left pane in the Test Results window displays the .............--a graphical representation of the test results.

A) run results imagesB) run results tree C) run results iconsD) None

3)By default, when the Test Results window opens, a test summary is displayed in the .......... tab in the right pane of the window.

A) Result DetailB) Res DetailsC) Result DetailsD) Details

4)The right pane of the Test Results Window contains tabs labeled ......................

A) Result Details and Screen RecorderB) Result Detail and Screen RecorderC) Res Details and Screen RecorderD) Details and Screen Recorder

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

Page 24: 50092107-qtp

A) TrueB) False

6)You can view the results of an individual.................

A) iterationB) an actionC) a stepD) All of above

7)A test, iteration, or action containing a step marked Warning may still be labeledPassed or Done.

A) TrueB) 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) Reporter.EventB) Reporter.ResultsC) Reporter.FilterD) Reporter.Result

9)You can view the saved results for the current test or component, or you can view the saved results for other test or components.

A) TrueB) False

10)You can use the .............. to remove unwanted or obsolete run results from your system, according to specific criteria that you define.

A) Test Results ToolB) Test Results Deletion ToolC) Results Deletion ToolD) RunResults Deletion ToolAnswers1) 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) completedB) half completedC) about to be completedD) 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

Page 25: 50092107-qtp

B) run results tree C) run results iconsD) None

3)By default, when the Test Results window opens, a test summary is displayed in the .......... tab in the right pane of the window.

A) Result DetailB) Res DetailsC) Result DetailsD) Details

4)The right pane of the Test Results Window contains tabs labeled ......................

A) Result Details and Screen RecorderB) Result Detail and Screen RecorderC) Res Details and Screen RecorderD) Details and Screen Recorder

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

A) TrueB) False

6)You can view the results of an individual.................

A) iterationB) an actionC) a stepD) All of above

7)A test, iteration, or action containing a step marked Warning may still be labeledPassed or Done.

A) TrueB) 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) Reporter.EventB) Reporter.ResultsC) Reporter.FilterD) Reporter.Result

9)You can view the saved results for the current test or component, or you can view the saved results for other test or components.

A) TrueB) False

Page 26: 50092107-qtp

10)You can use the .............. to remove unwanted or obsolete run results from your system, according to specific criteria that you define.

A) Test Results ToolB) Test Results Deletion ToolC) Results Deletion ToolD) RunResults Deletion ToolAnswers1) 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) TrueB) False

2)..............method helps you resolve the specified relative file path and returns its absolute path.

A) LocalB) Lrelative C) LocateD) Lresolve

3)In the FIle ->Settings, Resource tab, you can enter an associated function library as a relative path.

A) TrueB) False

4)ExecuteFile Statement which executes the VBScript statements in the specified file can accept ............ of the file to execute.

A) AbsoluteB) RelativeC) Both A & BD) None

5)When working with tests, if your recovery files are stored in the file system and 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) AbsoluteB) RelativeC) Both A & BD) None

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

Page 27: 50092107-qtp

A) TrueB) False

7)If you expect other users to open your tests and all actions in your tests are stored 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 theirnetwork drives differently

A) TrueB) False

8)A relative path is a path that is indicated relatively to a ......... location in the file system tree.

A) previousB) rootC) currentD) base

9)You can use a .......statement in your test to retrieve the complete path that QuickTest will use for a specified relative path based on the folders specified in the Folders tab.

A) PathFinder.LocaleB) PathFinder.LocateC) Locale.PathFinderD) Locate.PathFinder

10).................. Property Assigns a relative path to a shortcut, or identifies therelative path of a shortcut.

A) RelativePathB) Relative_PathC) Relative-PathD) RelativePathsAnswers1) 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) ReporterEventB) ReporterC) both A & BD) None of above

2)Reporter object is an utility object

A) TrueB) False

3)ReportEvent Method .......

Page 28: 50092107-qtp

A) Reports an event to the Quality CenterB) Reports an event to the Excel SheetC) Reports an event to the test results.D) Reports an event to the Business Process Testing.

4)ReportEvent method's EventStatus argument has the following predefined constants: (click all answers that apply)

A) 0 or micPassB) 1 or micFailC) 2 or micDoneD) 3 or micWarningE) 4 or micError

5).........Retrieves the run status at the current point of the run session.

A) RunStatusesB) RunStatusC) Run_StatusD) 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) PassB) FailC) ErrorD) Warning

7).................Retrieves or sets the current mode for displaying events in the Test Results

A) FiltersB) RFilterC) R.FilterD) Filter

8)You can use ...... property to completely disable or enable reporting of steps

A) enableB) disableC) filterD) enable-disable

9)How would you insert result for a step in Test Results

A) Reporter.Reports micPass, "step", "details"B) Reporter.ReportEvent micPass, "step", "details"C) Reporter.PassEvent , "step", "details"D) Reporter.Event.Report micPass, "step", "details"

Page 29: 50092107-qtp

10).....................Retrieves the folder path in which the current test's results are stored

A) Reporter.Report.Path B) Reporter.ReportsPath C) Reporter.ReportPath D) Reporter.Report_Path Answers1) 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) TrueB) False

2)The results of bitmap checkpoints may be affected by factors such as....

A) operating systemB) screen resolutionC) color settingsD) All of aboveE) Both A & C

3)In the Test Results window you can also view a bitmap that reflects the difference between the two bitmaps.

A) TrueB) False

4)You can adjust the comparison to enable the checkpoint to pass even if the bitmaps are not identical by setting the......

A) RGB toleranceB) Pixel toleranceC) Bitmap toleranceD) Both A & B

5)The RGB (Red, Green, Blue) tolerance determines the percent by which the RGB values of the pixels in the expected bitmap can differ from those of the actual bitmap and allow the checkpoint to pass.

A) TrueB) False

6)You cannot modify an existing bitmap checkpoint.

A) TrueB) False

7)

Page 30: 50092107-qtp

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 beforea bitmap checkpoint step is performed. One way to do this is to insert a..... statement.

A) BitmapVisibleB) AreaVisibleC) MakeVisibleD) PixelVisible

8)If you want to create a bitmap checkpoint that contains multiple objects, you should select the highest level object that includes all the objects to include in the bitmap checkpoint.

A) TrueB) False

9)In the Checkpoint Properties dialog box, ........enables you to select the comparer for QuickTest to use to run the checkpoint.

A) Bitmap ComparerB) Pixel ComparerC) ComparerD) 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) TrueB) FalseAnswers1) 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 yourapplication.

A) tableB) Cell & RowC) SpreadsheetD) Excel

2)Table checkpoints are supported for table objects in a Which of add-inenvironments.

A) WebB) ActiveXC) JavaD) All of above

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

Page 31: 50092107-qtp

A) All rowsB) Visible RowsC) RangeD) All of Above

4)Table checkpoints are also supported for some list view objects, such as WinListView and VbListView.

A) TrueB) False

5)The Table Checkpoint Properties dialog box does not allow you to edit or parameterize the expected data for the cells included in the check.

A) TrueB) False

6)In Table Checkpoint Properties dialog box, the Class specifies

A) Type of objectB) Class of contentC) Class of table gribD) None of above

7)When you create a new table checkpoint, all cells contain a ..... check mark, indicating they are all selected for verification.

A) RedB) BlueC) GreenD) Yellow

8)In a Table Checkpoint Properties dialog box, in order to Add an entire column to or remove it from the check

A) Double-click the top-left corner of the gridB) Double-click the row headerC) Double-click the column headerD) None of Above.

9)In Table Checkpoint Properties dialog box, Double-clicking on the grid toggles the settings for all selected cells.

A) TrueB) 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 displays this option only when Numeric Range is selected as the Verification type.

A) TrueB) False

Page 32: 50092107-qtp

37 - Text Checkpoints

1)You can check that a specified text string is displayed by adding one of the following checkpoints to your test.

A) Standard CheckpointB) Text Area CheckpointC) Text CheckpointD) All of Above.

2)When checking text, QuickTest tries to retrieve the text directly from the object. If QuickTest cannot retrieve the text in this manner (for example, because the text is part of a picture), it tries to retrieve the text using an OCR (optical character recognition) mechanism.

A) TrueB) False

3)Tick mark the true and complete statment:

A) You can add a text checkpoint while recording steps in a Windows- or Web-based application.B) You can add a text checkpoint while recording or editing steps in a Windows- or Web-based application.C) You can add a text checkpoint while recording or editing steps in a Windows-based application.D) You can add a text checkpoint while editing steps in a Windows- or Web-based application.

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) TrueB) False

5)In the Text/Text Area Checkpoint Properties Dialog Box Options, in Checkpoint Summary area, QuickTest automatically displays the checked text in ....., and the text before and after the checked text in .....

A) Red, BlueB) Green, BlueC) Green YellowD) 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 text string. You can then click Configure to view and manipulate the actual selected text for the checkpoint.

A) TrueB) False

Page 33: 50092107-qtp

7)In the Text/Text Area Checkpoint Properties Dialog Box Options, in Checkpoint Summary area, You can only view and cannot modify the text selection displayed.

A) TrueB) False

8)You can parameterize the checked text.

A) TrueB) False

9)If you specify a checkpoint timeout other than 0, and the checkpoint ....., theTest Results window displays information on the checkpoint timeout.

A) PassesB) FailsC) Fails or PassesD) None

10)Any text that is not selected as Checked Text, Text Before, or Text After is displayed in ..... The .... text is not displayed the next time the Configure Text Selection dialog box is opened.

A) BlackB) BrownC) GrayD) YellowAnswers1) 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) TrueB) False

2)Database checkpoint is displayed in the Expert View as a CheckPoint

A) DbTable.CheckpointB) DataTable.CheckC) DbTable.CheckD) DTable.Check

3)You can define the query for your checkpoint using

A) Microsoft QueryB) ManuallyC) OracleD) both A & B

4)

Page 34: 50092107-qtp

The Database Checkpoint Properties dialog box enables you to check database content.

A) TrueB) False

5)In Database Checkpoint Properties dialog box, the .... displays the data that wascaptured for the checkpoint.

A) lotusdb areaB) table areaC) spreadsheet areaD) grid area

6)When you create a new database checkpoint, all cells in the grid area of Database Checkpoint Properties Dialog Box contain a Red check mark, indicating they are selected for verification.

A) TrueB) False

7)In the Database Checkpoint Properties dialog box, you can select to check the

A) entire results setB) specific rowsC) specific columnsD) specific cellsE) All of Above

8)You cannot modify the SQL query definition and the expected data in an existing database checkpoint.

A) TrueB) False

9)In Database Checkpoint Properties dialog box, the default setting is to treat cell values as ..... and to check for the exact text, while ignoring spaces.

A) NumericB) StringC) VariantD) array

10)You can modify the value of a cell or you can parameterize it to use a value from an external source, such as ....

A) Data TableB) an environment variableC) Both A & BD) None of aboveAnswers1) A , 2) C , 3) D, 4) A , 5) D , 6) B , 7) E , 8) B , 9) B , 10) C 39 - Standard Checkpoint

Page 35: 50092107-qtp

1)Standard checkpoints compare the expected values of object properties to the object�s current values during a record session.

A) TrueB) False

2)You use standard checkpoints to perform checks on ....

A) imagesB) tablesC) Web page propertiesD) NoneE) All of Above

3)To add a standard checkpoint while editing, two of the following can be true depending 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 displayed 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 to check as a .......

A) ConstantB) ParameterC) Both A & BD) None

5)Checkpoint timeout specifies the time interval (in milliseconds) during whichQuickTest attempts to perform the checkpoint successfully.

A) TrueB) False

6)If you specify a checkpoint timeout other than 0, and the checkpoint fails, theTest Results window displays information on the checkpoint timeout.

A) TrueB) False

7)Standard checkpoint enables you to compare the expected image source file with the actual image source file.

A) TrueB) False

8)Once standard checkpoint is created you cannot modify the settings of existing c

Page 36: 50092107-qtp

heckpoints.

A) TrueB) False

9)You can use ....... parameters while parameterizing the Object property to check.

A) Data TableB) Environment VariableC) Random numberD) Test or ActionE) All of above

10)By default, the checkpoint name is the same as the name of the test object on which the checkpoint was created.

A) TrueB) FalseAnswers1) 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) actionsB) FunctionsC) Environment VariablesD) Data Files

2)You can add steps to your test (select all those apply)

A) by dragging objects from your object repository B) by recording on your application C) Automatically from Quality CenterD) by exporting from Excel

3)When you create a function, you can insert it directly in an action to make it available 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) TrueB) False

4)In QuickTest, you can create tests and components and then save them directly to your Quality Center project.

A) TrueB) False

5)Business Process Testing uses a .......... methodology for testing.

Page 37: 50092107-qtp

A) HybridB) Functional DecompositionC) Record & PlayD) keyword-driven

6)By default, QuickTest automatically checks for online software updates once every ...... days.

A) ThreeB) FourC) SixD) Seven

7)QuickTest remembers the add-ins you load so that the next time you open QuickTest, the add-ins you selected in the previous session are selected by default.

A) TrueB) False

8)If you focus on a specific step in the Keyword View and switch to the Expert View, the cursor is located in that corresponding line of the test.

A) TrueB) False

9)The ...... View is a script editor with many script editing capabilities.

A) Remote ViewB) Keyword ViewC) Additional ViewD) Expert View

10)You cannot work on several function libraries at the same time.

A) TrueB) FalseAnswers1) 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 you performed a certain step during a recording session.

A) Keyword ViewB) Expert ViewC) ActiveD) Library

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

Page 38: 50092107-qtp

A) KeywordsB) Available Keywords C) ActionD) Test

3)QuickTest automatically opens information pane when a syntax error is detected.

A) TrueB) False

4)In Data Table Menu commands CTRL + K ...

A) Deletes the current selection.B) Clears the contents from the current selectionC) Finds a cell containing specified text.D) None of Above

5)You can also filter the Missing Resources pane to display a specific type of missing resource, such as Missing Object Repository and hide the other types.

A) TrueB) False

6).........Checks the syntax of the active document.

A) Ctrl+F6 B) Ctrl+F7 C) Ctrl+F8 D) Ctrl+F9

7)QuickTest cannot test your dynamically changing application by learning and identifying test objects and their expected properties and values.

A) TrueB) False

8)....Sets or clears a breakpoint in the test.

A) F7B) F8C) F9D) F10

9)Process guidance is displayed in two panes: ..........

A) Process Guidance ActivitiesB) Process Guidance InformationC) Process Guidance PlanD) Process Guidance Description

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

Page 39: 50092107-qtp

on or an open function library.

A) TrueB) FalseAnswers1) 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 Professional.

A) License ViewB) LicenseC) Active LicenseD) Modify License

2)Use ..... to toggles between the Keyword View and Expert View.

A) Shift+Page Up/Page Down B) Alt+Page Up/Page Down C) Ctrl+Page Up/Page Down D) Page Up/Page Down

3)For each test object class, QuickTest has a list of ..... properties that it always learns.

A) identificationB) mandatoryC) assistiveD) 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) Elimination B) Ordinal identifierC) IdentificationD) Smart Identification

5)During a run session, QuickTest searches for a ...... object that exactly matches the description of the test object it learned previously.

A) run-time B) test-timeC) prime-timeD) 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

Page 40: 50092107-qtp

D) All of above

7)If the mandatory property values are not sufficient to uniquely identify the object within its parent object, QuickTest adds some assistive properties to create a unique description.

A) TrueB) False

8)The native property set for each run-time object is created and maintained by the .....

A) QuickTestB) Object creatorC) MicrosoftD) Adobe

9)You can view the syntax of the test object operations as well as the native operations of any object on your desktop using the Operations tab of the Object Spy.

A) TrueB) False

10)You can retrieve property values from the run-time object during the run session by adding GetROProperty statements.

A) GetTOPropertyB) SetROPropertyC) GetROPropertyD) GetSOPropertyAnswers1) 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) exports the local objects to a shared object repositoryB) associates the new shared object repository with your actionC) deletes the objects in the local object repositoryD) All of above

2)You cannot define the priorities of the object repositories associated with an action using the Associate Repositories dialog box.

A) TrueB) False

3)The Object Repository window is read-write-only during record and run sessions.

A) TrueB) False

Page 41: 50092107-qtp

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 adding a ...... statement.

A) SetROPropertyB) GetTOPropertyC) SetTOPropertyD) Both C & A

5)You can add a test object to the local object repository only if that test object does not already exist in a shared object repository that is associated with the action.

A) TrueB) False

6)You cannot add new test objects to your object repository that do not yet exist in your application.

A) TrueB) False

7)You cannot add ..... objects directly to an object repository using the Add Objects to Local button in the Object Repository window.

A) WebB) WinMenuC) WebelementD) 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) TrueB) 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 tree.

A) ShiftB) AltC) ShiftD) Ctrl

10)You can modify the root node of an object repository.

A) TrueB) FalseAnswers1) D, 2) A, 3) B, 4) C, 5) A, 6) B, 7) B, 8) A, 9) D, 10) B

Page 42: 50092107-qtp

44

1)A shared object repository stores objects in a file that can be accessed by multiple tests in ....... mode.

A) read-writeB) read-onlyC) write-onlyD) read-write-execute

2)You can not transfer local objects to a shared object repository.

A) TrueB) False

3)If an object with the same name is located in both the local object repository and in a shared object repository associated with the same action, the action uses the .... definition.

A) local objectB) shared objectC) Object Spy D) 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 object repository.

A) TrueB) False

5)In order to export Local Objects to a Shared Object Repository, you can use OR Window but NOT OR Manager.

A) TrueB) False

6)Test objects of environments that are not installed with QuickTest will be displayed with an ........ in the object repository.

A) unknown icon (exclamation mark)B) unknown icon (hand mark) C) unknown icon (question mark) D) All of above

7)While the Object Repository window is open, you can continue using QuickTest, and you can continue modifying objects and object repositories.

A) TrueB) False

8)Checkpoint and output objects can be dragged and dropped from the Object Reposit

Page 43: 50092107-qtp

ory window.

A) TrueB) False

9)You can use the Object Spy at any time to view ...... properties and values of the objects in the application you are testing.

A) Run-timeB) nativeC) identificationD) both B & C

10)You can modify checkpoint and output value details for objects saved in the local object repository.

A) TrueB) FalseAnswers1) 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 Manager, and objects in the shared object repository using the Object Repository Window.

A) TrueB) False

2)You can search for a specific object in your object repository. You can search for an object according to its ......

A) ColorB) FontC) TypeD) 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) TrueB) False

4)You can update a test object in your object repository by selecting the corresponding object in your application and relearning its properties and property values from the application.

A) TrueB) False

5)If you just want to restore the original test object description property set, while retaining any property values you have modified, you can use the ....... se

Page 44: 50092107-qtp

t option.

A) Restore true propertyB) Restore propertyC) Restore compulsory propertyD) Restore 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 QuickTest assigns to the stored object.

A) TrueB) False

7)When you modify the name of a test object in the local object repository, the name 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 automatically updated in all components open on the same computer that use the object repository as soon as you make the change, even if you have not yet saved the object repository with your changes.

A) TrueB) 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 description (objects that have the same values for all properties).

A) DecimalB) Floating pointC) numericalD) String

10)You cannot configure the way that QuickTest learns and identifies objects.

A) TrueB) FalseAnswers1) 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 mandatoryproperties that QuickTest learns for a particular object in your application are not sufficient to create a unique description.

A) AssistiveB) Ordinal

Page 45: 50092107-qtp

C) Semi-mandatoryD) 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 unique description for the object.

A) TrueB) False

3)If the combination of all defined mandatory and assistive properties is not sufficient to create a unique test object description, QuickTest also...

A) Uses Smart IdentificationB) Learns the value for the selected ordinal identifier. C) Learns Disc PropertiesD) None

4)The learned and Smart Identification properties of certain test objects cannot be configured, for example, the WinMenu, VbLabel, and VbToolbar objects.

A) TrueB) False

5)During the run session, QuickTest looks for objects that match .... properties in the test object description.

A) assistiveB) mandatoryC) allD) None

6)You can include the same property in both the mandatory and assistive property lists.

A) TrueB) False

7)If QuickTest can use other identification properties to identify the object during a run session, the ordinal identifier is ignored.

A) TrueB) False

8)QuickTest can use the following types of ordinal identifiers to identify an object:

A) IndexB) NumberC) LocationD) CreationTime

9)

Page 46: 50092107-qtp

By default, some test objects already have Smart Identification configurations and others do not.

A) TrueB) False

10)The Smart Identification mechanism uses two types of properties:

A) Base Filter PropertiesB) Option Filter PropertiesC) Optional Filter PropertiesD) Basic Filter PropertiesAnswers1) A, 2) B, 3) B, 4) A, 5) C, 6) B, 7) A, 8) A,C,D, 9) A, 10) A, C47

1)If, after completing the Smart Identification elimination process, QuickTest still cannot identify the object, then QuickTest uses the ........... to identify the object.

A) learned description and smart identificationB) smart identification and the ordinal identifierC) smart identification plus the run time propertiesD) learned description plus the ordinal identifier

2)If QuickTest successfully uses Smart Identification to find an object after no object matches the learned description, the step is assigned a ....... in the Test Results.

A) Passed statusB) Failed statusC) Warning statusD) Yellow status

3)While Mapping User-Defined Test Object Classes, You should map an object that cannot be identified only to a ....... class with comparable behavior.

A) Standard WindowsB) Standard WinObjectC) Standard WinclassD) Standard 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) TrueB) False

5)You open the Object Repository Manager by choosing ...........

A) File > Object Repository ManagerB) Object Repository > Object Repository ManagerC) Resource > Object Repository ManagerD) Resources > Object Repository Manager

Page 47: 50092107-qtp

6)You cannot open as many shared object repositories as you want.

A) TrueB) False

7)If QuickTest is connected to a Quality Center project with version control enabled, you can ......

A) view and manage versions of your shared object repositoriesB) view comparisons of two shared object repository versionsC) view baseline historyD) All of above

8)You can add checkpoint or output value objects to a shared object repository via the Object Repository Manager.

A) TrueB) False

9)Even when steps containing an object are deleted from your component, the objects remain in the object repository.

A) TrueB) False

10)When you open an object repository that is stored in the file system and was created using a version of QuickTest earlier than version 9.0, QuickTest converts it to the current format when you make it editable.

A) TrueB) FalseAnswers1) 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) TrueB) False

2)QuickTest provides an .......... that enables you to manage QuickTest shared object repositories and their contents from outside of QuickTest.

A) Object Repository automation object modelB) Object Repository ManagerC) Object Repository WindowD) Object Repository Dialog box

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

Page 48: 50092107-qtp

A) Object Repository ManagerB) Object Repository Merge ToolC) Object Repository automation object modelD) Object Repository Dialog box

4)The Object Repository Merge Tool also merge checkpoint or output objects from the primary and secondary object repositories into the target shared object repository.

A) TrueB) 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 Local Repository operation.

A) TrueB) False

6)You can specify the ..... in which object names are displayed in the target object repository according to their source, and whether they caused a conflict. This enables you to see the status of each object more easily.

A) TypeB) FontC) TextD) color

7)An object repository that is currently open by another user is locked. If you try to merge the locked file, a warning message displays, and you cannot perform the merge.

A) TrueB) False

8)You can view or change how ...... objects are dealt with during the updateprocess in the Settings dialog box.

A) SameB) SimilarC) conflictingD) two

9)While updating a shared object repository from a local object repository, You can only add a component whose application area is associated with the shared object repository you are updating and whose local object repository contains objects.

A) TrueB) False

10)After you merge two object repositories, the Object Repository Merge Tool displa

Page 49: 50092107-qtp

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 boxB) the Statistics dialog boxC) the complete dialog boxD) the merge complete dialog boxAnswers1) 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 menu.

A) TrueB) False

2)QuickTest saves the object repository with a .... extension in the specified location and displays the object repository name and path in the title bar of the repository window.

A) .lsr B) .tsr C) .msr D) .tso

3)While an object repository is being edited, it is locked so that it cannot be modified by others. When you close the object repository, it is automaticallyunlocked.

A) TrueB) False

4)When you open an object repository, it is opened in read-only mode by default. You can open it in editable format by clearing the ......... check box in the OpenShared Object Repository dialog box when you open it.

A) Repo in read-only modeB) Open in read-only modeC) Get in read-only modeD) Set in read-only mode

5)The ......... enables you to add multiple test objects to a shared object repository while navigating through your application.

A) Learn and Add optionB) Navigate and Add optionC) Learn and Navigate optionD) Navigate and Learn option

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

A) True

Page 50: 50092107-qtp

B) False

7)You can use the ........ button in the Manage Repository Parameters dialog boxto see where a repository parameter is being used.

A) Find in RepositoryB) Locate in RepositoryC) See in RepositoryD) Look in Repository

8)The Object Repository Merge Tool also not merge checkpoint and output objects.

A) TrueB) False

9)You can import and export object repositories from and to XML files.

A) TrueB) False

10)Checkpoint and output objects are included when importing the contents of an object repository from an XML file.

A) TrueB) FalseAnswers1) 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) You can use the Step Generator to add steps that use methods and functions.B) You can manually insert VBScript statements that perform operations.C) You can import from Excel or Word.D) Both A & B

2)When you type in a function library, IntelliSense (the statement completion feature included with QuickTest) enables you to select the ...... for your statement from a drop-down list and view the relevant syntax.

A) variable, B) test object, C) operation, D) property, E) 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 use for that object.

A) operationsB) propertiesC) collectionD) variable

Page 51: 50092107-qtp

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 displayed even if you typed an object that has not yet been added to the object repository. If the test contains a function, or is associated with a function library, the functions are also displayed in the list.

A) TrueB) False

5)When the Auto-expand VBScript syntax option is enabled and you start to type aVBScript keyword in a function library, QuickTest automatically recognizes the first two characters of the keyword and adds the relevant VBScript syntax or blocks to the script.

A) TrueB) False

6)You can use the ......... to jump to a specific line in a function library.

A) Go To dialog boxB) BookmarksC) PINUPSD) Both A & B

7)You cannot use Find & Replace option in Function Library.

A) TrueB) 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) TrueB) False

9)You can comment a statement by clicking ......... of/in the statement and clicking the Comment Block button.

A) in the middleB) at the beginingC) anywhereD) at the end

10)You cannot change the font style and size of text in your scripts and function libraries, but can change the color of different elements, including comments, strings, QuickTest reserved words, operators, and numbers.

A) TrueB) False

Page 52: 50092107-qtp

Answers1) 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 displayed in the Expert View or function library windows.

A) TrueB) False

12)You cannot register a user-defined function as a method for a QuickTest test object.

A) TrueB) False

13)Using QuickTest, you can define and store your user-defined unctions...............

A) in a function libraryB) in an action within a testC) in an excel fileD) in a word file

14)Each function library opens in a separate window, enabling you to open and workon one or several function libraries at the same time.

A) TrueB) False

15)Function Library cannot be opened in a read-only mode.

A) TrueB) False

16)Function Library does not show up in the the recent files list in the File menu.

A) TrueB) False

17)You can save Function Library

A) to Quality Center projectB) to the file systemC) as an attachment to a testD) Both A & B

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

Page 53: 50092107-qtp

a test.

A) TrueB) False

19)You can edit a function library at any time using the QuickTest editing features that are available in the......

A) VBScriptB) Expert ViewC) Keyword ViewD) None of above

20)You can drag and drop a function but not a part of it from one document to another.

A) TrueB) FalseAnswers11) 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 once for each row in the Data Table. If your test contains a Data Table parameter for 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 entire test or for a specific action in the test; or to run the iterations for a specified 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 pane 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 ActionsB) Run Action

Page 54: 50092107-qtp

C) Run Current ActionD) 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) New run result folderB) New run folderC) New run results pathD) New run results folder

7)During a ...... session, QuickTest automatically marks steps that open certain dialog boxes as optional.

A) RunB) RecordingC) Both A & BD) None of above

8)You cannot use Test Batch Runner to run several tests in succession.

A) TrueB) 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) .ntbB) .mtbC) .mbtD) .btm

10)For a test that does not contain Data Table parameters, the Test Results window shows a ..... test iteration(s).

A) SingleB) TwoC) Both A & BD) MultipleAnswers1) a, 2) a 3) b, 4) a, 5) c, 6) d, 7) b, 8) b, 9) b, 10) a11)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 iterationof the test run. The results are grouped by the ...... in the test.

A) TestsB) ActionsC) IterationsD) Parameters

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

Page 55: 50092107-qtp

A) TrueB) False

13)The Test Results window can show results with up to ..... levels in the tree hierarchy. If you have results with more than 300 nested levels, you can view the entire report by manually opening the results.xml file.

A) 150B) 200C) 350D) 300

14)while Viewing Run Session Results, If an iteration contains checkpoints, the possible results are Passed or Failed. If an iteration does not contain checkpoints, the possible results are ..............

A) Passed or FailedB) Done or PassedC) Done or FailedD) OK or Failed

15)You cannot change the look and feel of the Test Results window, as required.

A) TrueB) False

16)If your QuickTest test is stored in Quality Center, the results are stored in thetest folder in Quality Center. You cannot change the location of the run session results.

A) TrueB) 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 ......... extension 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) .htmlB) .xhtmlC) .xmlD) .ml

18)A test, iteration, or action containing a step marked Warning may still be labeledPassed or Done.

A) TrueB) False

19)The ........... dialog box enables you to filter which iterations are displayed

Page 56: 50092107-qtp

in the run results tree of the Test Results window.

A) FillersB) FilterC) ResultsD) Filters

20)You can use ........ statements in the Expert View to disable or enable the savingof selected steps, or to save only steps with Failed or Warning status.

A) Reporter.FiltersB) Report.FilterC) Reporting.FilterD) Reports.FilterAnswers11) 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 the ReportEvent method of the Reporter utility object.

A) TrueB) False

22)By default, QuickTest does not save a still image of your application for failed steps.

A) TrueB) False

23)Movie is also stored with test results. You can export a captured Screen Recorder 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) .fbrB) .sbrC) .tbrD) .mbr

24)You can export the test result details to an HTML, PDF, or DOC file.

A) HTMLB) PDFC) DOCD) Both A & CE) 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 to free up valuable disk space.

A) Test Results TrashB) Test Results RemovalC) Test Results Deletion

Page 57: 50092107-qtp

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) TrueB) False

27)You cannot instruct QuickTest to automatically submit a defect to a Quality Center project for each failed step in your test.

A) TrueB) False

28)If QuickTest successfully uses Smart Identification to find an object aftermultiple objects are found that match the learned description, QuickTestshows the Smart Identification information in the Test Results window.

A) TrueB) False

29)You cannot view the results of the checkpoint in the Test Results window.

A) TrueB) False

30)By default, the bottom pane in the Result Details tab in the Test Results windowdisplays information on the selected checkpoint only if it has the status .......

A) PassB) FailedC) DoneD) All of above

31)You can view detailed results of the table or database checkpoint in the Test Results window.

A) TrueB) False

32)The top pane in the Result Details tab displays the checkpoint step results, including ........

A) its status (Passed or Failed)B) the date and time the checkpoint was runC) the portion of the checkpoint timeout interval that was usedD) the expected text and actual text that was checkedE) the verification settings you specified for the checkpointF) Both A & C

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

Page 58: 50092107-qtp

not available.

A) TrueB) 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) TrueB) 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) TrueB) FalseAnswers21) 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 want QuickTest to access.

A) localB) remoteC) inhouseD) both B & C

2)Quality Center projects are password protected

A) TrueB) False

3)You can choose a Quality Center server accessible via ............

A) Local Area Network (LAN)B) Wide Area Network (WAN).C) Both A & BD) LPAD

4)You can log in to the same Quality Center server using a different user name by clicking Change User.

A) TrueB) 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 QuickTest is connected.

A) server name

Page 59: 50092107-qtp

B) IP AddressC) projectD) 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) TrueB) 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 wide range of functionality provided in the Quality Center Open Test Architecture API.

A) QCUtilityB) QCenterUtilC) QCUtiD) QCUtil

8)You can also use the ....... object in your QuickTest automation scripts to access the Quality Center OTA.

A) TDOTAB) TDOC) TDOMAD) 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) test module treeB) test case treeC) test plan treeD) test 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) infoB) DetailsC) QC InfoD) DetailAnswers1) 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.

Page 60: 50092107-qtp

A) ServerB) TemplateC) DummyD) Sample

12)When a Quality Center user creates a new QuickTest test in Quality Center, the default template test for the installed QuickTest version is automaticallyassociated with the test unless the users selects another template test,

A) TrueB) False

13)A default template test is installed on each Quality Center client when the QuickTest Professional Add-in for ......... is installed.

A) Web ServicesB) Quality CenterC) .NetD) JVM

14)You can create multiple template tests, each for a specific testing purpose.

A) TrueB) False

15)In Quality Center, you create QuickTest tests in the ...............

A) test module planB) test case moduleC) test tree moduleD) test plan module

16)When you create a QuickTest test in Quality Center, you must choose a template test that specifies the QuickTest add-ins to be associated with the test. Otherwise the required QuickTest add-ins will not be loaded during the run session.

A) TrueB) 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) option is read-only and cannot be changed.

A) %TEMP%\TempResultsB) %TMP%\TempResultC) %TMP%\TempResultsD) %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) TrueB) False

Page 61: 50092107-qtp

19)You can run QuickTest tests that are stored in a Quality Center database via.........

A) QuickTestB) a Quality Center client that is installed on your computerC) a remote Quality Center client.D) All of above

20)You can run QuickTest tests from Quality Center if the QuickTest computer is logged off or locked.

A) TrueB) FalseAnswers11) 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 activates it to run a test in a test set.

A) TrueB) 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 and run QuickTest tests, you must select the ........ option in the Options dialog box.

A) Allow other HP products to run testsB) Allow other HP products to run tests and componentsC) Allow other HP products to run componentsD) Allow other HP products to run 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 .......... determines how QuickTest behaves when a test is run by a remote applicationsuch as Quality Center.

A) Connection AgentB) Server AgentC) Remote AgentD) Both A & B

24)The ................ Enables you to view and compare your QuickTest assets in bothQuality Center and QuickTest.

A) Resources modelB) Dependencies modelC) Resources and Dependencies modelD) Resources or Dependencies model

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

Page 62: 50092107-qtp

t assets and the Asset Viewer for viewing an earlier version of a QuickTest asset.

A) TrueB) False

26)You can share assets with other projects and synchronize them as needed.

A) TrueB) 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) Dependency tabB) Dependencies tabC) Resource tabD) Resources tab

28)The QuickTest Asset Comparison Tool enables you to ........

A) compare two versions of a particular QuickTest assetB) enables you to drill down in an asset to view a comparison of entities that are associated with the assetC) both a & bD) none

29)You manage asset versions by checking assets in and out of the version controldatabase.

A) TrueB) False

30)In QuickTest, you can check out only the latest version of an asset, although you 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) TrueB) FalseAnswers21) 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 save and close the asset, the asset remains checked out until you choose to check it in.

A) TrueB) False

32)While an asset is checked out, Quality Center users can run the previously checked-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

Page 63: 50092107-qtp

asset back into the version control database as version 4, Quality Center users can continue to run version .......

A) 4B) 5C) 3.1D) 3

33)If you do not want to check your changes into the Quality Center database, you can undo the check-out operation.

A) TrueB) False

34)A ......... represents a version of a project at a specific point in a project�s life cycle.

A) baselineB) caselineC) projectlineD) both a & c

35)If you want to view the content of an asset on a particular date or after a particular user checked in the asset, use the ...... option to view or compare the asset.

A) Version HistoryB) baselineC) both A & BD) none of above

36)A Quality Center server with version control support requires the installation ofversion control software as well as the Quality Center Version Control Add-in.

A) TrueB) False

37)When you choose File > Open > Test to open a test that is currently checked in to the version control database or is checked out to another user, it is opened in ..... mode.

A) write-onlyB) read-onlyC) read-writeD) None of above

38)You can review the checked-in test. You cannot run the test and view the results.

A) TrueB) False

39)When you use Save As to save a new test in a Quality Center project withversion

Page 64: 50092107-qtp

control support, QuickTest automatically saves the test in the project, checks the test into the version control database with version number ......

A) 1.0.0B) 1.0.1C) 1.1.1D) 0.1.1

40)You can use the Version History dialog box to.........

A) view version information about the currently open testB) retrieve an earlier version of the test.C) View an earlier version of the test.D) All of aboveAnswers31) 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) keyword-driven methodologyB) Step recordingC) Stop recordingD) Both A & B

2. ...... enables you to record the operations you perform on your application.

A) keyword-driven methodologyB) Step recordingC) Stop recordingD) Both A & B

3. Keyword-driven testing enables you to design your tests at a business level rather than at the object level.

A) TrueB) False

4. As you navigate through your application, QuickTest graphically displays each step you perform as a �... in the Keyword View.

A) rowB) ColumnC) CellD) None

5. After creating an initial test, you can further enhance it by adding and modifying steps in the or .

A) Keyword ViewB) Expert ViewC) Both A & BD) You cannot enhance it.

6. You can also use the CheckProperty method, which enables you to verify theproperty value of an object without using the checkpoint interface.

A) CheckpointPropertyB) CheckPropertyC) VerifyProperty

Page 65: 50092107-qtp

D) CheckingProperty

7. While parameterizing tests, you can supply data from �..

A) data tableB) environment variablesC) values that QuickTest generates during the run sessionD) All of aboveE) 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) TrueB) 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 that they are moved within the same folder structure.

A) TrueB) False

10. QuickTest resource files can be locked by QuickTest to protect the information in the file from being overwritten.

A) TrueB) False

Answers1)d, 2)b, 3) a, 4) a, 5)c, 6) b, 7)d, 8) b, 9)a, 10) aposted 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) configurationB) run-timeC) setup dataD) Active Screen filesE) A,B & CF) All of above

2. When you save a new test to the file system, QuickTest suggests a default folder called ���.

A) QTPB) TestC) TestsD) QuickTest

3. To set Active Screen preferences, such as instructing QuickTest not to capture Active Screen files while recording or to only capture Active Screen information under certain conditions, you can modify the Active Screen pane of the Options dialog box under...........

A) Tools > Option > Active Screen nodeB) Tool > Options > Active Screen nodeC) Tools > Options > Active Screen nodeD) Tools > Options List > Active Screen node

Page 66: 50092107-qtp

4. To conserve disk space if you do not require the run results for later analysis, or if you are saving an existing test under a new name and do not need the run results, clear the .............. check box.

A) Save run resultsB) Save run ScreensC) Save run ScrenshotsD) None of Above

5. Which of the following is not a valid option in QTP:

A) Save Function LibraryB) Save Recovery ScenarioC) Save Shared Object RepositoryD) Save Environment Variable FileE) Both C & DF) All are Valid

6. If you clear the Save Active Screen files check box and then later want to edit your test using Active Screen options, you can regenerate the Active Screen information by performing an Update Run operation.

A) TrueB) False

7. QuickTest does not support hidden files.

A) TrueB) False

8. If a test has locked QuickTest resource files, you can open the test in ......

A) read-only modeB) read-write modeC) Write-only modeD) Both A & B

9. Names and paths of tests and resources (for example, function libraries,object repositories, and recovery scenarios) are Unicode compliant.

A) TrueB) False

10. The keyword-driven methodology is especially useful for organizations that have both technical and less technical users because it offers a clear division of automation tasks.

A) TrueB) FalseAnswers1)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) one or more shared object repositoriesB) one or more function librariesC) Both A & BD) None

Page 67: 50092107-qtp

2. QuickTest provides support for development environments using add-ins.

A) TrueB) 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 QuickTest to identify the objects in your application both while and .

A) creating a testB) during a run sessionC) Both A & BB) None

4. By default, each test includes a single action, but can include multipleactions.

A) TrueB) False

5. By default, QuickTest records in the ............ recording mode.

A) AnalogB) StandardC) NormalD) 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) AnalogB) StandardC) NormalD) Low Level

7. When you record in Analog Recording mode, QuickTest adds to your test a .......... statement that calls the recorded analog file.

A) RunTimeB) RunAnalogC) RunActionD) None

8. You can switch to either Analog Recording or Low Level Recording in themiddle of a recording session for specific steps.

A) TrueB) False

9. QuickTest can record only on Web browsers that were opened after QuickTest.

A) TrueB) False

10. QuickTest records the visual relation identifier property when recording steps.

A) TrueB) False

Page 68: 50092107-qtp

Answers1)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) TrueB) False

2. In the keyword view, in a Value cell, press ....... to add line breaks (multi-line arguments) to your argument value.

A) CTRL+ENTERB) SHIFT+ENTERC) ALT+ENTERD) F12+ENTER

3. In a Value cell (keyword view),if you enter quotation marks as part of the argument value, they are included in the argument value used during the run session.

A) TrueB) False

4. You can copy or cut a parent object together with only some of its child objects.

A) TrueB) False

5. In case of Keyboard Shortcuts in the Keyword View, Press.... to add a new step below the currently selected step.

A) F9B) F11C) F8D) F12

6. ....... tool enables you to encode passwords so that you can use the resulting strings as method arguments or data table parameter values (enabling you to place secure values into the data table).

A) Password ToolB) Password coder ToolC) Password decoder ToolD) Passworder Tool

7. IntelliSense information works in the keyword view.

A) TrueB) False

8. A test comprises calls from actions.

A) TrueB) 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.

Page 69: 50092107-qtp

A) TrueB) False

10. An action in QTP can correspond to more than one DataSheet.

A) TrueB) FalseAnswers1)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 which the action is stored and make your modifications there.

A) TrueB) False

2. Input values for an action parameter can be retrieved from any of the following:

A) the test (for a top-level action)B) the parameters of the parent action that calls it (for a nested action)C) the VBScript EngineD) the 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 application that ran (called) your test.

4. The actual value specified for an input action parameter and the location specified for action output parameter cannot be different for each call to the action.

A) TrueB) False

5. You can share a value that is generated in one action with other actions in your test by storing the value in the global data table. Other actions can then use the value in the data table as an ..... parameter.

A) inputB) outputC) bothD) none

6. As an alternative to using environment variables to share values between actions, you can use the Dictionary object.

A) TrueB) False

7. An action call in the Expert View can define

A) the action iterations, B) inputparameter values,

Page 70: 50092107-qtp

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) RunAction ActionCall, IterationQuantity, ParametersB) RunAction ActionName, IterationQuantity, Parameters, TimeC) RunAction ActionName, IterationQuantity, Parameters,D) RunAction ActionName, IterationQuality, Parameters

9. If you expect other users to open your tests and all actions in your tests are stored in the same drive, you should use ....... paths for your reusable actions so that other users will be able to open your tests even if they have mapped theirnetwork drives differently.

A) Relative B) AbsoluteC) Any D) None

10. If a test contains a call to an action from another test, and that other testwas renamed in Quality Center, the original test name still appears (insquare brackets) in the Test Flow pane.

A) TrueB) FalseAnswers1)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) aposted 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) TrueB) False

2. When you run the test, QuickTest compares the expected results of the checkpoint to the current results. If the results do not match, the checkpoint may or may not fail.

A) TrueB) False

3. Which of the following following examples illustrate situations in which inserting an existing checkpoint may be useful:

A) If each page of your application contains your organization�s logo, you can reuse a bitmap checkpoint to verify each occurrence in the application.B) If your application contains multiple edit boxes, you can reuse a checkpoint to confirm the enabled status of these edit boxes throughout your test.C) Both A & BD) None

4. Standard checkpoints are supported for all add-in environments

A) TrueB) False

Page 71: 50092107-qtp

5. You create an image checkpoint by inserting a ..... checkpoint on an imageobject.

A) standardB) PicC) ImageD) Picture

6. You can create a bitmap checkpoint for any area in your application.

A) TrueB) False

7. You create a table checkpoint by inserting a ...... checkpoint on a table object.

A) tableB) standardC) webtable D) tab

8. Text area checkpoints are supported for

A) all Windows-based environmentsB) JavaC) Both A & BD) None

9. Page checkpoints are only supported for the Web add-in environment

A) TrueB) False

10.The XML Checkpoint option is supported for all add-in environments

A) TrueB) FalseAnswers1)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) SharedB) LocalC) BothD) XML

2. Return value of a checkpoint is a

A) numeric B) stringC) booleanD) variant

3. You can use the CheckProperty method to check specific property or itemproperty values.

A) TrueB) False

Page 72: 50092107-qtp

4. Checkpoints that contain more than 64K of data may run slowly.

A) TrueB) False

5. With Bitmap Checkpoint you can check an entire object or any area within an object.

A) TrueB) False

6. The results of bitmap checkpoints may be affected by factors such as

A) operating system, B) screen resolution, C) color settings,D) RAM

7. The ........ determines the number or percentage of pixels in the actual bitmap that can differ from those in the expected bitmap and allow the checkpoint to pass.

A) Image toleranceB) RGB toleranceC) pixel toleranceD) Both A & C

8. ....... Specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully.

A) Checkpoint TimeB) Checkpoint TimeOutC) Checkpoint TimeInD) Checkpoint Time Frame

9. A table checkpoint on a large table may take a long time to create and a long time to run.

A) TrueB) False

10 In Table Checkpoint Properties Dialog Box, in settings tab, Exact Match option is available only when String Content is selected as the Verification type.

A) TrueB) FalseAnswers1)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) ScreenB) WindowC) Web pageD) All of Above

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

Page 73: 50092107-qtp

A) TrueB) False

3. You can create a check on a database to check the contents of the entire result set, and not a part of it.

A) TrueB) 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 checkpoint.

A) TrueB) False

5. When you create a database checkpoint on one machine and try to run it on different machine, you should have the same ........ installed on both machines.

A) DBC driverB) DDBC driverC) MDBC driverD) ODBC driver

6. You can perform checkpoints on

A) XML documents contained in Web pages,B) XML documents contained in frames, C) on XML files, D) on test objects that support XMLE) Both A & CF) All of Above

7. XML documents and files often need a well-defined structure to be portable across platforms and development systems. One way to accomplish this is by developing an ......, which describes the structure of the XML elements and data types.

A) XML schemaB) XML structured docD) XML DTCE) XML VAR

8. XML checkpoints are not compatible with namespace standards.

A) TrueB) False

9. What types of XML checkpoints you can create:

A) XML Web Page/Frame Checkpoint. Checks an XML document within aWeb 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 you insert an XML checkpoint on a Web service operation, but it can generate this information after it runs the operation.

Page 74: 50092107-qtp

A) TrueB) FalseAnswers1)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) TrueB) False

2. The XML source on which you base your checkpoint must be

A) in a valid XML format, B) confirm to W3 standards,C) Both A or BD) 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) Activate Schema ValidationB) Activate Structure ValidationC) Activate Schema VerificationD) Both A and B

4. If you are validating an XML file using a schema defined in the XML file, theschema can be defined with ......

A) an absolute B) relative path.C) Both A and BD) Both A or B

5. If there is a schema with a namespace defined in your XML document, the namespace of the external schema may or may not be identical to the one defined in your document.

A) TrueB) False

6. The path or URL of your XML schema file is Schema path or URL

A) TrueB) 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) TrueB) False

8. You cannot parameterize values of operation arguments defined for a selected step.

A) TrueB) False

9 You can parameterize a value using a test or action parameter only if the parameter has been defined for the test or action.

Page 75: 50092107-qtp

A) TrueB) False

10. You can also create test or action parameter output values that retrieve values during the run session and store them for use at another point in the run session.

A) TrueB) FalseAnswers1)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 first row.

A) StartB) EndC) MiddleD) None

2. If you parameterize a value that is defined as a variant value, then when QuickTest retrieves the value from the data table, it will retrieve it as a string.

A) TrueB) False

3. Environment parameters can be used for testing the same application on different browsers.

A) TrueB) False

4. You can create several external variable files with the same variable names and different values and then run the test several times, using a different file each time.

A) TrueB) 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 accessible from all tests, and are designated as ........

A) Read & Write onlyB) Read OnlyC) Write onlyD) None

6. You cannot select built-in environment variables when parameterizing values.

A) TrueB) False

7. You can also store environment variable files in Quality Center.

A) TrueB) False

Page 76: 50092107-qtp

8. When working with Quality Center and environment variable files, you must save the environment variable file in the ........ module in your Quality Center project before you specify the file in the Environment pane of the Test Settingsdialog box.

A) Test ManagementB) Test LibraryC) Test ResourcesD) 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) TrueB) False

10. By outputting values to the global data table sheet from one action and using them as input parameters in another action, you cannot pass values from one action to another.A) TrueB) FalseAnswers1)b, 2)a 3) a 4) a, 5) b, 6) b, 7)a 8) c 9)a, 10) b