Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Objects Count
#1
Not Solved
Hi Friends
Kinldy tell me how to get the number of in the object repository?

or number of objects in the applciation?

the following code returns the count.
but i want the names of the objects.(whether they are flex box or panel or text area or button etc)

Code:
Set Links = Browser("Welcome to Global Center").FlexApplication("flashcontent").FlexCanvas("canvas").FlexBox("calendarSearch").ChildObjects
total=Links.Count
msgbox total
For i = 0 to total-1
    a=Links(i).GetROProperty("text")
    If a="" Then
        Exit For
        Else
        msgbox a
    End If

Next

a is null for all values...

Simply say i need the number of buttons,labels,panel,etc in the application or repository
kinldy help in this regard.....
Reply
#2
Not Solved
use obj.tostring
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)