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
diff between qtp versions from 8.5
how to test Web application using QTP software
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
What is keyword driven framework?
Explain how Does Run time data (Parameterization) is handled in QTP?
How to find the name of the machine where you are running your automation scripts in qtp?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How to find the path of folder in which the test is saved in qtp?
What are the advantages of Object Repository?
Discuss quicktest professional (qtp) environment?
How can you pass value one action to another action?
Your roles and responsibilities and daily tasks? (As automation tester)
what frame work you are following?
How many types of trigger events are there in qtp?
What is the short cut keys for the following?