Class in C# Script
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2010
11:12 PM
08-24-2010
11:12 PM
Class in C# Script
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />
Hi,
We have recently moved to C# script language from VBscript in TestComplete 8. I
am trying to create a class in C# and its throwing error "error 100 syntax error while processing class"
public class testobject
{
}
Thanks in Advance,
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010
01:53 AM
08-25-2010
01:53 AM
C#Script language in TestComplete has nothing common with C# language.
C#Script is JScript with a different syntax (see help topic "Writing C# Scripts" in TC help system).
Gennadiy Alpaev
Software Testing Automation Tips - my new book
TestComplete Cookbook is published!
About Community Experts
C#Script is JScript with a different syntax (see help topic "Writing C# Scripts" in TC help system).
Gennadiy Alpaev
Software Testing Automation Tips - my new book
TestComplete Cookbook is published!
About Community Experts
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010
08:08 PM
08-25-2010
08:08 PM
Hi,
You can use classes in C#Script, but you should create them by using JScript's mechanisms. See here.
You can use classes in C#Script, but you should create them by using JScript's mechanisms. See here.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
