Micro Focus QTP (UFT) Forums

Full Version: mfc grid object is not identified
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am testing a C++ application which uses mfc grid for tables and want to retrieve its values in a variable. But object spy identifies it like winobject please suggest how to do.....
snap is attached.
I am automating C++ application and it uses mfc grid. Please help me, how can i extract cell value with descriptive programming. Object spy identifies it as winobject.
Did you tried getting the child objects collection and then getting the cell value.
Code:
Set oDesc = Description.Create
Set colObject = ParentObject.ChildObjects(oDesc)
Set colObject = Desktop.ChildObjects(oDesc)
Hi Tarik thanks for reply i am beginner and don't know how to get cell value