ToolkitPro and "UI Automation" interface |
Post Reply |
Author | |
farr02
Groupie Joined: 10 May 2005 Status: Offline Points: 51 |
Post Options
Thanks(0)
Posted: 01 July 2009 at 10:06am |
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) 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). 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). 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) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |