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

What are the reasons that winrunner fails to identify gui object?

985


How to check the background colour of the screen in WR?

1909


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

2210


What are the Win Runner tools for functional testing?

2974


What are the synchronization points?

1079


What is boundary test?

1091


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

1053


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

1167


What is the purpose of a gui spy?

1125


Have you used winrunner in your project?

1018


How do you modify the logical name or the physical description of the objects in gui map?

1074


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

1227


What is the purpose of set_window command?

1227


Explain difference between winrunner and test director?

1098


What do you mean by the logical name of the object.

1102