12-06-2010, 05:34 PM
Hello!
QTP 11.0 cannot identify WPF-objects, i.e. DataGrid and Combox (inside of datagrid row).
Object Spy see only this:
When I record the test, later QTP cannot Run it because QTP doesn’t see any object.
IE was launched after QTP.
QTP 11.0, .NET FW 4.0, WPF-browser-application, Internet Explorer 8.0, Windows XP Add-ins, that I plugged-in - .NET+Web+WPF+Silverlight
QTP 11.0 cannot identify WPF-objects, i.e. DataGrid and Combox (inside of datagrid row).
Object Spy see only this:
Code:
Browser("Navigator").WinObject("DocObject_Top_Class").WpfWindow("WpfWindow").WpfObject("PART_Grid")
When I record the test, later QTP cannot Run it because QTP doesn’t see any object.
Code:
Browser("Navigator").WinObject("DocObject_Top_Class").WpfWindow("WpfWindow").WpfObject("PART_Grid").ActivateCell 0,"Ois.Plus.Ted.ViewModel.ColumnViewModel"
Browser("Navigator").WinObject("DocObject_Top_Class").WpfWindow("WpfWindow").WpfObject("PART_Grid").Click 81,42
Browser("Navigator").WinObject("DocObject_Top_Class").WpfWindow("WpfWindow").WpfObject("PART_Grid").SelectCell 0,"Ois.Plus.Ted.ViewModel.ColumnViewModel"
Browser("Navigator").WinObject("DocObject_Top_Class").WpfWindow("WpfWindow").WpfObject("PART_Grid").ActivateCell 0,"Ois.Plus.Ted.ViewModel.ColumnViewModel"
IE was launched after QTP.
QTP 11.0, .NET FW 4.0, WPF-browser-application, Internet Explorer 8.0, Windows XP Add-ins, that I plugged-in - .NET+Web+WPF+Silverlight