Question Bank:

1. QTP workflow Phases
2. what are the conditional statements provided in QTP?
3. Break point is used to :
4. What is the first step to change the logical name of the object recorded by Quick test?
5. Where can you find the result of an output parameter?
6. Where do you set action iterations for a specified action?
7. which of the following is created by default with new action?
8. What are the default addins provided by QTP?
9. Which source property specifies that data is retrieved from database?
10. Local object Repository is used for Single action tests.
11. shared object Repository is created in Object Repository Manager.
12. which tool is used to merge two shared object repositories.
13. Low level Recording is used to record:
14. virtual objects are stored in : dat folder…
15. bitmap checkpoint takes into consideration:
16. When using recovery scenario wizard ,the first phase is to specify : Trigger
17. Trigger events : popup window,object state, test run error,application crash
18. GetToProperty is used to:
19. Two ADODB objects are : Recordset and Connection.
20. Close method is used to close the data base session.
21. Exportsheet is used for
22. recovery scenario: is used to handle exceptions.
23. Action iterations are set in: Action call properties.
24. question on step generator.
25. information pane and missing resource used for?
26. where do you enable smart identification?
27. environment variable types: User defined and built-in.
28. One more area to look into is Menu options i.e., where to look to enable or disable different features of QTP .There are around 4 to 5 questions covering the same.

29. QTP workflow Phases
30. what are the conditional statements provided in QTP?
31. Break point is used to :
32. What is the first step to change the logical name of the object recorded by Quick test?
33. Where can you find the result of an output parameter?
34. Where do you set action iterations for a specified action?
35. which of the following is created by default with new action?
36. What are the default addins provided by QTP?
37. Local object Repository is used for Single action tests.
38. shared object Repository is created in Object Repository Manager.
39. which tool is used to merge two shared object repositories.
40. Low level Recording is used to record:
41. virtual objects are stored in : dat folder…
42. bitmap checkpoint takes into consideration:
43. When using recovery scenario wizard ,the first phase is to specify : Trigger
44. Trigger events : popup window,object state, test run error,application crash
45. GetToProperty is used to:
46. Two ADODB objects are : Recordset and Connection.
47. Close method is used to close the data base session.
48. Exportsheet is used for
49. Recovery scenario: is used to handle exceptions.
50. Action iterations are set in: Action call properties.
51. Question on step generator.
52. information pane and missing resource used for?
53. environment variable types: User defined and built-in.
54. By which type, procedure parameters passes the values: By Ref
55. If we create a procedure under any test/script, Where we can use it: Test/script in which it is created, not callable from other test
56. If we create a procedure under function library, how does it save with which extension: .QFL
57. What is the difference between function and subroutine: function can return a value, where as subroutine cannot.
60 What are the different STEP commands: Step In, Step Out, Step Over

61 Which keyword is used for counter increment Under For…Next loop: Step
62 In Do Loop, at which point the condition is checked to proceed for next iteration: End of the loop, minimum one iteration will execute
63 What is the first step to use the low level recording mode: Open in Normal mode
64 How do register a procedure/function to a test object : RegisterUserFunc
65 How do you bypass the object repository: Descriptive Programming or Programming Desc
66 Where do you set the action as reusable action: Action Properties
67 Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default: One time
68 Test -->Settings --> Run tab belongs to which sheet: Global
69 Global Data sheet is having no records and Local Data sheet is having two records, how many times the test executes: One time
70 How do you find the number of columns in database table: Fields.Count
71 What will return for ChildObjects method?: Collection object
72 Where can u set the smart identification "ON": object identification
73 How can we release the database after its use: close the connection and recordset objects
74 How can u link individual actions to shared repository :resources>associate repositories
75 which object properties are shown in object identification box: Mandatory and assistive
76 where can we disable the virtual object recognition: general options
77 how to associate a procedure to a test object class: register user func
78 which object is used in sending information to the test results.: Reporter
79 what is default identifier type for web objects: index
80 test object properties are: those mentioned in object identification box and in object repository
81 which object is used to read from text file: file system
82 A dot followed by object in expert

Answers Bank
----------------

1 QTP workflow Phases Prepare, record, Verify/enhance, Integrate
2 what are the conditional statements provided in QTP? Do Loop, For Next, While Wend
3 Break point is used to : Pause the execution at the specified point, before executing the step
4 What is the first step to change the logical name of the object recorded by Quick test? Open Object Repository???
5 Where can you find the result of an output parameter? Runtime Data Table
6 Where do you set action iterations for a specified action? Action Call Properties
7 which of the following is created by default with new action? Local Data Sheet, Folder, ----
8 What are the default addins provided by QTP? ActiveX, VB, Web
9 Which source property specifies that data is retrieved from database? Source
10 Local object Repository is used for Single action tests.
11 shared object Repository is created in Object Repository Manager.
12 which tool is used to merge two shared object repositories. Object Repository Manager
13 Low level Recording is used to record: Exact coordinates of mouse movements
14 Virtual objects are stored in : dat folder… Under VOCollection folder
15 bitmap checkpoint takes into consideration: Screen Resolution, Image Size??
16 When using recovery scenario wizard ,the first phase is to specify : Trigger Trigger
17 Trigger events : popup window,object state, test run error,application crash
18 GetToProperty is used to: Retrieve the value of property of test object
19 Two ADODB objects are : Recordset and Connection.
20 Close method is used to close the data base session. ??
21 Exportsheet is used for to export the local data sheet to excel file
22 Recovery scenario: is used to handle exceptions.
23 Action iterations are set in: Action call properties.
24 Options available under Category dropdown of Step Generator window Test Objects, Utility Objects, Functions
25 Information pane used for? to find out syntax errors
26 Missing resource used for? displays the missing resources under test e.g., objects..
27 where do you enable smart identification? Object Identification
28 environment variable types: User defined and built-in.
29 Where do you find "disable recognition of virtual objects while recording" option Tools -> Options
30 Where do you configure an action to use shared object repository Associate Object Repositories tool
31 By which type, procedure parameters passes the values By Ref
32 If we create a procedure under any test/script, Where we can use it Test/script in which it is created, not callable from other test
33 If we create a procedure under function library, how does it save with which extension .QFL
34 What is the difference between function and subroutine function can return a value, where as subroutine cannot.
35 What are the different STEP commands Step In, Step Out, Step Over
36 Which keyword is used for counter increment Under For…Next loop Step
37 In Do Loop, at which point the condition is checked to proceed for next iteration End of the loop, minimum one iteration will execute
38 While merging the two object repositories, what are the filter options available for target object repository ??
39 What is the first step to use the low level recording mode Open in Normal mode
40 How do register a procedure/function to a test object RegisterUserFunc
41 How do you bypass the object repository Descriptive Programming
42 Where do you set the action as reusable action Action Properties
43 Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default One time
44 Test -->Settings --> Run tab belongs to which sheet Global
45 Global Data sheet is having no records and Local Data sheet is having one record, how many times the test executes by default One time
46 How do you find the number of columns in database table Fields.Count
47 What will return for ChildObjects method? Collection object

0 comments