Contributions
[Extending TestComplete]Adding dropdown list items
Hello, I am adding a new toolbar with a dropdown list of elements. I have created a new dropdown using createEmptyAction method with 'atDropDown' as the first paramter. Now I want to add some list elements to this dropdown. I am trying to set the property 'apDDItemsList'. What should be the value that I should set to this property. ? I have created a SAFEARRAY* with vartype 'VT_BSTR' and added two elements. When I use this objects as the value for property apDDItemsList it is throwing a null excpetion. Any ideas ??2.4KViews0likes0Comments- 671Views0likes0Comments
Extending testcomplete UI with IaqWindowProvider
Hello, I managed to get an new panel into testcomplete by extending theCWindowImpl interface. Also I added a button to the panel making a call to CreateWindow(L"BUTTON" ..) in OnCreate method ofCWindowImpl class. Problem is how do I attach event handlers to that button. I want to grab the actions on that button and write my custom action handlers. Am I not supposed add UI elements to panel using CreateWindow ?? Also, I am able to create UI elements with event handlers attached usingIaqActionManager as well. But then I couldn't figure out how do I add such elements to UI panel created by extendingCWindowImpl . Any help is appreciated.3KViews0likes1CommentRe: Importing Plugins into TestComplete
Thanks. I have gone through the documentation. If the interface IaqPluginInformationRepository needs to be implemented, how am I able to import the simpleplugin provided in the SDK directory ? I haven't found any implementation of IaqPluginInformationRepository in that code base. Also, as per my understanding IaqPluginInformationRepository and IaqExtensionRegistratorManager should be implemented by testcomplete to work with the plugin's as they are the part of plugin manager. I am trying to implement a plugin and not plugin manager.888Views0likes0Comments- 888Views0likes0Comments
Importing Plugins into TestComplete
When I import the plugin I keep getting the error "Cannot obtain the information about the plug-in(s) from the test.pls file". It looks like I am compiling my VC++ project without some information. How do I fix this error ?? PS : I did change the major version of my plugin. So it got to be some other error.3.9KViews0likes4Comments- 921Views0likes0Comments
TestComplete Plugin VC++
I am trying to develop a plugin for testcomplete in vc++. I am using testcomplete 9 SDK for my development. The documentation to create a simple plugin has inhered from base classes IaqExtensionRegistrator and IaqBasePlugin. The document says "Each TestComplete plug-in must implement the IaqBasePlugin interface". Where should I get these interface references from ? I couldn't find these classes in any of files in "TestComplete 9\SDK\MSVC" folder. Any help is appreciated.Solved4KViews0likes2Comments