Known Issues - .NET Windows Forms
Test objects
-
Grid controls in the Card View mode are not supported.
-
Changing the format of a DateTimePicker control during a test run or between record and run sessions (for example, from "Long Date" to "Time") will cause the test run to fail.
-
Combo box objects of style Simple ComboBox are not supported.
-
Since the technology support for MSAA (Microsoft Active Accessibility) applications is operating-system sensitive, UFT One test objects on the Windows 10 anniversary operating system may be different from other Windows operating systems.
DevExpress controls
RibbonControl, NavBarControl, and XtraTreeList objects |
When working with DevExpress RibbonControl, NavBarControl, and XtraTreeList objects UFT One identifies object properties as null. Therefore, both spying and adding checkpoints on DevExpress controls may cause your test to run unexpectedly. Relevant method and properties include:
|
SwfScrollbar object |
You can record and run steps on a DevExpress scroll bar only within the following controls: Data Grid, Vertical Grid, Pivot Grid, Spreadsheet, Layout, editor controls In addition, UFT One might not support a DevExpress scroll bar object if it has an Auto-Hide property. |
AddToSelection operation |
The following issue may occur in DevExpress version 19.2 or earlier: When recording AddCellToSelection or AddRowToSelection operation on a Vertical Grid object, a DeselectCell or DeselectRow operation is recorded, respectively. Workaround: Delete the steps containing the DeselectCell or DeselectRow operation after the recording is finished. |
Test object methods
If you call the Back method for a Microsoft DataGrid control on a table that does not have a parent row, no operation is performed when the statement runs, and no error message is displayed.
Recording
-
Navigating in grid controls using keyboard keys (for example, to select cells, rows, and so on) may not be recorded correctly.
Workaround: Use the mouse to navigate in the grid control.
-
If a window in the tested application has an opacity property value not equal to 100% (that is, the form is completely or partially transparent), the Active Screen captures the image displayed below the form, and not the transparent window.
-
Operations on a grid cell that was selected before you started recording on the grid control may be recorded incorrectly. For example, a child cell element operation may be recorded instead of the parent grid operation (for example, SetCellData).
Workaround: Before performing operations on a cell that is already selected, begin recording, move the focus to another cell, select the required cell, and then perform the required operation.
When recording steps using low-level recording, default description properties for WinObject and Window objects do not have constant values. This may lead to different description property values during a run session, which causes steps on these objects to fail.
Workaround:
-
Window test objects. Before recording, remove the regexpwndclass property from the list of mandatory, assistive, and Smart description properties using the Object identification dialog box.
-
WinObject test objects. Do the following:
-
Before recording, remove the window id property from the list of mandatory, assistive, and Smart description properties using the Object identification dialog box.
-
After recording, change the regexpwndclass property value to a regular expression for each WinObject test object in the object repository, and edit the property value to remove everything except for the control type,
For example, change WindowsForms10.BUTTON.app3 to .*BUTTON.*
-
Checkpoints
.NET Windows Forms table checkpoints and output value steps can be created only for objects that UFT One recognizes as SwfTable objects. UFT One does not treat SwfPropertyGrid test objects as table objects.