未来已来

HP WinRunner 工具认证SP/CPC考试题目( HP0-M12 )(zt)

上一篇 / 下一篇  2008-10-16 22:37:08 / 个人分类:测试认证

How do you specify a 15-second timeout in the global timeout settings?

A. 15
B. 150
C. 1500
D. 15000

Answer: D
You are testing a banking application. At 8 AM an employee logs in successfully and it takes about 5 seconds for the main menu window to appear.

At 9 AM it takes approximately 15 seconds for the main menu window to appear after login. If you were to incorporate this time difference in a scrīpt, which WinRunner feature would you use so that the scrīpt runs successfully despite the difference in time for the main menu window to appear?

A. Verify
B. Data drive
C. Synchronize
D. Parameterize

Answer: C
Which synchronization statement is automatically generated during recording?

A. win_activate("Flight Reservation");
B. set_window ("Flight Reservation 10");
C. obj_wait_bitmap("Flights","Img2",6,7,8,101,114);
D. obj_wait_info("Insert Done...","label","Insert Done...",10);

Answer: B
The process for building a functional WinRunner scrīpt goes through four steps. What are these steps? (Select four.)

A. plan the test
B. synchronize
C. record steps
D. parameterize
E. add verification
F. analyze results
G. execute the test

Answer: B, C, E, G
A test scrīpt contains both Context Sensitive and Analog recording. The scrīpt keeps failing on the window where the Analog recording is played back. Which function can you include in your scrīpt to ensure that windows and objects are in the same locations as when the test was recorded?

A. win_move function
B. GUI_load function
C. invoke_app function
D. set_window function

Answer: A
In which file does WinRunner store user actions on the application under test captured during recording?

A. lock
B. scrīpt
C. chklist
D. debug

Answer: B
During recording, WinRunner "listens" to the actions a user performs on the application (and to the response from the server) and creates a log of these steps. Which language does WinRunner use to create these steps in a scrīpt?

A. C Language
B. VBscrīpt Language
C. Test scrīpt Language
D. Virtual User Language

Answer: C
What is the default recording mode that WinRunner uses?

A. Analog
B. Low-level
C. Standard / Default
D. Context Sensitive

Answer: D
In a test, you have to record both in Context Sensitive and Analog modes. Which method should you use to switch recording from Analog back to Context Sensitive without capturing the mouse
movements in the test scrīpt?

A. Toolbar
B. Softkey
C. Menu command
D. Right click (popup menu)

Answer: B
What does the function move_locator_track( ) represent?

A. a mouse over
B. a mouse click
C. a keyboard entry
D. a function key press

Answer: A
The test lead wants a copy of the WinRunner scrīpt you created. To provide him with a workable copy, which file or files do you need to supply? Assume that the name of the test is Test1A under which the following files and folders are included: lock, scrīpt, chklist, db, debug, exp, res1.

A. scrīpt.zip
B. Test1A.zip
C. scrīpt, db, exp, res1 in a zip file
D. Lock, scrīpt, chklist, and db in a zip file

Answer: B
What is referred to as a WinRunner scrīpt that is used to initialize the working environment, including UI_load( ) and GUI_close_all( ) statements before test scrīpts are run?

A. Loader scrīpt
B. Startup scrīpt
C. Function Library
D. Function Generator

Answer: B
Upon invoking WinRunner, which feature lists the types of applications you can test?

A. Add-In Manager
B. RapidTest Wizard
C. DataTable Wizard
D. Recovery Scenario

Answer: A
A test run fails because of an unrecognized object. You want to compare the actual object properties to the properties stored in the GUI Map file. Which WinRunner feature compares the
actual object properties versus the properties in the GUI Map and provides a possible reason for the error?

A. GUI Spy
B. Data Driver Wizard
C. Run Wizard
D. Virtual Object Wizard
E. RapidTest scrīpt Wizard

Answer: C
How does WinRunner set up the GUI Map file for a new test?

A. WinRunner automatically executes a GUI_load statement.
B. WinRunner automatically loads the last opened GUI Map file.
C. WinRunner automatically creates a new GUI Map file for the test.
D. WinRunner automatically loads a shared GUI Map file it recognizes.

Answer: C
If you want to save your recovery function, where is the best location to save the recovery for every test in your project?

A. Paste the recovery function in each test.
B. Add the recovery function in the startup scrīpt.
C. Add the recovery function in the function generator.
D. The recovery manager saves its own recovery function.

Answer: B
Which main components must be present in a simple and compound recovery scenario? (Select two.)

A. an event
B. an exit function
C. unknown object
D. recovery operation
E. post-recovery operation

Answer: A, D
A scrīpt contains the function GUI_load and a GUI Map file is loaded in the memory. During the recording of a new scrīpt, one of the GUI Map object's properties has changed. What does
WinRunner do in order to successfully playback the scrīpt?

A. WinRunner adds the new object to the loaded GUI Map file.
B. WinRunner will stop because it does not recognize the object.
C. WinRunner adds the new object to the temporary GUI Map file.
D. Nothing. You will have to add the new object to the GUI Map file.

Answer: C
You are asked to create a GUI Map file that contains all the objects in the application under test.
What is the best and fastest way to meet this requirement?

A. Use the Run Wizard.
B. Use the RapidTest scrīpt Wizard.
C. Use the Learn feature from the GUI Map Editor.
D. Consolidate all GUI Map files into a shared GUI Map file.

Answer: B
Select the correct statement about recovery scenarios.

A. A recovery scenario is manually activated prior to the test run.
B. A recovery scenario works in conjunction with exception handlers in the test scrīpt.
C. A recovery scenario can be automatically activated each time WinRunner is launched.
D. A recovery scenario requires an event, recovery operation and post-recovery operation.

Answer: C

相关阅读:

TAG: 测试认证

 

评分:0

我来说两句

Open Toolbar