Forum Discussion
AlexKaras
10 years agoChampion Level 3
Hi Giel,
Assuming that there is one "Internet Explorer_Server" object in the tested application, why not to use the FindChild() functions provided by TestComplete? I.e. something like this (untested, off top of my head):
Set oIEWin = Sys.Process("Framework.UI").FindChild("WndClass", "Internet Explorer_Server", 20)
Set oPage = oIEWin.Page(*)
Set oGrid = oPage.FindChild("WndClass", "VSFlexGrid8L", 20)
I think that this is more reliable, simpler and clear than complex RegExp...
- GielRaijmakers10 years agoNew Contributor
Hi Alex,
agree.
It is also kind of how I did it eventually.
Thanks for the support!
Related Content
- 2 years ago
- 2 years ago
Recent Discussions
- 9 hours ago
- 7 days ago
- 10 days ago