How to get all the objects count and objects names in
webpage using QTP ?
Answer Posted / devi
Set b=description.Create
b("micclass").value="Browser"
Set obj=desktop.ChildObjects(b)
msgbox obj.count
'browser("CreationTime:=4").close
For i=0 to obj.count-1
msgbox i
c=obj(i).getroproperty("name")
msgbox c
Next
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
what is Property......End Property loop? how to write sript for it in QTP
How can I change object description or check point values in qtp?
What is business process testing(bpt) in qtp?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
how to test Web application using QTP software
What are the Test design techniques you uses in ur project?
Have you done batch testing in qtp? If yes how you are doing?
Limitations in QTP?
Define Error Pane of UFT?
What are the different types of action?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
Where to use Property Let, Property Get, Property Set in UFT
How software automation specialist enter steps in the Expert View?