Wednesday, 29 August 2012

100 TOP QTP Multiple Choice Questions and Answers for Beginners and Experienced pdf free download

Most Frequently asked QTP Multiple Choice Questions and Answers for Beginners
1) By default, how many no of tables would be there in a script?
2) Where can you associate a function library to a test?
3) To invoke the function which does not return any value, we can use
4) The result of the checkpoints can be stored in a variable
5) Parametrization generally involves
6) The file which is used for recovering from the run time errors has an extension
7) Among the following recording modes, which method uses both the objects and mouse coordinates
8) Where do you mark an action as reusable?
9) After running a test that contains both input and output parameters, where can the results of an output parameter be found?
10) If you have a Virtual Object Collection stored on your machine, and you don’t want to use it what you must do?
11) Constant “2” with the reporter statement returns
12) The standard timing delay for windows application is
13) In VB Script functions, which one is false among the following
14) Method to To count the no of rows in a table
15) By default, the all actions in QTP are 
16) If the same object is present in the local and shared repository, QTP will refer which one?
17) Which one is not true about “Call of action”
18) Checkpoint which is being used for verifying the web page with W3C standard is
19) The file extension of Shared object repository file is
20) The standard timing delay for web based application is
21) Which scripting language is used in QTP ?
22) Does QTP support Data Driven Framework ?
23) Select the Browsers NOT Supported by QTP ?
24) “Active Screen” Technology in QTP gives
25) Does the “Information” Toolbar in QTP 10.x give the Syntax Errors if any in the script ?
26) What are the categories in the Step Generator?
27) Select Case statement is end with
28) Object Repository is available in 3 modes viz.a) Per-Action Object Repository b) Shared Object Repository, c) Unshared Object Repository
29) What is the correct order of events in Test Script Creation ?
30) Which one is the default data type of QTP
31) To use the non-standard windows object, we can go for
32) Select INVALID Checkpoint Type from the following
33) To terminate the script execution, during running, QTP uses
34) BITMAP Checkpoint checks the property values of an image ?
35) Synchronization Point is used :-
36) Do statement always end with
37) By default a Datable contains :-
38) Results Table (results of a test) is available in which following locations ?
39) *.mts file contains :-
40) The feature of selecting different values of test data at run-time is called
41) Can Checkpoints be parametrized ?
42) Can Test-Data in “Action Sheet” of Data Table be used from one action to another ?
43) Text Output Value -a) outputs property value of any object b) outputs text string appearing in AUTc) outputs part of displayed text appearing in AUT
44) Select the valid types of Actions in QTPa) Nested Actions b) Shared Actionsc) External Actionsd) Reusable Actions
45) Can Actions inserted as “Call to Action” be modified by the test engineer?
46) Action Sheet (in Data Table) of an action inserted as “Copy of an Action” is editable only from the test from which they were created ?
47) Action Iteration is :
48) Choose the valid syntax to call Action 1 ( from Action 0) with input parameter “action_in” and store the output in a variable “MyVariable”
49) Can we use all standard Microsoft Excel features like Formulae, Formatting , Sorting etc in QTP DataTable ?
50) “Call to Copy” of an action can be inserted only for reusable actions ?
51) Parametrization of all Test data in a script can be done using
52) Are Nested Actions Call to one Action from Another ?
53) Is the Shared ( Global ) Action Repository the default repository in QTP ?
54) In a Per – Action (Local) Repository Action 1 and Action 2 in the same test script would have different object repositories?
55) The Share Action Repository is preferable when
56) What is *.tsr file in QTP ?
57) Object Spy can be used to
58) Are Assistive properties used when mandatory properties are enough to identify an object ?
59) Are Ordinal Identifiers used when Mandatory and Assistive properties used by QTP are not enough to identify Object?
60) Select the Invalid type of Ordinal Identifiers Used by QTP
61) Does Index based ordinal identifier indicates the order in which the object appears in the parent window frame or dialog box relative to other objects?
62) Does Location based ordinal identifier indicates the order in which object appears in the application code relative to other objects?
63) Select the environments in which Creation Time ordinal identifier is used
64) When a test is run in update mode, what is updated?
65) For identification of any object the choice of ordinal identifier selected can be modified in the Object Identification Window?
66) The Index Property value of Occurrence of the first object in source code is
67) Is Smart Identification is invoked when QTP cannot recognize an object using mandatory , assistive and ordinal properties ?
68) Select the type of properties used for Smart Identification
69) Utility to measure the timing delays between transactions, we use
70) Select the Invalid recording modes supported by QTP
71) What does a breakpoint do?
72) Does Analog Recording mode, records exact mouse and keyboard operations ?
73) The RunAnalog function is used to run
74) Consider the QTP Script belowWindow(“Calculator”).WinObject(“8”).Click 21,6Window(“Calculator”).WinObject(“WinObject”).Click 14,13In which mode is the script recorded ?
75) Virtual Objects are used when:
76) Consider the QTP Script below:-On Error Resume NextWhat does the above line of code do ?
77) Which of the following is an example of a missing resource?
78) To enter the non-executable statement in QTP , we use
79) Select the tabs that does not appear in the debug view of QTP -
80) The Generate Script Function ( used for transferring script to different location ) appears in which of the following Menu Windows :-
81) Which icon represents Optional Steps in the Keyword View ?
82) Choose the correct order of operations done while setting a new recovery scenario
83) Can a single test script have multiple Recover Scenarios?
84) Is Reporter.ReportEvent Library Function is used to display images in test results ?
85) Can User-Defined Environment Variables be used outside the QTP Environment ?
86) Will Test Results be automatically be stored in Quality Center (QC) if we run the test script from QC
87) Can QTP be integrated with Test Director (TD)?
88) Select the tools that can NOT be integrated with QTP :-
89) Select valid syntax of CallFuncEx command
90) Can multiple instances/processes/sessions/windows of QTP be run at the same time?
91) Can QTP run on multiple instances/processes/sessions/windows of Application under Test?
92) Select the Invalid syntax to access data in Data Table via VB Scripting :-
93) Consider following piece of codeon error resume nextval=DataTable("ParamName",dtGlobalSheet)if err.number 1 then'Parameter does not existelse'Parameter existsend ifCode highlighted above is not logically correct. Select the correct code from the options Provided
94) Does SetTOProperty change the property of an object stored in the Object Repository such that, next time the object is referred to in the test script the updated property of the object is used?
95) Select the function used to set property of a run – time object :-
96) Does GetROProperty return the property of a run-time object?
97) Object Spy is used to check :-
98) Can Descriptive Programming be used to create Test Scripts for an application without actually recording on it ?
99) Consider following line of code :-StartURL = "http://www.www.iqshub.com"Set IE = CreateObject("InternetExplorer ")IE.Visible = TrueIE.Navigate StartURLSet IE = NothingThe highlighted line of code is not syntactically correct. Select the correct line of code
100) Select the syntactically correct lines of codes 

No comments: