How to get all the objects count and objects names in
webpage using QTP ?
Answer Posted / sai
Dim a(100)
set p=Browser("Home").Page("Home").ChildObjects
cnt=0
For i=0 to p.count-1
b=p(i).GetTOProperty("micclass")
If i<1 Then
a(0)=b
Else
For j=0 to Ubound(a)-1
If a(j)<>b Then
cnt=cnt+1
a(cnt)=b
End If
Next
End If
Next
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the meaning Work bench?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
Diff b/w Health care domain and Banking Domain?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
how do i know how to use tools
How to analyzing test results using quicktest professional?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What is fragmentation and paging?
how interviews will be on QTP?
What is the difference between run time object and test object?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
What is an object repository?
How can you identify the browser and its information using the qtp script?
wht type of User defined functions or Java Releated functions do we write in VB scripting