Configure TestComplete project to access the InfoPath form’s

The following sections will explain how to configure TestComplete automation project and access the InfoPath form’s fields in TestComplete scripts.
Configuring TestComplete Project
Before scripting & testing our InfoPath forms we have to configure the TestComplete project -
• Launch TestComplete and create a new test project suite and project.
• Right-click the TestComplete project node in the TestComplete Project Explorer panel and select Edit - Properties from the context menu. This will open the TestComplete project editor in the Workspace panel and display the Properties page.
• Select the “Open Applications – MSAA” group on the left of the page. Then TestComplete will display a list of MSAA properties on the right. Note, this list contains windows class names and their properties that will be exposed by the use of TestComplete’s MSAA engine.
• Choose the check box related to the asterisk (*) class name:



This allows TestComplete to use the MSAA engine to expose methods and properties of any existing window.
Subsequent to configure the MSAA engine so that it exposes any window, the form is displayed in the objects tree as the object named “pane”. You can script required InfoPath test scenario by exploring the needed form controls and its properties.

Comments

0 Responses to "Configure TestComplete project to access the InfoPath form’s"

Post a Comment