Forum Discussion
Hi BkNutson,
Yes after mapping a grid object class, testcomplete able to map grid row column objects, I checked and found it worked if you are using recording feature of test complete, but if you are use to work with dynamic programming for example spy the object with TC object spy and uses Find, FindChild, FindEx methods to find a objects it doesn't work, Always TC freezes when I tried to use object spy So for the time-being I used whole absolute path to perform operations on my objects.
I removed my reference to the object class in the 'UI Automation' section. With that off, the Object Browser responds like it should and doesn't 'freeze'. I can't drill down in Object Browser on individual cells but, I don't really need to anyway.
I can still use the methods for the grid to access the cells through scripting. I am not sure now why I even put that window class into the UI Automation setup area in the first place.
I will leave it out and see if I run into any issues but I think for my case, I should be fine. Thanks
- tristaanogre8 years agoEsteemed Contributor
bknutson wrote:
I removed my reference to the object class in the 'UI Automation' section. With that off, the Object Browser responds like it should and doesn't 'freeze'. I can't drill down in Object Browser on individual cells but, I don't really need to anyway.
I can still use the methods for the grid to access the cells through scripting. I am not sure now why I even put that window class into the UI Automation setup area in the first place.
I will leave it out and see if I run into any issues but I think for my case, I should be fine. ThanksThat's actually standard practice for grid components, anyways. Some grids expose the individual Cell objects, others you need to use the native properties to access individual cells and rows. UI Automation, MSAA, and other similar technologies appear to do a real-time scan of the object and retrieves the information that way, each time you access the object so, if there are a LOT of objects, it will take a while. I wouldn't say TC is "frozen", just not responding because it's busy. :)
Glad it's working out for you!