This topic provides information on the currently known issues and limitations related to Test Automation for Micro Focus WPF Unified Functional Testing. These issues will be addressed in future releases of the product.
This topic contains the following sections:
The table below briefly describes the known issues/limitations of the Test Automation for Micro Focus WPF Unified Functional Testing Volume 21.1 release. Detailed explanations and the possible workarounds are provided for all of the issues in the blocks following the table.
Legend:
– workaround
– no known workaround
– fix planned
Showing a hidden column by selecting its name in the hidden columns menu does not get recorded. It should record a ShowColumn method call.
An example of the hidden column menu affected by this issue is shown below:
There are two workarounds for this issue:
Code the ShowColumn method call by hand in the script. For example:
Set grid=WpfWindow("MyApp").XamGrid("MyGrid")
grid.ShowColumn "[Company]"
Use the Column Chooser Dialog to show the hidden column. This alternate way of showing the hidden column will record properly. An example of the Column Chooser Dialog is shown below:
Encountering any of the following scenarios will cause the replay operation to fail.
When any of the following settings is empty:
RecordEncapOpen
RecordEncapClose
FieldEncapOpen
FieldEncapClose
When the RecordEncapOpen proxy setting is the same as the FieldEncapOpen setting.
For example, XamDataCards sample uses these proxy settings. If any of the previously stated scenarios and conditions is true, actions using these settings such as ExpandCard , SelectionAdded , ActivateRecord , and ActivateCell will fail.
To ensure successful replay action confirm that any one of the RecordEncapOpen, RecordEncapClose, FieldEncapOpen or FieldEncapClose strings is not blank and that the RecordEncapOpen and FieldEncapOpen settings are unique from one another.
Replaying a test on a xamContextMenu control application may be incorrect.
A xamContextMenu Name property value must be set.
When inserting a Standard Checkpoint for verifying grouped xamDataPresenter data, an exception is thrown that the Checkpoint cannot be created because the Table Content section of the Checkpoint displays only flat data (not grouped and hierarchical data).
After grouping the records, expand the group-by record and activate an internal record in that group.
The recording of selected menu or drop-down items of a xamRibbon control may be incorrect. The WpfMenu and/or WpfObject are recorded instead.
Before replaying the test script, remove the incorrect recordings.
Recording a test on a xamTagCloud control application may cause the application to crash due to an issue in the control code. This happens when the tag items are created dynamically by setting the control’s ItemsSource property.
The control bug is fixed in the latest Ultimate UI for WPF Service release so to solve this automation issue you need to upgrade your application to use the latest Infragistics service release build.
When using Test Automation for Micro Focus WPF Unified Functional Testing, the UFT records an additional Click action when recording a Right-Click against Ultimate UI for WPF controls.
During replay, the UFT plays the script as recorded, extraneous Right-Click action and all resulting, in errors and unintended results.
You need to inspect and manually remove all of the extraneous recorded Click actions from your script.
When using Test Automation WPF version-free assemblies with UFT, it may cause an unexpected behavior in UFT preventing you from opening the existing or creating new scripts. This behavior will return with the exception as illustrated in the following screen shot.
Error HRESULT E_FAIL has been returned from a call to a COM component.
With UFT closed, using the Registry Editor (RegEdit.exe) remove every key with Test Automation in its name under the following key:
HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\SettingInfo\AddIn Manager
The following table lists other topics you may find useful.