Ask a Question

TestComplete not recognizing Angular objects

SOLVED
RadGuru
New Contributor

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)

 

5 REPLIES 5
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?

[[ kITt: keep IT testing ]]
RadGuru
New Contributor

This object name is pulled from Spy Tool in TestComplete

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?

[[ kITt: keep IT testing ]]
RadGuru
New Contributor

yes it generate the same object reference and i re-ran the recorded test and it didn't select the object from drop down. Only Click operation is recorded

AlexKaras
Community Hero

Hi,

 

TestComplete is not able to recognize the object written in Angular.

Not that TestComplete does not recognize Angular object, but that it does not recognize embedded browser.

https://support.smartbear.com/testcomplete/docs/app-testing/web/cef/index.html might help.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: