11-16-2008, 08:57 PM
Hi
1)I would like to know what contains in the Obj when I issue the following Statements in QTP.
I issue this statements first to count the no.of objects in a window.
How will be the structue of Obj in memory. What it is going to have exactly.
2) I sent this "Obj" into childobjects method like this.
So what will "Objcoll" have now. what information about the childobjects are captured in Objcoll above.
regards
Srinivas Aditya
1)I would like to know what contains in the Obj when I issue the following Statements in QTP.
Code:
Set Obj=Description.create()
Obj("Class name").value="WinButton"
I issue this statements first to count the no.of objects in a window.
How will be the structue of Obj in memory. What it is going to have exactly.
2) I sent this "Obj" into childobjects method like this.
Code:
Set Objcoll=window("Flight Reservation").childobjects(obj)
Objcnt=objcoll.count
So what will "Objcoll" have now. what information about the childobjects are captured in Objcoll above.
regards
Srinivas Aditya