Forum Discussion

thrilok_nath's avatar
thrilok_nath
Occasional Contributor
14 years ago

WPF objects are not identified by Standard Version of Test Complete

Hi,



      My application is .Net based, WPF objects are identified as Window objects  and even playback is not working on the same. Initially .Net framework Version 4 Extended was not installed but i have installed now, but still it is identifying as Window objects.Please help me on this.



I am using Test Complete 8.0 version



I have a license for Standard Version and would like to know Standard Version doesn't support WPF objects?



Thanks

Thrilok




4 Replies

  • thrilok_nath's avatar
    thrilok_nath
    Occasional Contributor
    WPF Controls Support Plug-in is installed but was not activated, i have activated(Check box ticked) but still it is identifying WPF objects as Window objects.



    I have also copied  "AutomatedQA.TestComplete.WPFControls.MicrosoftControlsSupport" file which was missing.



    Earlier it was identifying as below with Demo version of Test Complete



    Sys.Process("DMS.GUI.test").WPFObject("HwndSource: LoginWindow", "DMS Client test - log in")

     

    Now it is identifying as below with Standard version of Test Complete which is licensed



    Aliases.DMS_GUI_test.Window("HwndWrapper[DefaultDomain;;6195e421-6cdc-4d08-af52-6642c465d871]", "DMS Client test - log in", 1)



    And it is not identifying the objects inside Login window but it is identifying Login Window as a whole



    Please help me if i have to add any more files or do any changes to make this up and running.







    Thanks

    Thrilok
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 1 rankChampion Level 1
    Hi Thrilok,



    I am not sure I have good ideas, but, considering that .Net was installed after TC, I would try to reinstall TC.

    Hope it might help...



    P.S. And before reinstalling (and after, if the below piece of advise does not help), try to go through the complete list of extensions and select all of them that are relevant to .Net (for the test purposes you can try to select just all extensions) - e.g. '.Net Classes Support', 'Open Applications Support', 'UI Automation Support Plug-in'.
  • thrilok_nath's avatar
    thrilok_nath
    Occasional Contributor
    Hi,



      I have copied WPFSupportcontrols xml and Re installed Test Complete. It is identifying WPF objects now thanks for your support.







    Thanks

    Thrilok