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 identify an object which is not in the object

repository identification can be done using descriptive

programming.

Answer Posted / sreeprasad

Here is example # 1 with description object.

set EditDesc = Description.Create()

EditDesc("Name").Value = "userName"

EditDesc("Index").Value = "0"

Browser("Welcome: Mercury").Page("Welcome: Mercury").WebEdit

(EditDesc).Set "MyName"

Here is example # 2 with out description object.

Dialog("text:=Login").WinEdit("window id:=3001","attached

text:=Agent.*").Set "john"

Dialog("text:=Login").WinEdit("window id:=2000","attached

text:=Password:").Set "mercury"

Dialog("text:=Login").WinButton("text:=OK").Click

These both method will be used in expert view to identify

object with out object avaialble in object repository

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax to call one script from another?

1085


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1960


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

1144


QTP script is not working on other's machine..

2032


Is the qtp course will help to create a virtual object?

2017


What is the use of an object spy tool in qtp?

1085


Have you faced any problems with object repository?

1109


How do you open adobe acrobat file in QTP and do some testing on that file ?

1111


Name the properties you would use for identifying a browser and page when using descriptive programming?

1066


Have you used xml check point in your project? How?

1044


What are some test assets and related extensions of qtp?

1078


How many number of actions possible in qtp?

1093


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

2020


why text area checkpoints cannot used for web applications

2431


What is the basic concept of qtp?

1049