Hello,
I am using RFT v8.0 with TestAdvantage 2008v3 (our app is using NetAdvantage 2008v3). When I record scripts or add Infragistics objects to an object map, I am expecting objects with Infragistics class types to be created. For example, I record a script against an UltraExplorerBar and expect an UltraExplorerBarTestObject to be created in the script's helper file and ready for use in the RFT script itself. Instead of getting an UltraExplorerBarTestObject, I'm getting a GuiTestObject. I have tried this on any Infragistics objects I can find in my app and all are creating GuiTestObjects or TextGuiSubitemTestObjects (RFT native test objects).
I have run the Version Utility to verify I have the correct version installed and enabled and have rebooted my machine and RFT many times :). I have also verified that all jars, dlls, xmls, rftcust, etc are located in the RFT customization folder. I have verified that the entries for Infragistics are located in my CustomObjRecProp.rftop file. I previously had 2007v1 installed and RFT 7 and that seemed to be working when we had the corresponding NetAdvantage on the app.
I also have a collegue here who has the same versions installed and his is behaving the same way. Am I expecting the wrong behavior or is something wrong?
Thanks in advance!
Jenny
Hello Jenny,
First I’d like to thank you for the highly informative post, I wish all questions are like it ?. You seem to have all the right configuration and you are right in your assumption about the test object mapping for Infragistics controls. Are you trying this in Visual Studio or in Eclipse?
To get a better understanding about the cause of the problem I’d like you to turn on debugging for RFT and send me the debug file. You can turn on debugging by editing the “ivory.properties” this file located in “C:\Program Files\IBM\SDP\FunctionalTester\bin” in any text editor and set the following settings:
Line# 7: rational.test.ft.debug.enabled=trueLine# 12: rational.test.ft.debug.filter=default,1;rational_ft,1;wsw.rftuiplugin,1;native,3
Then restart your machine and try recording on one of the Infragistics controls. Then send me the debug file “c:/ivDebug.txt”
Once I have the debug file I should be able to see why the mapping info are not being applied and will definitely be able to help you setup your system.
Regards,Ammar
Hi Ammar,
As usual, you are very prompt in replying and it is greatly appreciated. I am using the Eclipse platform. I have attached the ivDebug.txt that resulted in changing the settings you mentioned above. That resulted in a very small file, so I have also added to the ivDebug file text resulting from changing the filter levels to 3, just in case.
Thanks!
Jenny,
There is nothing in the debug file that jumps up as a cause of the problem you are running into. Can you verify that the following assemblies are located in the customization folder:
- Infragistics2.RFT.Win.v8.3.dll
- Infragistics2.RFT.Shared.v8.3.dll
- Infragistics2.RFT.UltraWinExplorerBar.v8.3.dll
There is a couple of things I’d like you to try. First I want you try create a new workspace. I worked with a customer a while back who was having strange behavior when trying to use TA on Eclipse and it turns out that for some reason his workspace was corrupted and once he created a new one thngs starts working as expected.Also could you try recording on the sample application of TestAdvantage the exe is located in “C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (IBM) 2008 Vol. 3 CLR 2.0\Samples\TestApplication\Bin”
There is an ExplorerBar control on that form. What do you get when you record on it. Try on other controls as well. I just tried that on a clean machine and things looks good at my end. I was using a VM with XP. Are you using Vista, is UAC enabled, are you an Admin on that machine? It might also be a permission thing so if you are using Vista and UAC is enabled please try running the Eclipse IDE and the tested app as administrator. If you still have the issue after trying all that please send me "Infragistics.rftcust" file located in the customization folder.
Let me know what do you find out.
My apologies for taking so long in responding, I have been on vacation. I created a new workspace and it seems that the objects are being recognized correctly. Thanks for all your help, I really appreciate it!