I am using the QTP 11.0 for WPF application I have installed with all required patches and QTP is able to identify the usual WPF components like WPFcombobox, WPFEdit etc. But When I am a trying to use the below action it gave me the error "Object Doesn't Support this Action"
WpfWindow("TEST Application)").XamComboEditor("Search client by name").SelectItem "Test Client"
QTP is successfully identifying the another components like
WpfWindow("TEST Application").WpfComboBox("cboClient").Select(2)
But it is giving the error for XamComboEditor.
Please Help!!!
Hello Nikhil,
Thank you for your post. I have been looking into your description and I will need some clarification on your scenario. Would you please provide me with the following information so I will be able to provide you with more accurate assistance on the matter:
1. Your operating system and processor (x86 or x64)
2. The QTP version that you are using
3. The patches that you have installed and the order in which they are installed (if possible a screenshot of the View Installed Updates on the Programs and Features of the Control panel)
4. Is the TestAdvantage installed after the QTP and the patches are installed and the QTP was started.
5. The layout of the application and if possible, the application itself, in order to be able to reproduce the issue and investigate what might be the reason for it, more accurately.
Looking forward to hearing from you.
Hi Stefen,
Answer to your questions:
1. operating system is windows XP and processor 3.07 GB
2. The QTP version = 11.0
I have installed patches in order as TestAdavantage for WPF, QTP 709 and QTP 113
- Sorry I don't have access to the Control Panel
4. Is the TestAdvantage installed after the QTP and the patches are installed and the QTP was started. - Yes
5. The application is confidential so i can describe how it.
I have form on the which first field is XamComboEditor when I manually enter some value in it, it searches the client name and display a list.
I can able use the click method but not the SetText or GetItem method.
e.g.I can use WpfWindow("mainwindow").XamComboEditor("Client").Click
but not WpfWindow("mainwindow").XamComboEditor("Client").SetText or WpfWindow("mainwindow").XamComboEditor("Client").GetItem(0)
- Nikhil
I have been looking into the information you gave us and I can say that you should have SP 3 installed on your XP OS. Also you should install the following HP Patches: QTPNET_00114, QTPNET_00116. If your OS is x64 you should install HP Patch: QTP_00699. It will be great if you could check if the versions of TestAdvantage and NetAdvantage you use are the same and if the VersionUtility is set correctly according to the assemblies that your application uses.
Please let me know if the issue is still appearing after following those steps.
Looking forward for your reply.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hi Nikhil,
I am facing a similar issue when it comes to recognising the XAM objects.QTP is recognising all swf and wpf objects except for XAM objects.
TA version am using is 13.1 CLR4.0
Net Advantage 2007 Vol3.0 CLR 2.0
OS details:
win 7 SP1- 64 bit
QTP 11
Thanks,
Sneha