| || |
Problem with WinObject
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.
set oChildObjects = Window("Viewpoint").Dialog("Issue Documents").WinObject("Internet Explorer_Server").ChildObjects
iNoObjects = oChildObjects.Count()
Please help on this issue.
Re: Problem with WinObject
Your application seems to be custom browser. You need Register the application as a browser using the register browser control tool in QTP tools folder