Testing Microsoft InfoPath Forms

Applies to TestComplete 15.70, last modified on December 17, 2024

With TestComplete, you can test almost any applications, including Microsoft Office InfoPath forms. You can test and fill your InfoPath forms with data in the following ways:

  • Access form controls as web page elements— Using the Web Testing plugin (this plugin is installed and enabled automatically as part of the TestComplete Web module), you can access the form controls and simulate mouse clicks, keystrokes and other actions over them. For more information, see Classic Web Testing and Simulating User Actions. However, this way is not very convenient since the names of form controls differ every time you run InfoPath.

  • Access form controls via the IAccessible interface— Since InfoPath supports Microsoft Active Accessibility (MSAA), its windows and form controls are exposed by the IAccessible interface. Therefore, you can use the Microsoft Active Accessibility Support plugin (this plugin is installed and enabled automatically if you have a license for TestComplete Desktop module) to access form controls via the TestComplete MSAA engine. This is the preferred way for working with InfoPath forms.

The following topics provide detailed information about testing InfoPath forms with TestComplete:

How to Test InfoPath Forms with TestComplete

Explains how to configure your TestComplete project to enable access to InfoPath form elements, explore the form and provides a sample script that automatically fills a form.
Related Topics of Interest

Requirements

Contains information on plugins required for functional testing of InfoPath forms.

Using Microsoft Active Accessibility

Explains how you can test applications that support Microsoft Active Accessibility.

Classic Web Testing

Explains how to perform functional testing of web pages with TestComplete.

Recording Automated Tests

Contains basic information on recording in TestComplete.

Running Tests

Contains general information on running tests in TestComplete.

Testing Approaches

Describes different testing types supported by TestComplete.

About Script Tests

Contains general information on writing scripts and supported scripting languages.

See Also

Desktop Application Testing
Applications Testing

Highlight search results