Pages

Monday, November 12, 2012

QTP Questions and Answers - 23

Q - 441: Why would a tester use the Description object in the Expert View of a test?
A. To programmatically modify a test object's definition directly in the object repository
B. To bypass the object repository when identifying an object at runtime
C. To data-drive logical names and make the test more generic
D. To make it easier to retrieve child objects using the ChildObjects method
  
Q - 442: Which language is used for Expert View?
A. TSL
B. VB
C. VBScript
D. Python
  
Q - 443: What does the dot indicate in VBScript? (Select two.)
A. Property
B. Child object
C. Statement
D. Function
E. Method
  
Q - 444: What do you use to create a programmatic description? (Select two.)
A. Property and method
B. Property and value
C. ":" with the logical name 
D. Programmatic object
E. Description object
  
Q - 445: The following statement is causing your test run to fail with a syntax error:newString = "Passenger " & 1Which function do you need to add to this statement so the correct output of newString is "Passenger 1"?
A.     Mod(1)
B. ToString1) 
C. clnt(1)
D. cStr(1)

Q - 446: Which DataTable method makes an external spreadsheet available to QuickTest Professional?
A. GetSheet
B. OpenSheet
C. ImportSheet
D. ExportSheet
  
Q - 447: Which names are used to identify the status of your application before and after your automated test executes? (Select two.)
A. Initial condition
B. Static state
C. End condition
D. Down condition
E. Done condition
  
Q - 448: What are the default add-ins installed with QuickTest Professional? (Select three.)
A. .NET
B. ActiveX
C. HTML
D. Web
E. Java
F. OCX
G. Visual Basic
  
Q - 449: Which Quick Test Professional View Option will show you the repositories associated with each action?
A. Resources
B. Information
C. Script Repository
D. Active Screen
  
Q - 450: Where can you reset the add-in manager if it does not display when you launch QuickTest Professional?
A. General Options
B. Run Options
C. Test Properties
D. Test Settings

Q - 451: You set your Record and Run settings to Record, and then run a test on any open browser. Which applications will be recorded? (Select two.)
A. Firefox
B. Safari
C. Silverlight
D. Chrome
E. Internet Explorer
  
Q - 452: Click Next or More to continue. Click the Task button.
You have set your Record and Run settings to Record and run tests on any open browser. Indicate the function that works for each browser.

Q - 453: Which directory is the default directory in the QuickTest Professional file structure where the local Data Table is located?
A. Action 0 folder
B. Local Action folder
C. Default Test folder
D. Data folder
  
Q - 454: Which QuickTest Professional menu item should you use when emailing a QuickTest Professional test to another tester?
A. Send Email...
B. Export Test to Zip File...
C. Save Test with Resources...
D. Export Test and Email...
  
Q - 455: You have defined a global synchronization timeout of 30 seconds for your test. The synchronization point timeout for a button to become enabled is set to 10000.
During playback of the script, what is the maximum amount of time QuickTest Professional will wait for the button to become enabled?
A. 10 seconds
B. 30 seconds
C. 40 seconds
D. 10030 seconds
  
Q - 456: Which QuickTest Professional feature should you use to view methods and properties of objects in your application?
A. Spy Object
B. Object Repository
C. Object Spy
D. Object Viewer
  
Q - 457: Which object repository type is created by default?
A. Shared
B. Reusable
C. Local
D. Global
  
Q - 458: You need to change the properties of an object in your object repository. Which repository feature enables you to quickly access the specific item if your repository contains hundreds of objects?
A. Highlight in Application
B. Search in Repository
C. Identify in Repository
D. Locate in Repository
  
Q - 459: Which QuickTest Professional feature confirms that the application is functioning correctly?
A. Parameterization
B. Checkpoint
C. Breakpoint
D. Validation
  
Q - 460: Which statement type can you use in your test to wait for a condition to be met and fail the test if it times out before meeting the condition?
A. Pause method
B. Exist method
C. Standard checkpoint
D. Wait statement



No comments:

Post a Comment