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

what are Recoring modea available in winrunner?

3 Answers   Second Foundation, TCS,


HOW TO TEST A SOFTWARE/APPLICATION?

2 Answers  


What is the purpose of a gui spy?

0 Answers  


For my web Application I am recording website by WR. but the fuctions are displaying normal recorded fun. such as set_window...etc. eventhough i selected web add-in at start up WR. how to use web functions? such as web_link_click.... pls. guide

0 Answers   Wipro,


What are the advantages and disadvantages of Context sensitive and Analog Recording?

2 Answers   Telelogic,






what is the gui map & gui map file in winrunner?

2 Answers   MBT,


what is Retesting and what is the difference between Retesting and Regression testing?

7 Answers   Accenture, Infeneon Technologies,


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

4 Answers   Second Foundation,


How do you analyze results and report the defects?

1 Answers  


How can withwin runner to make single scripts which supports multiple languages?

0 Answers  


How can integration testing be done through winrunner??

1 Answers   Satyam,


What are the synchronization points?

0 Answers  


Categories