Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to get the system date and time in winrunner?

2 Answers   Accenture,


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

0 Answers  


i would like to know the steps to write tsl exception and object exception with a simple example

0 Answers  


What are the functions generate when u use GUI Check point?give me some of ones?

4 Answers   Second Foundation,


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

0 Answers  


Where are test cycle folders created if TSL Script is not saved

1 Answers  


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

2 Answers   Accenture,


what is the difference between synchronization pt and wait statement. what are the advanatages and disadv..of context sensitive and analog recording

4 Answers   FCG,


what is TSL in winrunner

2 Answers  


What is meant by the logical name of the object?

6 Answers  


What is parameterizing in winrunner?

5 Answers   FCG, GE,


In the Object properties MSW id,MSWclass will appear..what exactly MSW means..?

2 Answers  


Categories