Forum Discussion

vthomeschoolmom's avatar
vthomeschoolmom
Super Contributor
15 years ago

getting a handle on these controls

PLease note we are running Test Complete 7.



We have an app with a fairly complicated UI. It is written in VB6 and uses quite a few custom controls. When we record tests or write the test scripts by hand, a lot of the controls we wish to use or examine are not readily exposed to Test Complete. So we wind up using coordinates. That tends to be a bit unreliable. So I am trying to get a firm handle on how Test Complete works.



My journey to understanding started with some controls

XTPDockBar

XTPToolBar



The response I received from you loverly Smartbear folk was that I could access them through MSAA. Great!



I went looking for further understanding of how to get directly to controls, how would I know if they work with MSAA, I found this

http://smartbear.com/support/viewarticle/14477/



Which talks about Open Applications in Visual Basic.



I find myself looking for an OVERVIEW of the myriad of ways one can get to a control then perhaps links to info about each way. I see two ways here Open Applications in Visual Basic and MSAA. It is hard to know WHAT Open Applications in Visual Basic IS...



When I sought to confirm that the Open Applications in Visual Basic plug-in was installed, I followed the information on the aforementioned link. According to that article I need this dll

TlbInf32



Which is automatically installed by VB6.... Except that it is not present on my development VM on which VB6 is installed. Would one imagine that it must also be included in the installer for Test Complete to be able to get to controls?



Later on the article tells me



y default, the Visual Basic Open Applications plug-in (tcOpenApps2.pls) is installed in the <TestComplete>\Bin\Extensions folder. For detailed information on how to install this plug-in, see Installing Extensions. I see no such file.





So I am looking for a basic UNDERSTANDING of the ways in which it may be possible to get directly to controls. Any information would be greatly appreciated.



Thanks


12 Replies