Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ToolkitPro and "UI Automation" interface
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ToolkitPro and "UI Automation" interface

 Post Reply Post Reply
Author
Message
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Topic: ToolkitPro and "UI Automation" interface
    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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.