QuickTest Professional (QTP) Fundamentals
Test your knowledge of QTP (QuickTest Professional) automation testing, including object repositories, descriptive programming, checkpoints, parameterization, and integration with Quality Center.
Questions
To Ensure that the Quality Center can Run Tests in QTP, what setting must be set first in QTP?
- Allow QC to run tests remotely
- Enable QC Integration
- Allow other Products to control QTP
- Allow other Products to run tests remotely
If you see a “Winobject” in your script, what does this mean?
- QTP is couldn’t see your application
- QTP could see the objects but unable to recognize the class details
- QTP cannot see the Object
- None of the above
How can the Object Repository be made more flexible for objects with dynamic Properties
- Regular Expressions
- Parameterization
- Descriptive Programming
- All the Above
What type of the files can be managed using the Object Repository manager
- Local Object Repositories
- All Repository Types
- Shared Object Repositories
- All the Above
Which looping statement is guaranteed to execute at least once
- For…NEXT
- While…Wend
- Loop
- Do…While
How can you ensure that all the variables must be declared thin a script?
- You Can’t
- OptionDeclare
- Declare Explicit
- Option Explicit
What Checkpoint type is used to check the values of Properties of the object?
- Low Level
- Active Screen
- JPEG Sample
- Standard
To change the currently loaded Add-ins in QTP you must…
- Close QTP & Restart it, then select Add-ins from the Add-in Manager
- From the Help Menu choose “About QTP” then check the Add-ins required
- Open the Add-in Manager from the QTP main menu & change the Add-ins as required
- All of the Above
When inserting an Output value in your script, which DataTable sheet can you choose to output to?
- Local Data Sheet
- Global Data Sheet
- Both 1 & 2
- Either 1 Or 2
Which of these can be parameterized?
- Checkpoints
- Test Objects in the Repository
- Database Checkpoints
- All of the Above
With the following statement, how long will QTP check for the existence of the Button?Window (“Flight Reservation”).WinButton (“OK”).Exist (3)
- 3 Seconds
- 20 Seconds
- Whatever the default time is Set to plus 3 Seconds
- Whatever the default time Set to
Which utility is used to investigate Object Properties?
- GUI Spy
- Object Repository
- Object Repository manager
- Object SPY
What does the “ChildObjects” method return?
- A Collection of Objects
- A count of the number of Objects on the page
- All the Web pages displayed in the browser
- None of the above
Using the following DataTable value Property, what does the number indicate? X= Datatable.value (“Column1”,1)
- That you want the data from the first row in the table
- That you want the data from the first column in the table
- To get the data from the data sheet
- To access the data from the data sheet with the index Value ‘1’
The Object Properties (Mandatory & Assistive) for the “Test Object Classes” can be defined using one of the following
- Object Spy
- Object Repository Manager
- Object Identification
- All the above
In which tab of Test Setting, do you find the associated add-ins
- Run
- Resources
- Properties
- Parameters
What is the default Browser navigation timeout in QTP
- 30000 ms
- 60000 ms
- 90000 ms
- 40000 ms
What is the shortcut key to Run from Step
- CTRL + F10
- CTRL + F5
- CTRL + F12
- CTRL + F2
Under which menu option, Recovery Scenario Manager is available
- File
- Insert
- Automation
- Resources
The type of descriptive programming in which you add a collection of properties and values to a Description object, and then enter the Description object name in the statement is
- Static
- Scripting
- Dynamic
- Framework