Forum Discussion

sujatha_babu's avatar
sujatha_babu
Contributor
12 years ago

WPF Window

I am using Test Complete 9.30, when i do Script recording - When i try to create LLP using  Windows Co ordinates. Window name is not captured correctly.



Instead of

(Sys["Process"]("002")["WPFObject"]("HwndSource: MainWindow", "Funnel Chart Demo"));

It shows as

Sys["Process"]("002")["Window"]("HwndWrapper[002.exe;;7e0e5dea-be12-4623-a654-78f80a3de01d]", "Funnel Chart Demo", 1)



Please provide suggestion to slove this issue.



Regards,

Sujatha B

17 Replies

  • rdeters's avatar
    rdeters
    New Contributor
    I have test complete 9.20 and I am seeing the same issue with HwndWrapper
  • trbpub's avatar
    trbpub
    New Contributor
    I'm having the same issue.


    • Test Complete 8.2


    • Testing a 32 bit .Net 4.0 WPF application


    • .Net 3.5, 4.0, & 4.5 all installed on the system


    • Works fine as long as .Net 4.5 isn't installed


    • The sample Orders application works fine


    Is there anyway to get it working without upgrading TestComplete and/or uninstalling .Net 4.5?



  • Hi Todd,

     


    .NET Framework 4.5 installs some updates to v.4.0. That's why, TestComplete stops recognizing your app.


    The only way to proceed is to uninstall v. 4.5 or install the new TestComplete version.