05-17-2012, 04:48 PM
Hi,
I am getting the below error while using the Automation Pattern property to access the WPFmenu object,
Code :
Error : Object required: 'Window().WpfWindow().WpfList()..AutomationPattern(..).GetSelection()'
The above code is very inconsistent, sometime it works and most of the time it shows the above error.
I am using the below Add-Ins while executing the above code,
Web
.Net
WPF
Java
Is anyone faced this kind of issue? Your help on this will be highly appreciated.
Regards,
Dinesh
I am getting the below error while using the Automation Pattern property to access the WPFmenu object,
Code :
Code:
Window().WpfWindow().WpfList().AutomationPattern("Selection").GetSelection.GetValue(0)
Error : Object required: 'Window().WpfWindow().WpfList()..AutomationPattern(..).GetSelection()'
The above code is very inconsistent, sometime it works and most of the time it shows the above error.
I am using the below Add-Ins while executing the above code,
Web
.Net
WPF
Java
Is anyone faced this kind of issue? Your help on this will be highly appreciated.
Regards,
Dinesh