Hello,
In HP's Unified Functional Testing, I am automating a test that interacts with an SwfTreeView Infragistics object, of type UltraWinTree. I am having great difficulty with getting UFT to run playback on this object. When I record an action on the UltraWinTree, the line "\\ObjectPath.ActivateNode "\ 1"" is recorded, no matter which node I select in the tree. Aside from this, I have been digging through the forums to identify how to select a particular node in the tree, and most of what I have found directs me to identify the correct node index, and then use this for UFT to point to the right node. This has not been possible thus far, because I am unable to identify the right path to a given node, other than with the information "\ 1", which will always point to the first node when I playback (despite UFT recording this for every node I select).
Once again I suspect that this is because in my assembly files for Test Automation for WinForms 2014.1, I do not possess the .dll for UltraWinTree. If the solution to this problem is indeed another installation package, then I would also need to be sure that it contains a .dll for UltraWinGrid, as I previously had issues with that Infragistics control (and the solution Infragistics support provided me with was a new installation package).
Thank you for any assistance,
Joseph
Hi Joseph,To investigate more on this case, I just wanted to know if you have the right version and build which is TA.QTP.Nightly_14.1.20141.2005. This is a re-release build of the version and not a patch. So this will have everything from the initial release and any added bug fixes until this release.
Thanks,Josheela
Josheela,
Thank you for attending to my issue. I looked into the files that I have for Infragistics, and it looks like I have version 14.1.20141.2005 for Test Automation. I saw this exact entry in the properties of the .exe for Version Utility. I should add that I saw no mention of "Nightly" though.
Thanks,Joseph
You have the correct build.
Since you are seeing the actions recorded the same on all nodes , I strongly doubt whether you have the SwfConfigfile configured right. You can go through this blog post to make sure if you have everything configured properly, http://www.infragistics.com/community/blogs/miketechspeak/archive/2016/06/07/about-the-swfconfig-file.aspx.
Also to assure your settings , you can open and run the sample scripts which gets installed under Public Documents.
Please let me know if you need anymore assistance on this case.
Josheela
Today I looked into the SwfConfig files for Infragistics, both for Version Free and CLR 4.0 and nothing looked out of order. Even under the specific entries for SwfTreeView everything looked okay by what I saw in the link you posted. I also ran the sample application in Public Documents and everything was recorded precisely (the node "levels" had specific names) with regard to node selection/interaction. I am not sure why it runs fine with this application and not my AUT.
Thank you for your continued attention to this issue.
Each volume release of Windows Forms Test Automation for HP (Unified Functional Testing) software maps directly to the corresponding release of Infragistics Windows Forms. Therefore, Windows Forms Test Automation for HP (Unified Functional Testing) software 2014 Volume 1 is supported to work only with Infragistics Windows Forms 2014 Volume 1.So, can you please make sure if your AUT is referencing the 2014.1 dlls.