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
105
Problems with WinGrid (using QTP 9.5)
posted

Hi
I am evaluating whether a .Net/infragistics application
is suitable for QTP automation.
I have .Net addin for QTP(9.5) and also TestAdvantage add-in from Infragistics (which btw. works pretty good for another .Net/Infrag. application I have automated)

But in this case QTP is not able to see a so called WinGrid (When trying to record it either crashes or hangs with cpu usage going up to 100% usually requiring pc reboot)

If using Object Spy on this wingrid it shows a hierarchy of WpfObjects (which i guess means that qtp cant recognise the objects). The objects in the hierarchy are shown in table below with some properties. I have tried a bit to do some DP scripting on these objects but seem to be getting nowhere.
Anyone has any experience with this? Or any other input?

Object hierarchy seen in Object Spy
                          classname               devname          devnamepath
WpfWindow
WpfObject       InfoGrid                      InfoGrid            InfoGrid;;
WpfObject      GroupBox                                              ;InfoGrid;;
WpfObject      ContractGrid              ContractGrid ContractGrid;InfoGrid;;
WpfObject      RecordListControl                               ;ContractGrid;InfoGrid;;

Regards
Mattias

  • 6729
    Suggested Answer
    Offline posted

    Hi Mattias,

    It looks like your new application is using our WPF controls and not our Windows Forms control and that is the reason why TestAdvantage is not working for the new application.

    Our current TestAdvantage for HP product only support our Windows Forms control. There is a plan to create another TestAdvantage product to support testing WPF controls but I don't know the time frame for that. Keep your eye on this forums for updates on that.

    Regards,

    Ammar