QuickTest Professional .NET Add-in 8.2 Readme

This file provides the following information about the QuickTest Professional .NET Add-in:

Overview

The QuickTest Professional .NET Add-in recognizes and records on objects based on Windows Forms or Web Forms controls, and enables you to access the properties and methods supported by those controls.

For more information on the .NET Add-in, refer to the QuickTest Professional .NET Add-in Guide.

Customer Support

Technical support for QuickTest Professional and the QuickTest Professional .NET Add-in is provided via our award-winning Customer Support Web Site. From this Web site, customers are able to review Frequently Asked Questions, submit and check the status of support requests, and access online documentation, patches, and other downloads. Please visit the Customer Support Web Site at:

http://support.mercury.com

Customer Support contact numbers all over the world are available on the Customer Support Web Site.

System Requirements

To successfully run the QuickTest Professional .NET Add-in, your system configuration should meet the requirements as specified for QuickTest Professional 8.2 (in the QuickTest Professional 8.2 Readme file), plus the following add-in specific requirements:

Prerequisites:
QuickTest Professional, version 8.2, including the Web Add-in 8.2
Free Hard Disk Space:
10 MB of free disk space (in addition to the QuickTest Professional installation).

Supported Environments

The QuickTest Professional .NET Add-in supports:

Supported Controls and Corresponding Test Objects

The QuickTest Professional .NET Add-in supports all control types listed below as well as controls derived from these types.

.NET Windows Forms

Following is a list of the control types supported for .NET Windows Forms applications.

Full Type Name
Test Object Class
Standard Controls:
System.Windows.Forms.Button
SwfButton
System.Windows.Forms.CheckBox
SwfCheckBox
System.Windows.Forms.RadioButton
SwfRadioButton
System.Windows.Forms.TextBox
SwfEdit
System.Windows.Forms.ListBox
SwfList
System.Windows.Forms.ComboBox
SwfComboBox
System.Windows.Forms.ListView
SwfListView
System.Windows.Forms.TreeView
SwfTreeView
System.Windows.Forms.StatusBar
SwfStatusBar
System.Windows.Forms.TabControl
SwfTab
System.Windows.Forms.HScrollBar
SwfScrollBar
System.Windows.Forms.VScrollBar
System.Windows.Forms.RichTextBox
SwfEditor
System.Windows.Forms.UpDownBase
SwfSpin
System.Windows.Forms.UpDownBase+UpDownButtons
System.Windows.Forms.UpDownBase+UpDownEdit
System.Windows.Forms.UpDownButtons
System.Windows.Forms.ToolBar
SwfToolBar
System.Windows.Forms.ToolStrip
System.Windows.Forms.MenuStrip
System.Windows.Forms.Label
SwfLabel
System.Windows.Forms.Form
SwfWindow
System.Windows.Forms.MonthCalendar
SwfCalendar
System.Windows.Forms.DateTimePicker
Grid Controls:
System.Windows.Forms.DataGrid 1.0 or 1.1
SwfTable
System.Windows.Forms.DataGridView 2.0
Infragistics.Win.UltraWinGrid.UltraGrid 2.00.x and 3.2.x
C1.Win.C1FlexGrid.C1FlexGrid 1.1.x and 2.5.x
C1.Win.C1TrueDBGrid.C1TrueDBGrid 1.2.x
DevExpress.XtraGrid.GridControl 1.5 and 2.0
Other:
Types inherited from System.Windows.Forms.Control
SwfObject

In addition to the controls listed above, custom-built QuickTest Professional support for a variety of Infragistics .NET Windows Forms controls is provided out-of-the-box by Infragistics TestAdvantage. For more information, refer to http://www.infragistics.com/products/TestAdvantage_portal.asp.

Tips: To view the full type name of an object in your application, view the SwfTypeName test object property in the Object Spy.

You can also view a list of the base types of a selected object by running a statement using the following syntax:

MsgBox
SwfTestObj(descr).GetROProperty("SwfTypeNames")

where SwfTestObj(desc) is the test object you want to check.

Running this statement causes a message box to open displaying the actual class at the top of the list and the base classes below it.

.NET Web Forms

Following is a list of the control types supported for .NET Web Forms applications.

