Pages

Thursday, 9 February 2012

HP QTP - QuickTest Prof. 10.0 Question Bank - Part 5

Q. 201: Which QTP feature allows you select the appropriate add-ins to load with your test.
Add-in Manager
<<<<<< =================== >>>>>>
Q. 202: Name the six columns of the Keyword view.
Item, Operation, Value, Documentation, Assignment, Comment
<<<<<< =================== >>>>>>
Q. 203: List the steps to change the logical name of an object named "ThreedPanel" into "StatusBar" in the Object Repository.
Select Tools > Object Repository. In the Action1 object repository list of objects, select an object, right click and select Rename from the pop-up menu.
<<<<<< =================== >>>>>>
Q. 204: Name the two run modes available in QTP Professional.
Normal and Fast
<<<<<< =================== >>>>>>
Q. 205: When QTP Professional is connected to Quality Center, all automated assets (e.g. tests, values) are stored in Quality Center. (True or False)
True
<<<<<< =================== >>>>>>
Q. 206: What information do you need when you select the Record and Run Setting - Record and run on these applications (opened when a session begins)?
Application details (name, location, any program arguments)
<<<<<< =================== >>>>>>

Q. 207: Name and discuss the three elements that make up a recorded step.
1) Item - the object recorded,
2) Operation - the action performed on the object,
3) Value - the value selected, typed or set for the recorded object
<<<<<< =================== >>>>>>
Q. 208: There are two locations to store run results. What are these two locations and discuss each.
New run results folder - permanently stores a copy of the run results in a separate location under the automated test folder
Temporary run results folder - Run results can be overwritten every time the test is played back
<<<<<< =================== >>>>>>
Q. 209: The object class QTP uses to identify an object is a property of the object. (True or False)
False
<<<<<< =================== >>>>>>
Q. 210: You can modify the list of pre-selected properties that QTP uses to identify an object. (True or False)
True
Q. 211: A synchronization step instructs QTP to wait for a state of a property of an object before proceeding to the next recorded step. Synchronization steps are activated only during recording. (True or False)
True
<<<<<< =================== >>>>>>
Q. 212: Manually verifying that an order number was generated by an application and displayed on the GUI is automated in QTP using what feature?

A Checkpoint
<<<<<< =================== >>>>>>
Q. 213: QTP can automate verification which are not visible on the application under test interface. (True or False)

True
<<<<<< =================== >>>>>>
Q. 214: What is the Checkpoint Timeout Value?
A checkpoint timeout value specifies the time interval (in seconds) during which QTP attempts to perform the checkpoint successfully. QTP continues to perform the checkpoint until it passes or until the timeout occurs. If the checkpoint does not pass before the timeout occurs, the checkpoint fails.
<<<<<< =================== >>>>>>
Q. 215: You can modify the name of a checkpoint for better readability. (True or False)
False
<<<<<< =================== >>>>>>
Q. 216: Define a regular expression for the following range of values:
a. Verify that the values begin with Afx3 followed by 3 random digits Afx3459, Afx3712, Afx3165
b. Verify that a five-digit value is included in the string Status code 78923 approved

a. Afx3\d{3}
b. Status code \d{5} approved
<<<<<< =================== >>>>>>
Q. 217: Write the letter of the type of parameter that best corresponds to the requirement:
a. An order number has to be retrieved from the window and saved into a file for each test run.
b. A value between 12 to 22 is entered in no particular order for every test run.
c. Every iteration of the test should select a new city from a list item
A. Environment parameter
B. Input parameter
C. Component parameter
D. Output parameter
E. Random parameter

D, E, B
<<<<<< =================== >>>>>>
Q. 218: This is the Data Table that contains values retrieved from the application under test. You can view the captured values after the test run, from the Test Results. What do you call this data table?

Run-Time Data table
<<<<<< =================== >>>>>>
Q. 219: Name and describe each of the four types of trigger events
A pop up window appears in an opened application during the test run.
A property of an object changes its state or value.
A step in the test does not run successfully.
An open application fails during the test run.
<<<<<< =================== >>>>>>
Q. 220: Explain initial and end conditions.
Initial and end conditions refer to starting and end points of a test that allows the test to iterate from the same location, and with the same set up every time (e.g. all fields are blank, the test starts at the main menu page).

0 comments:

Post a Comment