Forum Discussion

sjordan's avatar
sjordan
Occasional Contributor
13 years ago

TestComplete - Keyword Tests or Scripts?

From what I can tell, there are two options in TestComplete.  I can create and run Keyword Tests or I can convert my recorded tests to a script.  My options with keyword tests seem REALLY limited...I can't use UserForms, for one thing.  Do I have to use scripts to get the most out of TestComplete?  I'm not a programmer, and what experience I DO have is with C#, which does not appear to be an option to convert to.



If I convert my tests to scripts, is there a way to program what I want and convert them BACK to keyword tests?



For reference, I'm trying to do this:  http://blog.smartbear.com/software-quality/bid/170153/

I made the user form, added the buttons, etc. but then I get stuck on the part where you actually IMPLEMENT the form, and all I have is that example VB script.  Isn't there a way to do it from the keyword test?
  • Hi Sabrina,



    Do I have to use scripts to get the most out of TestComplete?


    Please refer to the Keyword testing vs Scripting testing Forum thread - it contains all the pros and cons.



    If I convert my tests to scripts, is there a way to program what I want and convert them BACK to keyword tests?


    No, there's no way to do this automatically.



    Isn't there a way to do it from the keyword test?


    There is, if we keep in mind such operations as Run Code Snippet or Run Script Routine. Anyway, the more complex keyword test you create, the more script snippets it requires.