| || |
Classes in TC
I would like to ask, is it possible to create classes and objects in TC in C#Script? If it is, how? Thank you very much.
Re: Classes in TC
Since C#Script is based on JScript, you can use the same approach to creating custom objects. Please see the following MSDN article to learn how to create custom script objects in the JScript language:
Also, TestComplete has the Object-Driven Testing (ODT) project item that allows you to create custom classes and objects in all supported scripting languages. Using this feature, you can create not only individual objects, but also a complex objects hierarchy. Please see the "ODT Project Item" help topic for more information.