Problem with WinObject - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Problem with WinObject (/Thread-Problem-with-WinObject) |
Problem with WinObject - Sudheer_tester - 04-09-2010 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. Code: set oChildObjects = Window("Viewpoint").Dialog("Issue Documents").WinObject("Internet Explorer_Server").ChildObjects Please help on this issue. RE: Problem with WinObject - sreekanth chilam - 04-09-2010 Hi Sudheer, where is the Attachment? RE: Problem with WinObject - supputuri - 04-09-2010 Code: Set objChild = Description.create() now you can work with this object. Let me know if you need any more information. |