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

This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

1945


What is the purpose of regexp_msw_class property?

872


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

870


Have you used winrunner in your project?

791


When it is appropriate to change physical description?

897


What is the disadvantage of loading the GUI maps through start up scripts?

814


how can you explain your Real Estate Project in front of interviewer..? please step by step......

1376


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

933


What all are the different databases winrunner can support?

1690


How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1966


What different actions are performed by find and show button?

882


What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?

819


Have you ever created a start-up script?

897


What is the difference between writing a function and writing a script?

1021


What is the difference between gui map and gui map files?

791