code completion for user-defined objects
We are writing test scipts in Jscript and we are implementing our objects in libraries that we access with //USEUNIT.
The problem is everytime we instantiate a new object from the test we don't get code completion for that object. Any help anyone could provide would be appreciated as the code completion functionality is very important to our development.
Here are snippets of what we are doing:
SomeObject.prototype.contructor = SomeObject();
SomeObject.prototype.open_control = function()
//Do some stuff We are leaving the seperately defined function around for legacy scripts that still use a
non-object oriented approach.
And in the main file:
//USEUNIT Library File
var MySomeObject = new LibraryFile.SomeObject();
MySomeObject. <- expecting autocomplete to pop-up here
Question has been asked before: http://community.smartbear.com/t5/Functional-Web-Testing/Editor-intellisense-and-navigation-does-not...
To summarize, its not currently supported in Test Complete.
Now, we have a special place in the Community where our users can submit their improvement ideas or vote for the ideas they like: TestComplete Feature Request Forum.
Could you please submit this as a new idea in that new area and post a link in this thread, so everyone could vote?
TestComplete’s PO monitors this forum on a regular basis, and uses this information for development planning.
SmartBear Community and Education Manager
I've got the same issue for my vbs script extensions.
As a workaround, for each class method, I add to the module an empty method frame having the same name and parameters.
So, I can type <Namespace>.<ModuleName with Code completion>.<Method Name with code completion> and then insert the object name.
This is not so very beautiful, but it works