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

Explain the use of test director software?

843


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

2026


The title of the window consists of date and time.What is the regular expression to recognize the window as unique?

1744


what are the differences you see in e-commerce and banking domain in testing point of view Thanks in Advance

1282


what is mean by release in quality center and who will perfom?

2722


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

839


Why don’t we normally load the gui maps through start up scripts?

837


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

885


what is risk?

2336


What happens when the gui map file get loaded?

966


How to break infinite loop?

873


Which function to use to compare the application date with system date?

1741


two file is there how will compate it by useing qtp.

1973


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

947


How to get the resolution settings?

821