Hi Team,
The applications what we use are upgraded from Net advantage version "10.1.20101.2053" to 10.1.20101.2105.
Since then UFT is stopped recognizing the objects.
Current UFT version :12.2
Net advantage installed:
1) NetAdvantage_Select_20101.exe
2) NetAdvantage_WinForms_20101.2053_SR.exe
Test advantage:
1) TestAdvantage_WinForms_HP_20101.exe
Please advise us how to proceed
Hello Kailash,
Can you please give some more information about this issue, so I can investigate it further:
Can you also send me SwConfig.xml file? This is where TestAdvantage writes its mappings. You can find this file in “dat” subfolder of your HP UFT installation folder.
Looking forward to your reply.
Hi,
Now UFT is not identifying the objects which are developed using infragistics.SwConfig file is pointing to version 10. All the toolbars, combox are identified as SwfObject.
Few examples given below,
Eg: 1
Now :VbWindow("VbWindow").SwfWindow("xxx").SwfObject("cmbType").Click 54,16
Before :SwfWindow("text:=xxx").SwfComboBox("swfname:=cmbCategory").Select 0
Eg 2:
Now: SwfWindow("yyyy").SwfObject("_DefiMainFrm_Toolbars_Dock_Are").Click 81,123
Before: SwfWindow("yyy").SwfToolbar("toolbarsMAP").ClickRibbonTool""
Eg 3:
Now :SwfWindow("ZZZ").SwfObject("_FrmMain_Toolbars_Dock_Area_To").Click 77,8
As we are using the UFT 12.2, unable to load the sample script. So i have recorded few actions on the sample applications and attached . Ans also dll's loaded by UFT are also attached. during the execution. Liet us know how the issue can be resolved.
Added the snapshot
Hello Shilpa,
From the screenshots you attached it seems that you were able to record scripts against our sample application. Also, it seems that your application under test was built with version 10.2 of Infragistics for Windows Forms, and Test Automation version you are using is 10.2. This is correct setup and it should work with no issues.
However, the scripts for version 10.2 of Test Automation was recorded under HP QTP 8.2. All these scripts are not backward compatible and you will not be able to load them in any version of HP UFT. Is this the issue you are facing? If so, there is nothing we can do about this, as this is on HP side.
To be sure that your setup is ok you may try to record some action against our sample application, as you already did, and try to run them.
Please let me know if you have any additional questions on this matter.
All the test suite was working fine before. Issue started when applications what we use are upgraded from Net advantage version "10.1.20101.2053" to 10.1.20101.2105.
Thank you for your feedback.
From your initial post it seems that you are not able to load the sample scripts. Is this your issue? If so, as I wrote you this is a result of the fact that HP UFT cannot read scripts recorded with HP QTP.
If this is not your issue, please let me know what your issue is.
All the toolbars, combobox are identified as SwfObject by UFT