Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Date: 11/27/00
1.
2.
What are the benefits of automated testing? Write down few scenarios where
automated testing is required?
What are the benefits of automated testing?
1. Saving the Time
2. Saving the Money
3. Quick results for Review/Decision
4. Improves Application Functionality
5. Provides script reuse
6. Supports Testing of Multiple Environments
Write down few scenarios where automated testing is required?
Possibly. For small projects, the time needed to learn and implement them may not
be worth it.
For
1. Larger projects (size)
2. On-going long-term projects
3. Complex projects on multi platform
they can be valuable.
3.
4.
What are the various recording modes available in WinRunner? Explain the
Difference?
1. Analog: function is mouse clicks, key board input and co-ordination of
mouse travel
2. Context sensitive: Performs specific task on GUI objects. Such as clicking
a button selecting an item, editing a text box etc
3. Standard: It performs general purpose programming tasks such as sending
message to a report or performing calculations.
4. Customization: It allows user to adopt WinRunner to the testing
environment.
How does WinRunner uniquely identify GUI objects in AUT?
By creating a GUI map WinRunner uniquely identify GUI objects in AUT.
WinRunner uses a logical name to identify an object. This short name is connected
to the objectss longer physical description. Win Runner uses this detailed
description to ensure that each GUI object has its own unique identification.
5.
What visual clue indicates that a GUI map is changed but not saved?
6.
When new version of AUT is released and has changes in the GUI, what needs to
be changed in the GUI map file?
The objects physical descriptions in the GUI map need to be updated.
7.
8.
10.
If you want to record the mouse movements from one position to another position
Which recording mode you will be using?
Analog Recording is useful for mouse movements.
11.
12.
13.
14.
15.
Plan an automated test script to verify that the Total Amount equals to the tickets
Price multiplied by the number of tickets ordered in Flight 1A application.
(Insert a new order and while insert do this verification).
Specifications :
1. Write down the manual steps for performing the check in Word Document.
2. Create a script in WinRunner with Test case ID Verify_TotalAmt.
3. Add comment statements at the beginning of the test and whenever appropriate
to make the script more readable.
4. Load your GUI map file from your script only.
5. Invoke Flight 1A Application from test script.
6. Send Messages to the result files for verification pass and fail.
Note: Attach your GUI map and all related files.
Verify_TotalAmount
Insert Order Visual Basic Flight 1A
Flight Reservation Window is open
Description
Open AUT Visual Basic Flight 1A
Open WinRunner
Make the GUI Map file
Start Recording
Start the steps to insert a order then stop recording
Insert comments in the script for adding the functions to Verify the Total
price.
Use object_get _info to get the information about price, # of tickets and
Total price.
Insert script with if and else conditional loop.
Use tl_step function to get the test results displayed
Save the script and GUI map files
Run the test from top and check the results