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

How to know from the script that whether the object is
custom object or virtual object?

Answer Posted / vijayan

for standard windows object the script will be like
button_press("OK"); -- for push_button

for vitural object the script will be like

button_press("OK_1"); -- for virtual push_button

so if any logical name of the object have underscore
symbol(_) followed by any interget then we can identify that
the object is vitural object

In physical description we can find one more attribute
called virtual:TRUE, this is we cannt find for the normal
standard windows objects

ex:obj_mouse_click("Agent Name:_1", 21, 13, LEFT);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read the third party controls in the application

2057


How do you configure gui map?

1287


How do u check FONTS in Login Window?

2394


Which are default codes winrunner generates when we start the application?

2161


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

2312


What are the three modes of running the scripts?

1142


What is the XML test cases creation?

2746


What is tsl? What 4gl is it similar too?

1300


Explain the purpose of different record methods?

1203


How do you copy and move objects between different gui map files?

1253


plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?

2720


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

2112


What is test parameter

2299


What information is contained in the checklist file?

1269


What are the virtual objects and how do you learn them?

1301