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..??

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What in contained in the GUI map?

627


by useing qtp where the maximum people feeling difficult

1406


How to to get the information from the status bar without doing any activity/click on the hyperlink?

605


What is toogle breakpoints? How does it differ from break points?

1816


How do you call windows APIs, explain with an example?

1550






How do you unload the GUI map?

701


How do you make the configuration and mappings permanent?

631


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

630


you hae a inbox and got a mail how can you know it is there or not write script.

1572


What is the use of virtual object wizard and how it is used?

627


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

1742


what is risk?

2097


i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.

1597


What is the use of gui map and what happens when the gui map file get loaded?

632


What are the different modes of recording in winrunner?

680