Download QTP and Manual Testing Materials and QTP scripts
Use the below URL for downloading
Download QTP and Testing Material
Enjoy reading QTP and Software Testing.
QTP Step by Step Guide Test Automation QTP Test Process Recording Tests Keyword Driven Methodology Test Object Model Object Repository Object Identification Configuration QTP Test Methods Data Table Methods Descriptive Programming Inserting Checkpoints Inserting Output values Parameterization Synchronization Step Generator Actions Functions Environment Variables Regular Expressions Virtual Object Configuration Recovery Scenarios Database connections Automation Object Model
QTP Questions - 1 | |
1) 'Browser navigation timeout' is in which tab of Test Settings (File->Settings) window.
A) Properties
B) Resources
C) Web
D) Web Settings
2) How many tabs are there in Test Settings (File->Settings) window
A) 7
B) 6
C) 5
D) 8
3) Identify the tabs in the Test Settings (File->Settings) window
A) Properties, Run, Resources, Parameters, Environment, Web, Recovery
B) Properties, Run, Resources, Parameters, Environment, Web Settings,Recovery
C) Properties, Run Options, Resources, Parameters, Environment, Web, Recovery
D) Properties, Run, Resources, Input Parameters, Environment, Web, Recovery
4) 'Generate Script' is in which tab of Test Settings (File->Settings) window
A) Properties
B) Web
C) Resources
D) Recovery
5) The following are the four main columns in the Keyword view
A) Item, Operation, Value, Comments
B) Item, Operation, Value, Documentation
C) Item, Operation, Property, Documentation
D) Number, Operation, Value, Documentation
6) For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.
A) True
B) False
C) There is a problem with the statement.
D) None of above
7) You can work on one or several function libraries at the same time.
A) True
B) False
8) You can insert additional steps on the test objects captured in the Active screen after the recording session.
A) True
B) False
9) The Active Screen enables you to parameterize object values and insert checkpoints
A) True
B) False
10) A QTP user can increase or decrease the active screen information saved with the test.
A) True
B) False
11) The Information pane provides a list of............. in the test:
A) Semantic errors
B) Syntax errors
C) Common errors
D) Logic errors
12) When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane.
A) True
B) False
13) If the information pane is not open, QTP automatically opens it in case a syntax error is detected.
A) True
B) False
14) ..................... provides a list of the resources that are specified in your test but cannot be found.
A) Missing pane
B) Missing Resources pane
C) Resources pane
D) Missing Items pane
15) Whenever you open a test or a function library, QTP automatically checks for the availiblity of specified resources.
A) True
B) False
16) The Data Table does not assists you in parameterizing your test.
A) True
B) False
17) Tabs in the Debug Viewer pane are:
A) Watch, Variables, Debug
B) Watch, Data, Command
C) Watch, Variables, Command
D) View, Variables, Command
18) ............... tab enables you to view the current value of any variable or VBScript expression.
A) Watch
B) VIew
C) Locate
D) Current
19) The .... tab displays the current value of all variables that have been recognized up to the last step performed in the run session.
A) View
B)Variables
C) Locate
D) Current
20) The .........tab enables you to run a line of script to set or modify the current value of a variable or VBScript object in your test or function library.
A) View
B) Variables
C) Command
D) Current
21) Panes in QTP can have one of the following states—docked or floating.
A) True
B) False
22) Which of the following statement is True:
A) QuickTest enables you to open and work on one test at a time
B) QuickTest enables you to open and work on two tests at a time
C) QuickTest enables you to open and work on predefined number of tests at a time
D) QuickTest enables you to open and work on nine test at a time
23) Which of the following statement is True:
A) You can open and work on two function libraries simultaneously
B) You can open and work on multiple function libraries simultaneously
C) You can open and work on nine function libraries simultaneously
D) You can open and work on one function library at a time
24) You can open any function library, regardless of whether it is associated with the currently open test.
A) True
B) False
25) You can work with multiple documents (test, component, or application area, function libraries) using the...... dialog box
A) Panes
B) Display
C) Show
D) Windows
26) QuickTest has ..... built-in toolbars.
A) 5
B) 6
C) 7
D) 8
27) The ......... toolbar contains buttons for recording and running your test.
A) Standard
B) Tools
C) Automation
D) Edit
28) Shortcut Key for opening a new Function Library is:
A) Shift+Alt+N
B) Ctrl+Alt+N
C) Shift+N
D) CRTL+N
29) Shortcut Key for Closing all open Function Libraries in one go.
A) Ctrl+Alt+C
B) Shift+A+C
B)Shift+N
D) None of these
30) shortcut Key for Commenting out the current row, or selected rows
A) Shift+M
B) Ctrl+C
C) Ctrl+M
D) Shift+C
31) You can manage the test actions and the test or function library steps using the ... menu commands
A) File
B) Edit
C) Automation
D) Tools
32) To expand all the steps in the keyword view which option you would use from the View menu.
A) Expand
B) Expand All
C) Expand Items
D) Expand Rows
33) What is the shortcut key to open a Step Generator.
A) F2
B) F5
C) F6
D) F7
34) Function Definition Generator in found in which menu option.
A) File
B) Tools
C) Insert
D) View
35) The shortcut keys for Record, Stop and Run respectively are
A) F3, F4, F5
B) F4, F3, F5
C) F4, F5, F3
D) F3, F5, F4
36) What is the shortcut key for opening an Object Repository.
A) Alt+R
B) Shift+R
C) Ctrl+R
D) Shift+O+R
37) Shortcut key to Insert/Remove a breakpoint is
A) F9
B) F8
C) Ctrl+b
D) Shift+b
38) .........runs only the current line of the script. If the current line calls a method, the method is displayed in the view but is not performed.
A) Step Over
B) Step Out
C) Step Into
D) Step Till
39) .........runs only the current line of the script. When the current line calls a method, the method is performed in its entirety, but is not displayed in the view.
A) Step Over
B) Step Out
C) Step Into
D) Step Till
40) What is the shortcut key to Clear all Breakpoints
A) Ctrl+Shift+F9
B) Shift+Ctrl+F9
C) Alt+Shift+F9
D) Alt+Ctrl+F9
41) Object Spy can be found in ........menu.
A) Tool
B) Tools
C) Task
D) Tasks
42) ............ displays the open documents side-by-side.
A) Tile Vertically
B) Tile Horizontally
C) Cascade
D) Tile Cascade
43) For opening the QuickTest Professional Help we can use.......
A) F3
B) F5
C) F1
D) F2
44) If QTP cannot find any object that matches the description, or if it finds more than one object that matches, QuickTest may use the............mechanism to identify the object.
A) Ordinal Identifier
B) Index Identifier
C) Smart Identification
D) Assistive Identification
45) You can configure the ........, ............ and ............
properties that QuickTest uses to record descriptions of the objects in your application
A) mandatory, assistive, and ordinal identifier
B) mandatory, required, and ordinal identifier
C) smart, assistive, and ordinal identifier
D) Index, assistive, and ordinal identifier
46) The .......... property set for each test object is created and maintained by QuickTest.
A) Run-Time Object
B) Test Object
C) Smart Identification Object
D) Assistive Object
47)You can access and perform ......... methods using the Object property.
A) Run-Time Object
B) Test Object
C) Smart Identification Object
D) Assistive Object
48) You can view or modify the test object property values that are stored with your test in the .........
A) Information Pane
B) Data Table
C) Information Pane & Data Table Both
D) Object Properties & Object Repository dialog box.
49) You can retrieve or modify property values of the test object during the run session by adding ..........statements in the Keyword View or Expert View.
A) GetROProperty & SetROProperty
B) GetTOProperty & SetTOProperty
C) GetTOProperty & SetROProperty
D) GetROProperty & SetTOProperty
50) If the available test object methods or properties for an object do not provide the functionality you need, you can access ..............of any run-time object using the Object property.
A) The internal methods and properties
B) The mandatory methods and properties
C) The selective methods and properties
D) The assistive methods and properties
:::Answers:::
Njoy Reading QTP questions I will post Next series soon
| Quality Center Multiple Choice Questions-1 |
1) Test management with Quality Center involves …. Phases.
A) Four
B) Five
C) Six
D) Seven
2) The phases of Test management with Quality Center in order are:
A) Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects
B) Specify Requirements, Specify Releases, Plan Tests, Execute Tests, Track Defects
C) Specify Requirements, Plan Tests, Specify Releases, Execute Tests, Track Defects
D) Specify Releases, Specify Requirements, Plan Tests, Track Defects, Execute Tests
3) By creating a list of authorized users and assigning each user a password and user group, you control the kinds of additions and modifications each user makes to the project.
A) True
B) False
4) The …….determines the privileges that the user has within a project.
A) User ID
B) User Name
C) User group
D) User SID
5) You can import data from Word or Excel to a Quality Center project.
A) True
B) False
6) Quality Center 9.2 prompts you to install Microsoft .NET ...... if it is not already installed on your machine.
A) Framework 2.0
B) Framework 1.0
C) Framework 3.0
D) Framework 4.0
7) When you connect to a project, the Quality Center main window opens and displays the module in which you were last working.
A) True
B) False
8) The ….can change and override a user's properties or password.
A) Global Administrator
B) Site Administrator
C) Administrator
D) QC Administrator
9) You can filter Quality Center data to display only those records that meet the criteria that you define. How many filters can you define
A) Single item as a filter
B) Two items as a filter
C) Multiple items as filter
D) Five items as filter
10) In the test plan tree, you can define the ……filter for associated test sets as "Open". This ensures that only tests that belong to an open test set are displayed.
A) Double
B) Twice
C) Cross
D) Multiple
11) By default, records appear in Quality Center in the
A) Increasing Order
B) Decreasing Order
C) Order in which they were added
D) None of these
12) You can save filter and sort information as a favorite view and then load it as needed.
A) True
B) False
13) You can copy and paste the filter, sort, and group by settings to another project.
A) True
B) False
14) You can also share the settings (filter, sort, and group by settings) with another user by pasting them to an e-mail or a text file.
A) True
B) False
15) When you use text search, the search ignores
A) articles (a, an, the)
B) coordinate conjunctions (and, but, for, nor, or);
C) Boolean operators (and, or, not, if, or, then).
D) All of above
16) You can export the data in a grid as a
A) text file,
B) Microsoft Excel worksheet,
C) Microsoft Word document, or
D) HTML document.
E) All of above
17) …….. alerting functions available in Quality Center
A) Three
B) Four
C) Two
D) Five
18) The alerting functions in Quality Center are:
A) Automatic notification alerts, Follow up alerts
B) Email alerts, Automatic notification alerts, Follow up alerts
C) Defect alerts, Email alerts, Automatic notification alerts, Follow up alerts
D) Final alerts, Email alerts, Automatic notification alerts, Follow up alerts
19) You can create traceability links between ……….. in the Requirements module.
A) Requirements
B) Test Cases
C) Tests
D) Defects
20) You can associate a test instance with a defect. This is performed by creating ………..in the Test Plan module, or by adding a defect during a manual test run.
A) Linked Tests
B) Linked Defects
C) Linked Errors
D) Linked Data
21) You can view a list of alerts for a ………… entity.
A) A test in the test plan tree or Test Grid
B) A test instance in the Execution Grid
C) None of above
D) Both A) & B)
22) A red flag indicates that the alert is.........
A) New
B) Old
C) Follow up
D) Urgent
23) A gray flag indicates that the alert ………..
A) New
B) has already been read
C) Follow up
D) Urgent
24) A follow up flag is specific to your user login name. Anyone else viewing the record does not see your follow up alert.
A) True
B) False
25) Quality Center assigns the image a unique file name with a ..... extension.
A) .jpeg
B) .gif
C) .doc
D) .jpg
26) A ………..is a view of a Quality Center window with the settings you apply to it.
A) Personal View
B) My view
C) Favorite View
D) My QC View
27) You save favorite views in ........
A) Favorite folder
B) Personal folder
C) Both A) & B)
D) Public & Private folder
28) You can define the number of views displayed on the menu by setting the …………….. parameter in the Site Configuration tab in Site Administration.
A) favorites
B) favorites_Depth
C) favorites_view
D) favorites_Path
29) The requirements specification workflow consists of the following:
A) Define Testing Scope, Create Requirements, Detail Requirements, Assign to Releases, Analyze Requirements
B) Define Testing Scope, Detail Requirements, Create Requirements, Assign to Releases, Analyze Requirements
C) Define Testing Scope, Create Requirements, Detail Requirements, Analyze Requirements, Assign to Releases
D) Define Testing Scope, Create Requirements, Analyze Requirements, Detail Requirements, Assign to Releases
30) Requirement topics are recorded in the Requirements module by creating a
A) Requirements cycle
B) Requirements tree
C) Requirements plan
D) Requirements module
31) QA Manager changes a requirement from a ……….. status to a Reviewed status once it is approved.
A) Released
B) Tested
C) Not reviewed
D) None of these
32) You can also import requirements to your Quality Center project from Microsoft Word, Excel, or other third-party requirement management tools. To import requirements, you must first install the appropriate………
A) HP Third Party add-in.
B) HP Quality Center add-in.
C) HP Quality Center
D) HP Quality Center License
33) The Requirements Grid view enables you to display requirements in a …………….view.
A) Flat
B) Hierarchical
C) Flat-hierarchical
D) Flat non-hierarchical
34) The …………view enables you to analyze the breakdown of child requirements according to test coverage status..
A) Coverage Analysis
B) Coverage Requirements
C) Coverage
D) Coverage Tests
35) You can access the Requirements menu bar from the Requirements module by pressing the shortcut key …….
A) F1
B) F9
C) Ctrl + R
D) Alt + R
36) You can use the ………to restrict and dynamically change the fields and values in the Requirements module.
A) Script Edit
B) Scriptor Editor
C) Script Editor
D) Script Editing
37) The Requirements module enables you to define and manage your……...
A) requirements
B) All requirements
C) some requirements
D) Tedious requirements
38) You can rename or delete Requirements root folder.
A) true
B) False
39) You can search for a particular requirement in the requirements tree or in the requirements grid using the …….command.
A) Search
B) Find
C) Search All
D) Find All
40) You can replace field values in the requirements tree or in the requirements grid using the …….command.
A) Replace
B) Replace All
C) Find & Replace
41) By default, Quality Center sends e-mail in HTML format. To send e-mail as plain text instead, edit the ……. parameter in the Site Configuration tab in Site Administration.
A) EMAIL_FORMAT
B) EMAIL_FORM
C) MAIL_FORMAT
D) QC_MAIL_FORMAT
42) You can copy a requirement within the same project or between projects. Which of the below items are copied at the time of copying a requirement.
A) Test coverage.
B) defect linkage.
C) risk-based quality management data
D) All of above
E) None of above
43) You can also move a requirement to a new location in the requirements tree by dragging it..
A) True
B) False
44) You can delete a requirement from the Requirements module. Deleting a requirement does not delete its child requirements, tests coverage, requirement traceability links, and defects linkage..
A)True
B) False
45) There are two methods you can use to create tests from requirements:
A) Convert Requirements to Tests & Generate a Test from Requirements
B) Convert Requirements to Tests & Convert a Test from Requirements
C) Convert Requirements to Tests & Generate a Requirement from Tests
D) Convert a Test from Requirements & Generate Requirements to Tests
46) When analyzing the impact of a change proposed in a specific requirement, the traceability links indicate the other ...... that the change might affect.
A) tests
B) requirements
C) tests & requirements
D) None
47) ...... links indicate requirements that affect a selected requirement. .....links indicate requirements that are affected by a selected requirement.
A) Trace from, Trace to
B) Trace to, Trace from
C) From trace, To trace
D) None of above
48) When a requirement changes, Quality Center alerts the affected requirements. The alerts can be seen by.......
A) Author of the requirement
B) users authorized by the Author of the requirement
C) all users
D) Administrator
49) while Defining Traceability Relationships, You cannot add a requirement traceability link by dragging a requirement from the requirements tree to the appropriate grid..
A) True
B) False
50) While viewing Traceability Impact, the Impact Analysis tab helps you understand the many associations and dependencies that exist between the ........ by displaying them in a hierarchical tree structure.
A) Tests
B) Requirements
C) Both
D) None
51) Each requirement type with risk-based quality management enabled supports either.
A) risk analysis or risk assessment
B) risk breakdown or risk assessment
C) risk breakdown or risk review
D) risk analysis or risk evaluation
52) Performing a risk-based quality management analysis for an analysis requirement involves the following steps
A) Determine Risk groups, Define Testing Policy Settings, Finalize Testing Policy, Analyze Testing Strategy
B) Determine Risk Categories, Define Testing guidelines Settings, Finalize Testing Policy, Analyze Testing Strategy
C) Determine Risk Categories, Define Testing Policy Settings, Finalize Testing guidelines, Analyze Testing Strategy
D) Determine Risk Categories, Define Testing Policy Settings, Finalize Testing Policy, Analyze Testing Strategy
53) An ...... requirement is a requirement belonging to a type that represents higher levels in the requirements tree hierarchy, such as the Folder type.
A) analysis
B) assessment
C) Policy
D) Test
54) An ....... requirement is a requirement belonging to a type that represents requirements that are children of analysis requirements and at a lower level in the requirements tree hierarchy.
A) analysis
B) assessment
C) Policy
D) Test
55) For each assessment requirement under the analysis requirement, you determine the Risk Category. The Risk Category is composed of two factors.
A) Business Probability and Failure Criticality
B) Business Vitality and Failure Probability
C) Business Criticality and Failure Probability
D) Business Criticality and Failure Possibility
56) The Business Criticality of a requirement has three possible values:.....
A) Critical, Important, Nice to Have
B) Critical, Importance, Nice to Have
C) Critical, Important, Nice to Had
D) None of these
57) The Failure Probability of a requirement has three possible values:...
A) High, Standard, Low
B) High, Average, Low
C) High, Medium, Low
D) None of these
58) Quality Center defines four Testing Levels:.
A) Full, Partial, Basic, and Low
B) Full, Partial, Basic, and None
C) Full, Half, Basic, and None
D) Full, Partial, Critical, and None
59) The Business Criticality of a requirement is a measure of how likely a test on the requirement is to fail, based on the technical complexity of the requirement's implementation, without consideration of the requirement's impact on the business.
A) True
B) False
60) The Failure Probability of a requirement is a measure of how important the requirement is to your business
A) True
B) False
(Total Marks: 40, Pass Mark: 26 (65%) and Exam Duration: 75 Minutes)
I) Fundamentals of Testing (7 Marks)
II) Testing throughout the Software Life cycle (6 Marks)
III) Static techniques (3 Marks)
IV) Test design techniques (12 Marks)
V) Test Management (8 Marks)
VI) Tool support for testing (4 Marks)