Forum Discussion

RadGuru's avatar
RadGuru
Occasional Contributor
2 years ago
Solved

TestComplete not recognizing Angular objects

I am working on Desktop application. TestComplete is not able to recognize the object written in Angular. Below is the object name of page

Sys.Process("ABC").WPFObject("HwndSource: MainWindow", "XYZ").Window("Static", "", 1).Window("Chrome_WidgetWin_0", "", 1).Window("Chrome_WidgetWin_1", "My Dashboard - Chromium", 1).Window("Chrome_RenderWidgetHostHWND", "Chrome Legacy Window", 1)

 

  • Have you reviewed the docs on working with WPFObject's [here] and requirements [here]? Is this object name pulled from your Object Browser or Spy Tool in TestComplete?

5 Replies

  • Kitt's avatar
    Kitt
    Regular Contributor

    Have you reviewed the docs on working with WPFObject's [here] and requirements [here]? Is this object name pulled from your Object Browser or Spy Tool in TestComplete?

    • RadGuru's avatar
      RadGuru
      Occasional Contributor

      This object name is pulled from Spy Tool in TestComplete

      • Kitt's avatar
        Kitt
        Regular Contributor

        And if you perform a Record Script test, does TC generate the same object reference and can you re-run the recorded test?