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
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
what is the diffrence bw qtp architectute and qtp framework?
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?
What are the advantages of Object Repository?
Hi,All How to create a link in excel sheet using qtp
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
What is an object repository?
What is expert view in qtp?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
Explain qtp(quick test professional)?
explain abt dyanamic changing object with example?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
what is the advantages and disadvantages of using functions instead of re usable actions
How to build scripts that access data from external sources?