Sei sulla pagina 1di 2

1. What is User Define Functions?

What are all the different types of User defined


Functions available in WR?
2. Where do you use Private/Public function in your script?
2. How do you forcibly capture an Object using WinRunner (when WR not able to
identify it)?
4. What's the use of GUI Map Editor?
5. What are all the types of applications WinRunner can use?
6. What's Data Driven Test?
7. What's the File Format used in Data Table?
8. How do you link a Data Table in your script?
9. Where you find that you can't use WR for automation?
Ans. 1. UDF are custom function, the complied modules, which is created by WR Script
Developer. A script can have more than one UDF. The script containing UDF can
be loaded at WR Start Up. Thus the UDF can be invoked same as the WR
function. UDF allows creating modular script.
Ans. 2. The usage of Public / Private function in the script depends on the Test
Requirement.
When a function is declared as PRIVATE, it is available within the same script.
The Function is LOCAL in the Script.
If the function has no modifiers, the function is treated as PRIVATE.
When a function is declared as PUBLIC, COMPILED, and the Script is
LOADED, the functions are available GLOBALLY. These functions can be
invoked same as the WR function.
WR can also have function modifier as EXTERN. These are external function,
generally used to call APIs in script.
Ans. 3. When WR is unable to normally identify any GUI object, the property of the
GUI object is selected as a standard class object for the Virtual Object form
Tools | Virtual Object Wizard.
Ans. 4. GUI Map Editor is used to
Learn,
Add,
Modify,
Delete,
Find; and
Trace
GUI Map Entries.
Ans. 5. WR is used to Test Any Application of 2 tier / n tier GUI Based application.

Ans. 6. Data Driven Test is Record based testing of the application.


Ans. 7. This uses Excel Spread Sheet as the data table.
Ans. 8. The Test Scenario of Record based processing in the Script is selected and the
Data Driven Wizard is run for the Test Script Scenario. Variables are
Parameterized for the columns used in the Test Script Scenario. Thus, creating the
Data Table. The Data Table is opened and new data values for the parameterized
columns are added. The cursor is moved to a blank record and then saved. Further
the Script is tested for its execution.
Ans. 9. Automation is highly expensive. So you should first analyze your Requirement
whether you or your company project really needs Automation.
Automation through WR is not applicable for complete BACK-END Application,
DOS Based Application Testing, and to some extent PURE WEB TESTING.
10. Testing is commonly assumed to mean executing software and finding errors. This
type of testing is known as dynamic testing, and while valid, it is not the most effective
way of testing. Static testing, the review, inspection and validation of development
requirements, is the most effective and cost efficient way of testing. A structured
approach to testing should use both dynamic and static testing techniques

Potrebbero piacerti anche