TestComplete

Reply
Highlighted
Occasional Contributor

Objects inside chromium web browser that is embedded in WPF control are not getting recogized

Dear Support Team,

 

We are trying to automation an application that has chromium web browser embedded in a WPF control. While all the WPF controls are getting recognized by tool, the controls exists in the embedded chromium browser were not recognized by the test complete (v11.30). Please help us in this regard, and do share the patches required or configuration required in project settings.

 

Ex: Sys.Process("<ProcessName>").WPFObject("HwndSource: mainWindow").WPFObject("mainWindow").WPFObject("mainBorder").WPFObject("Grid", "", 1).WPFObject("MainGrid").WPFObject("contentGrid").WPFObject("navControl").WPFObject("Grid", "", 1).WPFObject("Grid", "", 2).WPFObject("Border", "", 1).WPFObject("content").WPFObject("ReportWebPageView", "", 1).WPFObject("Grid", "", 1).WPFObject("Grid", "", 1).WPFObject("Grid", "", 1).WPFObject("ChromiumWebBrowser", "", 1)

 

Thanks and Regards,

Jayakoti

Community Leader

Re: Objects inside chromium web browser that is embedded in WPF control are not getting recogized

Posts: 4,458
Topics: 39
Kudos: 1,698
Solutions: 337
Registered: ‎11-30-2009

Re: Objects inside chromium web browser that is embedded in WPF control are not getting recogized

To go along with @Marsha_R's post, one item of note in the article she posted is that, in order to test CEF stuff, you need to have a Web license of TestComplete.  Confirm your licensing and make sure you have both Desktop and Web module licenses.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Extensions available
Community Leaders Program
Join us to win gifts
Daily Articles: 1, 2, 3, 4, 5, 6, 7

Program Rules