Pages

Monday, November 12, 2012

QTP Questions and Answers - 22

Q - 421: How do you associate an object repository with specific actions in a test?
A. Use the Resources panel to drag and drop repository icons on action icons.
B. Use the drag and drop option in the Object Repository Manager.
C. Use the Associates Repositories Tab.
D. Use the Resources window in the Test Settings dialog.
  
Q - 422: What is the result of merging two object repositories?
A. The primary repository is updated by default.
B. The tester may optionally choose to update the primary repository.
C. A third object repository is created.
D. The tester must select to create a third repository or update the primary repository.
  
Q - 423: Which steps are required to connect to Quality Center from QuickTest Professional? (Select three.)
A. Define a project
B. Connect to the server
C. Authenticate user
D. Create a user
E. Define a domain
F. Select a project
  
Q - 424:Which feature requires a connection to Quality Center?
A. Version Control
B. Jump to Step
C. System Monitor
D. Save Test with Resources
  
Q - 425: Identify QuickTest Professional resources. (Select three.)
A. Test versions
B. Actions
C. Checkpoints
D. Function libraries
E. Images
F. Recovery scenarios
  
Q - 426: Which menu option should you use to save your test to a version controlled Quality Center project for the first time?
A. Check-in
B. Save As
C. Save Test with Resources
D. Create Version
  
Q - 427: How do you initiate the Low Level Recording mode?
A. Click the Record button twice.
B. Activate Low Level Recording from the Automation menu. 
C. Click Recd, press F8.
D. Click Record and activate Low Level Recording from the Automation menu.
  
Q - 428: Which feature can you use to teach QuickTest Professional to recognize any area of your application?
A. Object identification
B. Object wizard
C. Virtual objects
D. Virtual identification
  
Q - 429: Which events are considered exceptions when replaying a test? (Select two.)
A. Best application that crashes
B. Field is mandatory message 
C. Printer out of ink message 
D. invalid password message 
E. invalid permission message
  
Q - 430: How can you pause and interact with the playback of a test?
A. Add a wait statement.
B. Add a breakpoint.
C. Add a delay.
D. Add a stop point.

Q - 431: Which tab in the Debug Viewer pane allows you to view or change variables or properties?
A. Watch
B. Variables
C. Command
D. View
  
Q - 432: Which Settings tab enables QuickTest Professional to measure the resources being used by the application?
A. Resources
B. Environment
C. Local System Monitor
D. Run
  
Q - 433: How can you use monitors to cause the test to fail?
A. Add a monitor checkpoint.
B. Add custom code to evaluate monitor data.
C. Define a counter scale.
D. Define a monitor limit.
  
Q - 434: What can you do using the To Do pane? (Select two.)
A. Assign tasks to others.
B. Mark a task as In progress.
C. View TODO comments existing in the current test recovery scenarios.
D. Export TODO comments to comma-separated values or XML format.
E. View TODO comments existing in the current test checkpoints.
  
Q - 435: Where is the System Monitor tab located?
A. In the right pane of the Test Results window
B. In the Information pane
C. In the Resources pane
D. In the right pane of the System window
  
Q - 436: What happens when you import data from an external Excel file into the QuickTest Professional Data Table?
A. Row data is overwritten when column headers in Excel and the Data Table match.
B. A new column is added to the Data Table when column headers in Excel and the Data Table match.
C. All the sheets in the Excel file are imported.
D. Excel listboxes are expanded and one row is added to the Data Table per value in the list.

Q - 437: Which statement should you use to export all sheets in the Data Table?
A. DataTable.Export ("C:\flights.xls")
B. DataTable.ExportSheet ("C\flights.xls.", ALL)
C. DataTable.ExportAllSheets ("C:\flights.xls")
D. DataTable.Export ("C:\flights.xls" , ALL)
  
Q - 438: Which statement will retrieve the test object's properties during the test run?
A. iCount = WebRadioGroup("seat").GetROProperty("Items Count")
B. WebRadioGroup("seat).CheckProperty("Items Count")
C. oDesc = WebTable("Firstname").GetTOProperties
D. propsList = WebTable("FirstName").ChildObjects(oDesc)
  
Q - 439: Which method retrieves a property of a runtime object?
A. GetROProperty
B. GetTOProperty
C. GetRuntimeProperty
D. GetRTProperty
  
Q - 440: In the test results, what do square brackets around a test object name indicate?
A. The test object was created dynamically during the run session using a programmatic description or the ChildObjects method.
B. Smart Identification was invoked for that object during the test run.
C. The Create method was used at runtime to dynamically create the referenced object.
D. This is an optional step.

No comments:

Post a Comment