AutomatedQA: Award-winning tools for software testing and quality assurance

Home » Products » TestComplete » Testing .NET Applications

TestComplete for .NET

Automated Testing of .NET Applications

TestComplete provides fully automated support for regression, unit and functional testing of WinForms or VCL.NET projects that use the Microsoft .NET Framework. All .NET languages are supported including:

Microsoft: Visual C#, Visual Basic .NET, Visual J# .NET, Visual C++ .NET v. 7.0 and later (managed code), JScript .NET, all Microsoft compilers of Visual Studio 2005 (with Service Pack 1 installed).
Non-Microsoft: Borland C#Builder, Borland Delphi for .NET (Delphi 8, Delphi 2005, Delphi 2006), Python .NET, COBOL .NET, and so on.

TestComplete supports applications created for .NET Framework ver. 1.0, 1.1, 2.0 and 3.0. TestComplete supports both 32- and 64-bit .NET applications.

As the illustration below shows, when you start using TestComplete to automate testing of your .NET applications, you will gain all the advantages and convenience that TestComplete provides in other environments. Moreover, you will find that TestComplete's white-box testing capabilities are enhanced by .NET. Without any changes in your .NET application, you can access all public, protected, private, internal and protected internal properties and methods of the application's objects. The following is a sample --

Looking into a WinForms application (note the visiblity of private fields)

The way you access objects of your .NET application depends on whether or not these objects are visual.

Visual objects of your .NET applications as well as properties, methods and events of these objects are displayed in the Object Browser panel. To access visual WinForms objects of .NET applications, TestComplete provides the WinFormsObject method. Similarly, to access visual VCL.NET objects of .NET applications, TestComplete provides the VCLNETObject method. These methods allow you to address the desired object by its name, or by the object’s class name, caption and index.

To access a non-visual object, you need to find a property, field or method of another object (visual or non-visual) that would return a reference to that object. You can find this property, field or method by exploring your application in the Object Browser. You can also obtain a reference to that object by using a static field, property or method, which you can access through the AppDomain(…).dotNET statement.

Additionally, you will find that TestComplete uses a language-independent scripting engine. When building WinForms or VCL.NET applications, this means you will be able to record and edit scripts in VBScript, JScript, C#Script, C++Script (these two languages are based on JScript) or DelphiScript, to fit your needs -- and never in a proprietary scripting language.

 
For more information on TestComplete and other Quality Assurance products from AutomatedQA, write to us at sales@automatedqa.com.

 
Copyright © 1999-2008, AutomatedQA, Corp. All Rights Reserved.
Home | Legal | About | Contact | Site Map | Print