Full Type Name
Test Object Class
ASP.NET Controls:
System.Web.UI.WebControls.DataGrid
WbfGrid
System.Web.UI.WebControls.Calendar
WbfCalendar
Infragistics NetAdvantage ASP.NET Controls:
Infragistics.WebUI.UltraWebGrid.UltraWebGrid 1.00, 2.00, and 3.1
WbfUltraGrid
Microsoft Internet Explorer Web Controls:
Microsoft.Web.UI.WebControls.TabStrip
WbfTabStrip
Microsoft.Web.UI.WebControls.Toolbar
WbfToolbar
Microsoft.Web.UI.WebControls.TreeView
WbfTreeView
System.Web.UI.HtmlControls and System.Web.UI.WebControls
Supported by the Web Add-in as regular Web objects

Useful Information

Changing the Microsoft .NET Framework 1.0 Configuration

An application may use components that are built on different versions of the Microsoft .NET Framework. The default behavior of CLR version 1.1 and above is to unify usage of framework assemblies. The runtime version that is associated with an application determines which version of the Microsoft .NET Framework assemblies are used by the application and all of its components. For example, if an application is associated with version 1.1 of the Microsoft .NET Framework and uses the System.Data assembly, then version 1.1 of the System.Data assembly is loaded and shared across all components used by the application. If an application component refers to version 1.0 of the System.Data assembly, the reference is promoted at runtime to reference version 1.1.

The Microsoft .NET Framework 1.0 does not perform unification by default. As the result, an application that uses components built with different Microsoft .NET frameworks may load different versions of the same assembly at runtime. The reason for updating the framework configuration is to provide unification for the Microsoft .NET Framework 1.0. In order to achieve this, the QuickTest Professional .NET Add-in setup applies binding redirection of framework assemblies (for version 1.0 only) at the machine level. Changes are made in the machine.config file under the Microsoft .NET Framework 1.0 installation. The original file is saved as machine.config.bak.

QuickTest can automatically change the Microsoft .NET Framework 1.0 configuration during the .NET Add-in installation, or you can choose to change it manually later on. Note that until the required configuration changes are performed, testing applications based on the .NET Framework 1.0 may cause unexpected results.

To manually update the Microsoft .NET Framework 1.0 configuration after installing the .NET add-in:

  1. Log-in to your computer with administrator permissions.
  2. Open a Command Prompt (Start > Programs > Accessories > Command Prompt).
  3. Type cd /d <QuickTest Professional installation path>\bin and press Enter to change the path to the QuickTest Professional bin folder.
  4. Type NetUpdateConfig /config and press Enter.
  5. This command performs the required changes in the machine.config file under the Microsoft .NET Framework 1.0 installation. The original file is saved as machine.config.bak.

For additional information, refer to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconnetframeworkassemblyunificationoverview.asp.

Known Problems and Limitations

Installation

.NET Windows Forms

.NET Web Forms

.NET Add-in Extensibility

© This manual, and the accompanying software and other documentation, is protected by U.S. and international copyright laws, and may be used only in accordance with the accompanying license agreement. Features of the software, and of other products and services of Mercury Interactive Corporation, may be covered by one or more of the following patents: U.S. Patent Nos. 5,701,139; 5,657,438; 5,511,185; 5,870,559; 5,958,008; 5,974,572; 6,138,157; 6,144,962; 6,205,122; 6,237,006; 6,341,310; 6,360,332, 6,449,739; 6,470,383; 6,477,483; 6,549,944; 6,560,564; 6,564,342; 6,587,969; 6,631,408; 6,631,411; 6,633,912; 6,694,288; 6,738,813; 6,738,933 and 6,754,701. Other patents pending. All rights reserved.

Mercury, Mercury Interactive, the Mercury Interactive logo, LoadRunner, LoadRunner TestCenter, QuickTest Professional, SiteScope, SiteSeer, TestDirector, Topaz and WinRunner are trademarks or registered trademarks of Mercury Interactive Corporation or its subsidiaries, in the United States and/or other countries. The absence of a trademark from this list does not constitute a waiver of Mercury Interactive's intellectual property rights concerning that trademark.

All other company, brand and product names are registered trademarks or trademarks of their respective holders. Mercury Interactive Corporation disclaims any responsibility for specifying which marks are owned by which companies or which organizations.

Mercury Interactive Corporation
379 North Whisman Road
Mountain View, CA 94043
Tel: (650) 603-5200
Toll Free: (800) TEST-911
Customer Support: (877) TEST-HLP
Fax: (650) 603-5300

QTPNETRM8.2/01

Copyright 2004 Mercury Interactive Corporation

Documentation comments or suggestions?
Please send feedback to documentation@mercury.com