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

I want to know how to execute the descriptive programming in
qtp for the webedit object which does not contain attached
text property. but i have checked it with name and html id
property. Even though it is not executing. it is giving
error in object's physical description.

Answer Posted / denis parker

Set oDesc = Description.Create()

oDesc("micclass").Value = "WebEdit"

oDesc("name").Value = "YYY"

oDesc("html id").Value = "14A"



'Retrieve all WebEdit objects in this page

Set EditCollection = Browser("B").Page("B").ChildObjects(oDesc)



NumberOfEdits = EditCollection.Count



'Search for a specific WebEdit object and set its value

For i = 0 To NumberOfEdits - 1


EditCollection(i).Set "AAAA"



Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you brief the hurdles you faced during Automation testing?

1040


What are the technologies supported by qtp?

947


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1937


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1868


Both static and dynamic arrays are handled by the vb script. Is it true?

1022


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1828


Does Low-level recording capture mouse movements?

1036


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

2052


What is the syntax for how to call one script from another?

1023


How can I import environment from a file on disk?

1056


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4564


Explain how you can delete excel file in qtp?

1032


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

1085


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

2051


How to use parameterization in qtp?

1060