Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with WinObject
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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
iNoObjects = oChildObjects.Count()
MsgBox iNoObjects

Please help on this issue.


Attached Files Image(s)
   
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Sudheer,
where is the Attachment?
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
Set objChild = Description.create()
objChild("micclass").value = "WinObject"

Set objChildItems = Window("Viewpoint").Dialog("Issue Documents").ChildObjects(objChild) 'This will return all the winobjects itmes collection.
Msgbox objChildItems.count 'This will give the number of winobjects are present with in the dialog.
now you can work with this object.

Let me know if you need any more information.
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,689 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  QTP captures MFCMenubutton as winobject.Help Me to select menu's inside MFCMenubutton surestud 1 2,872 04-10-2015, 02:17 PM
Last Post: Naresh
  object identified as WinObject by UFT11.52, HELP javierchen 1 3,395 03-17-2015, 09:36 PM
Last Post: babu123
  WinObject is always detected by Spy javierchen 0 1,990 03-09-2015, 09:27 PM
Last Post: javierchen
  SetSecure on a WinObject? RandomGrin 1 2,800 11-04-2014, 10:00 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)