Hi,
We upgraded from QTP 11.0 to UFT 12.02,
now UFT is not selecting tabs in the application which are developed using Infragistics.
SwfWindow("Window_NAME").SwfToolbar("_CABPricerForm_Toolbars_Dock_A").SelectRibbonTab "Tab_NAME" --> this used to select the 'Tab_NAME' in QTP but it is not working in UFT.
Record and Playback not working, no steps are generated when recording steps with UFT.
The version of TEST Advantage is 2010 vol 1.x.
Net Advantage 2010.1.
We have installed the patch of NetAdvantage and TestAdvantage,
Help needed. Let us know if any further information is needed.
Hi Raja,
Thank you for posting in our forums.
I will need some additional information in order to help you resolve this issue. You say that playback and record is not working, is it recording Click methods on SwfObjects or it is not recording anything at all? Does this happen only for the Ribbon or for any action you take? Also what is your OS version?
I am looking forward to hearing from you.
Thanks for the Reply,
Here is the information that you requested for, Click method works on SwfButton, This happens only for Ribbon Tab (toolbar gets recognised properly) only, The OS version used is: Windows 7 Enterprise, SP1. 64-bit. The swfpathname of the application is 'Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea'.
Let me know if more info needed.
Raj
Thank you for the provided information.
Does it give you any errors when the executing SelectRibbonTab or just nothing happens? Also please verify that your SwfConfig file isn’t corrupted. You can do that by following the steps from this forum post:
http://www.infragistics.com/community/forums/p/39883/232844.aspx#232844
I tried the steps in the link provided by you, and i confirm that the swfconfig.xml file is not corrupted.
When i run the code, i get the below error in UFT
IG : [SelectRibbonTab] : Unable to cast object of type 'Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea' to type 'Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea'.
but both objects types as i see are same, aren't they.???
Awaiting your Response,
- Raj
Hi Raj,
This error indicates that two versions of NetAdvatage may be loaded at the same time. This may happen if the application under test has NetAdvantage assemblies locally and you have also installed NetAdvantage on the testing machine. If the two NetAdvantages use different patch of the same version this error may happen. What you can try is to uninstall NetAdvantage and see if this helps.
Please let me know if you have any additional questions.
Thanks for the information, i noticed that there was another version of NetAdvantage (2007 Vol 3.0) installed along with NetAdvantage 2010, i uninstalled the older version i.e., 2007 and recorded the same application and then checked if UFT recognises, magically UFT started recognising the RibbonTab and the 'SelectRibbonTab' started working.
Thanks you for the help and support, Raj.