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
How to start recording using quicktest professional?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How to test results for qtp ?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
How do I get the QTP scripts result in xml format by using vb script function?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What is use of object spy?
What Folder Structure following in Keyword Driven Frame work?
In qtp, explain what is keyword driven automation framework?
Both static and dynamic arrays are handled by the vb script. Is it true?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?