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
when will you do debug your script? and explain that process?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
If I change the object name in one action will it be updated in all the actions? Or not?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Shall we add Local Repository to shared object repository,if yes,how we add
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Tell me about your project? please help me how to tell about insurance project
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
What is regular expression?
When you open QTP, how many sheets you can see?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
what is error and fault in terms of software quality?