If u press a push button in an application the winrunner
generates tsl statement like button_press(..) i.e the class
name of the object and the event on that object but
Why if u click a static text in an application the
winrunner generates tsl statemen like win_mouse_click
rather than the statement with combination of classname and
event..??

Answers were Sorted based on User's Feedback



If u press a push button in an application the winrunner generates tsl statement like button_pres..

Answer / suresh.chaluvadi

yes this is due to the Default record methods that were
there in the winrunner for that objects.
The Default Record method for the push button is "Record"
means if u operate some thing on that object..it records
all the events on that.
the default Record method for the push button is "PassUp"
means if u operate some thing on that object..it treat
those actions will be on the element where the object was
placed. and naturally the static text object was placed on
window..
so the tsl statement like win_mouse_click will be
generated..
correct me if any thing wrong..

Is This Answer Correct ?    2 Yes 0 No

If u press a push button in an application the winrunner generates tsl statement like button_pres..

Answer / lakshmi

I think for virtual objects WR generates the tsl statement
like win_mouse_click()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More WinRunner Interview Questions

How to handle exceptions in for loop of DDT script.

1 Answers   HP,


What is the different between GUI map and GUI map files?

1 Answers   Ordain Solutions,


What is Configuration Management?

2 Answers   Patni,


What is Data Driven TEsting?

16 Answers   ADP, Sonata,


what is agile testing

2 Answers  


where does WR records the information about objects in AUT?

1 Answers  


tell me the detailed exaplanation of different types of tesiting

5 Answers   Satyam,


What is parameterizing?

0 Answers  


This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

0 Answers   ABC, Excelacom,


How to handle exceptions in for loop of DDT script.

2 Answers  


Where to use the public or private functions in your script?

2 Answers  


What is the add-in used to test the web application in winrunner?

1 Answers   Hanu Software, Second Foundation,


Categories