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
Explain the benefits of quick test pro(qtp)?
desribe a situation where u faced a stressful situation and how did u cope with it
What is action? How many types of actions are there in qtp?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
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?
How do you perform Regreession Testing?
Differences between quicktest professional (qtp) and winrunner?
What is the difference between a Function and Action in QTP?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
What is the difference between call to existing action and copy of an action?
How u will do versioning in QTP?