This works great for functions that are called from other script functions. However, if I call a function within a keyword test and add a new parameter to the function, the keyword test will fail with an exception indicating that the parameter count is incorrect.
What would be great is if the Keyword engine, when reading a function for execution, can recognize when such default parameter values are defined and be able to execute the script without needing to update the keyword test. Currently, if we add a parameter to a function, we have to go back and update all of the keyword tests where it is called to have the new set of parameters, even if we're just going to use the default.
Welcome to the TestComplete Feature Requests board!
Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.