04-09-2010, 07:03 PM
(This post was last modified: 04-09-2010, 07:05 PM by Sudheer_tester.)
Hi All,
I am facing a problem with WinObject
Actual functionality is I want find number of store Fares after that needs to be select the each Stored Fare in Issue Documents Dialog and click the "Issue Documents" button
But I am not able to select Stored Fare. If am Spy that object it show as "WinObject: Internet Expolere_Server".
Even I have seach for ChildObjects for that WinObject but it shows 0 childobjects. For more clarification I have attached the screen shot.
I am using below code.
Please help on this issue.
I am facing a problem with WinObject
Actual functionality is I want find number of store Fares after that needs to be select the each Stored Fare in Issue Documents Dialog and click the "Issue Documents" button
But I am not able to select Stored Fare. If am Spy that object it show as "WinObject: Internet Expolere_Server".
Even I have seach for ChildObjects for that WinObject but it shows 0 childobjects. For more clarification I have attached the screen shot.
I am using below code.
Code:
set oChildObjects = Window("Viewpoint").Dialog("Issue Documents").WinObject("Internet Explorer_Server").ChildObjects
iNoObjects = oChildObjects.Count()
MsgBox iNoObjects
Please help on this issue.