The Test Automation for Micro Focus Win-Forms (Unified Functional Testing) software 2010 Volume 3 release includes improved support for automated testing of WinGrid™ and WinToolbarsManager™. In addition, beginning with the 10.3 release, Infragistics® provides support for testing applications built using Infragistics version-free assemblies.
The WinToolbarsManager component now includes support for automated testing of the new Office2010 Ribbon and application menu 2010 functionality. A new tbmgrAppMenu2010 constant is added to the QTPToolRegion enumeration to identify this new task-centric view, Application Menu 2010.
Two new recordable and re-playable actions are included:
PerformToolAction - Performs a specified tool action based on the supplied tool. Previously there were 73 different hard coded actions and each action represented the GeneralActionName (Click, DropDown, Set, and Select), the ToolRegion (Menu, Toolbar, QAT, ApplicationMenu, Ribbon, MiniToolbar, tabItem, NavToolbar and NavMenu) and the ActionQualifier (Font, Combo, ColorPicker, TextBox and MaskedEdit).
Now the single PerformToolAction replaces the 73 different recorded actions. You can just use the PerformToolAction with the required parameters. For the tool region and tool action parameters pass in the QTPToolRegion and QTPToolAction enumeration values. The old actions will still replay for existing scripts.
RibbonApplicationMenuCloseUp - Closes the ribbon’s application menu.
The existing RibbonApplicationMenuDropDown action is available for both standard application menus as well as application 2010 menus.
The WinGrid control now includes an increased support for testing the appearance properties of WinGrid™ rows and cells, with two new actions that you can replay:
GetRowAppearance – Returns for a specified row the requested appearance property.
GetCellAppearance – Returns for the cell at a specified row and column position the requested appearance property.
Both of these actions take advantage of a new QTPAppearanceProperty enumeration that lets you request the current value of any Appearance property.
Starting with the release of 2010 Volume 3, Infragistics provides version-free Windows Forms Test Automation assemblies that are compatible with the version free assemblies of Ultimate UI for Windows Forms. These assemblies are required only if you are testing an application that is built with the Infragistics version-free assemblies. To learn more about deploying these assemblies, please read the Version-Free Assembly Names topic.