I need to automate one of our applications iwth QTP 10. The application uses infragistics control and .NET 4 Framework
I am facing the below issues :
1. Objects get added in the OR as wpf objects by manually adding through the OR. But when the same objects are identified from the application, they fail to get recognise (On highlighting the objects in the app). Hence when the script is run it fails.
2. Similar objects get overwritten, when added in the OR.Ex, if there are 2 edit boxes, then the 2nd overwrites the 1st one.
3. Sometimes the objects get recorded, but the events are recorded as Clicks of the Mouse.
We are using test Advantage with Version set as Disabled. We have also tried with 11.1 CLR3.0 and 11.1 CLR 4.0
Can someone pls suggest some solution as we are completeley struck.
Hi,
Let's start off with what version of NetAdvantage are the controls that you are attempting to automate? The version of TestAdvantage must match the version of NetAdvantage dll's that your application is using, both major, minor and CLR. So if your application is using NetAdvantage 11(major).1(minor) CLR4. I would assume since you were attempting to use TestAdvantage 11.1 that your NetAdvantage is that as well, but if it wasn't than that would be a reason why it would not identify the objects. Next, QTP 10 has major limitations on it's support of WPF controls, I would recommend upgrading to QTP 11. Two major known issues are, QTP 10 does not support CLR4, nor does it support 64 bit processes. QTP 11 only supports those with patches, and only in Windows 7, and Win Server 2008R2. I would suggest either using ProcessExplorer on your application under test (AUT) or asking your developer what version of NetAdvantage is used in your application and what CLR the application is running as.
Thanks Michael,
From where can i download Test Advantage 11.1 CLR2.0
We have Test Advantage 11.1 CLR 2.0 Winforms. Will that work?
We have .Netframework 4.0 and application has Netadvantage has 11.1 CLR 2.0 .
We have tried with Test advantage 11.1 Clr Winforms 2.0. Do we need to use Test Advantage 11.1 WPF plugins. If yes, can we get a link from where we can download this plugin.
Also, inspite of using Test Advantage 11.1 CLR Winforms , we are still facing the same issues. The objects get recorded in the OR, but similar objects get overwritten.Also, once recorded, they do not get highlighted in the application.
Pls help, appreciate.
Hello RBS,
To download TestAdvantage for WPF 11.1 I have provided a link in case CAS-97074-QTWBTG and can be found in the support activity page.
Hi, We are still struggling to get the link for Test advantage WPF 11.1.
If someoen can provide us the link for download, that would be highly appreciable.
Also, can someone share Extensibility Accelerator for QTP 10.
Hello RBS RBS,
Were you able to get a download of TestAdvantage for WPF 11.1? Let us know if you need the download link and if I can be of any further assistance.
You said the objects were identifying as WPFObjects, in which case you are at some point in your application using WPF technology, as such you will need TestAdvantage for WPF, which is a separate product from TestAdvantage for WinForms. From the website by default you can get the most recent version of the product for evaluation purposes which is 12.1. To get an older version for evaluation purposes you will need to contact our sales department.