Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Help Required urgently-QTP with Infragistics Control
posted

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.

Parents
  • 7695
    Offline posted

    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.

Reply Children