Ask a Question

Generate C# Script?

SOLVED
Everseeker
Contributor

Generate C# Script?

Hi,

I think I need a little help from Capt. Obvious...

 

I have written a few Keyword based tests... and have been feeling a bit... constrained.

So, I want to convert them to C# (Well, C#Script at least) so I can do a bit more...

 

Enter ye olde "Right click on test, select 'Convert to Script' and go" mode...

and voila... a nice script is generated... ummm... in VBScript  (Sub Text999() is a dead giveaway)

When I try to add C#ish things (Like '{' ), I get "error 110 SYNTAX ERROR..." Syntax Highlighting & Code Templates are also set to VBScript.

 

Un-Fun.

 

How do I set TestComplete to live happily in a C#Script world? (or python, or...)

1 REPLY 1
Everseeker
Contributor

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

 

Short answer - you can only generate in the script that was defined at the start of the project....

 

cancel
Showing results for 
Search instead for 
Did you mean: