Hello,
we are thinking about using the Microsoft “UI Automation” interface
for GUI testing purpose. Does Toolkit Pro implement the “UI Automation”
interface?
On checking this interface of a MFC dialog using the Codejock
XTPPropertyGrid control (Toolkit Pro 11.2.2 / see dialog screen shot: uploads/20090701_100208_dialog.zip - uploads/20090701_100208_dialog.zip ) we encounter some problems. UISpy, a Microsoft tool for checking the
“UI Automation” interface, is able to detect the control based on a
ListBox control but the names of the single ListBox items are corrupted
(see UISpy screen shot 1: uploads/20090701_100342_uispy-1.zip - uploads/20090701_100342_uispy-1.zip ). We are able to select single list elements
by applying the control pattern (UI Automation method call)
SelectItem::Select but we don’t find the control pattern for activating
editing of a single element. After manually clicking inside a single
ListBox item to activate editing a new “Edit” control shows up in UISpy
(see UISpy screen shot 2: uploads/20090701_100448_uispy-2.zip - uploads/20090701_100448_uispy-2.zip ). On this control we can apply the
Value::SetValue control pattern to set a new value into the “Edit”
control. But the new set value actually never appears in the dialog.
Is it possible to set values inside cells of the XTPProperyGrid via the
“UI automation” interface or are we doing something wrong?
Best regards
Holger
------------- Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit)
Language: Visual C++ 15.0 (Visual Studio 2017)
|