Hi,
Our software is written using Infragistics Windows Forms 13.1.20131.2015. I'm currently trialling HP UFT v12.52. I installed Test Advantage 2013 Volume 1 but it doesn't appear as a selectable option in the UFT Add-In Manager. I get the impression that "Infragistics" should appear as an additional checkbox below the .NET checkbox. Is that correct?
When attempting to use the Object Spy on an Infragistic Tree control, the behavior is the same as before I installed TA 2013.1 which is that the container is recognized but none of the items within it are.
Could you offer a suggestion as to what I could try in order to activate the Infragistics Add-In please?
Thank you,
Jason.
Hello Jason,
Thank you for posting in our forum.
First to answer your first question – no Infragistics Test Automation will not show in Add-in Manager of HP UFT.
Regarding your second question - can you please give me some more information about your scenario:
Did you install HP UFT before Infragistics TA 13.1? If not try to uninstall both HP UFT and TA 13.1. Then install HP UFT. Start it at least once. Then install TA 13.1;
It seems that you are using versioned libraries of Infragistics Controls in your application. Can you please check if the correct version is chosen in TestAdvantage Version Utility? It should be 13.1CLR4.0. If not choose the correct version, restart HP UFT and try to record some scripts. Let me know what the result is.
Are you able to run the sample scripts provided with the installation of TA 13.1? You can find these samples in “C:\Users\Public\Documents\TestAdvantage for Windows Froms (HP) 2013.1\Samples\CLR4.0\Scripts”. Please try to run the “WinTree Cell Editing Demo” script, for example, and let me know what the result is.
What is the environment you are performing your tests? What is the operating system; is this some remote desktop location or this is local computer.
Looking forward to your reply.
Thank you for using Infragistics Controls.
Hi Milko,
Thank you for your detailed response. Please find answers to your questions below:
Object doesn't support this property or method: 'SwfWindow(...).SwfTreeView(...).SetFocus'
Line (28): "SwfWindow("UltraTree Cell Editing").SwfTreeView("ultraTree1").SetFocus".
Thanks again and regards,
Thank you for your feedback.
From the information you gave me it seems that your installation could be corrupted somehow. Can you please send me a copy of your SwfConfig.xml file? You can find this file in dat folder of HP UFT installation location. By default this is in “C:\Program Files (x86)\HP\Unified Functional Testing\dat”.
Hi Milko.
Please find attached a copy of my SwfConfig.xml file.
Regards,
Hi Jason, I am assuming that you either you or our system put the .txt on the end of the file after you copied from the “C:\Program Files (x86)\HP\Unified Functional Testing\dat” directory, so that you could post it. It is setup for 13.1 CLR 4 versioned assemblies. Our TestAdvantage assemblies that it is looking for should be located here: "C:\Program Files (x86)\Infragistics\TestAdvantage for Windows Forms (HP) 2013.1\CLR4.0\Bin\", if so then the file is fine. So when testing on the installed samples those are the version of the samples you would test against, similarly that would be the version of dll's in your application to test against. We go into more detail of how to identify what version you need for what you are testing against in a webinar here, included is a skip to 13:21 where we go into detail about that.https://www.youtube.com/watch?v=j-_dQHVSt2U&t=13m21sWith you using UFT 12.52, the only environment issue that could be a factor is with earlier versions of Citrix. If that isn't the case then you should be fine. You mentioned two things, and I want to confirm the order of them. One was that the ObjectSpy detects the boundary of the TreeView, that is expected. It will not identify the individual items via ObjectSpy. The object spy only highlights the boundaries of full controls, tree view items are not controls. You would need to record actions against them or code to check values for them. You received a message of Run Error at 28, object doesn't support this property or method. Was that before or after selecting the correct version from the version utility, and did you test against the like version of samples. Both are installed as your developers can develop with either. Hope this helps,