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 the advantages of Global gui over gui map per test mode?

3 Answers   Accenture,


Difference between winrunner and test director?

0 Answers  


how u can do parameterization in winrunner? tell me the sample code.

2 Answers   Mastek, MBT,


kindly provide me test cases on browser and calculator.Its very urgent.

0 Answers   TCS,


how do you analyze the properties associated with object

1 Answers  






How do you view the contents of the GUI map?

1 Answers  


What is the use of 'Show' button in GUI Map Editor?

2 Answers   FCG,


how you execute the function

1 Answers   Polaris,


what is Regression Testing and how you are going to use winrunner software to do this Regression testing?

5 Answers   MBT,


how do you analyze the result in update and debug mode

1 Answers  


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

7 Answers   Accenture, Infeneon Technologies,


what is risk?

0 Answers   TCS,


Categories