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

Data Driven test functions in WinRunner are Context sensitive functions or Analog functions?

3 Answers   FCG,


How can integration testing be done through winrunner??

1 Answers   Satyam,


What are the functions generate when u use GUI Check point?give me some of ones?

4 Answers   Second Foundation,


Can anyone tell me the real usage of compiled modules and user defined functions stating real time example

1 Answers  


what is the winrunner framework or architecture?

2 Answers   IBM,






What is the function of eval function?

1 Answers   Accenture,


What do you verify with the database check point custom and what command it generates, explain syntax?

0 Answers  


how will u perform bug tracking using winrunner?

1 Answers   MBT,


how many types of object repositories in winrunner & tell me difference for those

2 Answers   SAP Labs,


How you used WinRunner in your project?

1 Answers  


Could you anyone share me the path to download the automation tools which are having trial license version?

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,


Categories