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
35
Getting "Object doesn't support this action/property" with XamDataGrid
posted

I've just downloaded TestAdvantage for WPF 11.1 Trial version, and try running it with QTP for testing our app developed with NetAdvantage 10.3.

I'm trying to test the XamDataGrid object. QTP Object Spy is able to identify the XamDataGrid object, however none of the method or property of XamDataGrid works for me and throwing error "Object doesn't support this action" or "Object doesn't support this property".

For example, here is the scripts I ran:

'Trying to get the cell data of the Institution field on the 3rd line of the XamDataGrid

strCellValue = Window("Synergy Desktop Manager").Window("Hitlist View").WinObject("AfxFrameOrView100").WpfWindow("Results:").XamDataGrid("XamDataGrid").GetCellData ("{2}[Institution]")

msgbox strCellValue

Getting error "Object doesn't support this action"

Here is some info about my system:

- I am running QTP 11.0 on Windows Server 2008R2 64 bit.

- My app is a 32-bit WPF app developed with NetAdvantage 10.3.

- I've applied all the required QTP patches,  QTP_00699, QTPNET_00113 and QTPNET_00114. Here is something wierd, although I've applied the patch 00114, and it stated the patch had been successfully installed, however patch 00114 is NOT listed in the applied QTP patches in QTP Product Information page, while the other 2 patches are listed.

Could you please shed some light on my issue?

 

 

 

  • 0
    Offline posted

    I would appreciate it if you could put some light on my problem.

  • 0
    Offline posted

    I've just downloaded TestAdvantage for WPF 11.1 Trial version

    phrazle

  • 22852
    Offline posted

    Hello,

    The volume of TestAdvantage needs to match the volume of NetAdvantage so for NetAdvantage for WPF 2010 Volume 3 you would need TestAdvantage for WPF 2010 Volume 3.  There is a trial available on the downloads page.

    Let me know if you have any questions with this matter.