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
This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.
What is the purpose of regexp_msw_class property?
What is the use of gui map and what happens when the gui map file get loaded?
Have you used winrunner in your project?
When it is appropriate to change physical description?
What is the disadvantage of loading the GUI maps through start up scripts?
how can you explain your Real Estate Project in front of interviewer..? please step by step......
What is the use of gui map and what happens when gui map file get loaded?
What all are the different databases winrunner can support?
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.....
What different actions are performed by find and show button?
What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?
Have you ever created a start-up script?
What is the difference between writing a function and writing a script?
What is the difference between gui map and gui map files?