Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Unable to expand WPF tree using UFT 12.02
posted

Hi,

1) Type of AUT (application under test):
      Desktop
  2) Technology:
      .Net, WPF
  3) UFT version
     UFT 12.02
  4) UFT Add-Ins used
   .NET, Web,WPF,12.1 Test advantage CLR4
  
  5) Problem:

  QTP is unable of identifying objects;Am currently tring to automate a wpf tree object.


I need to click on the child item of WPF tree node, for that first i need to expand the parent tree but am not able to perform it.

Tried with following codes and we are not able to select either parent or child node

WpfWindow("XX").WpfTreeView("XXX"). Select "XXXX"
WpfWindow("XX").WpfTreeView("XXX").Expand ("XXXX")
WpfWindow("XX").WpfTreeView("XXX").ExpandAll

Could you please help on this

Parents
No Data
Reply
  • 1935
    posted

    Hello SRINIVASAN Ayyaru,

    By looking at the code snippet that you have provided, it seems that you are recording over a Microsoft TreeView control. Infragistics Test Automation for HP/UFT for WPF product only supports the recording and replaying over the Infragistics WPF controls.

    Please let me know if I have misunderstood you or if you have any other questions.

Children