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

Difference between winrunner and test director?

0 Answers  


latest version

1 Answers  


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

0 Answers  


How do you make the configuration and mappings permanent?

0 Answers  


1.Can we use multiple excel sheets in winrunner? 2.What is the templet of writing test cases? 3.Which bug tracking tool u r using in u'r company? 4.Can any one give me real time test case format? My mail id id shobha.mar28@gmail.com

3 Answers   Cognizant, Infosys, Kaktus Info Solutions,






how do you use DLLs in winnrunner?

1 Answers  


What do you mean by S/W Testing Automation Framework? What are different types of automation framework?

1 Answers  


Where do we use Regular Expression? And what exactly Regular Expression means?

6 Answers   College School Exams Tests, JVS,


what is mean feasablity testing,

2 Answers  


what is the default mode of executing TSL Script

4 Answers  


what is meant by build release note?what it contains?

4 Answers   CTS,


What is the extension of GUI check points check list file?

3 Answers   FCG,


Categories