08-26-2009, 03:50 PM
Can you see if you have a method called Gettextlocation exist for the winobject ?
Try the below and let me know what do you get on the screen,
Try the below and let me know what do you get on the screen,
Code:
rowcount = Window("Product").Window("Product Selection").WinObject("GXWND").Object.Rows.Count
msgbox rowcount
itemscount = Window("Product").Window("Product Selection").WinObject("GXWND").Object.Items.Count
msgbox itemscount
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.