Ask a Question

TC cannot expose the objects of a chromium embedded within a WPF .Net program

SOLVED
mramirezb
New Contributor

TC cannot expose the objects of a chromium embedded within a WPF .Net program

Hello everybody,

 

We have a program developed in WPF .Net (Program A), this program in one of its windows has a button that when clicked opens a new WPF .Net program (Program B) that contains "chromium embedded", When the button is clicked invokes the execution of a new process (Program B) that It is located in a different path where the main .Net program is installed (Program A).

 

Programs:

Program A in Red, Program B in Orange.

chromium_embedded.png

 

Process

2process.png

 

Object Browser:

ObjectBrowser.png

 

When the (Program B) is opened, TC cannot recognize its objects, I think that this happens because it is not TC that executes that process. Please see the attached images where I share my settings.

 

 

Settings:

Extensions

Extensions.png

 

TestedApps

TestedApps.png

 

 

Note: If TC executes the second program (Program B) by TestedApps, TC recognizes all the buttons without problem, but the correct functional test is that after executing the (Program A), the second (Program B) must be opened through the button that is in the (Program A) (see the first attached image).

 

Any ideas?

 

Regards! 😃

3 REPLIES 3
Marsha_R
Champion Level 2

Have you tried directly name mapping those objects when they are embedded?  Perhaps they have a different object name when they are accessed that way.

Hi , I can't do that because TC doesn't detect any object inside.

 

Regards.

I suggest contacting Support directly.  Here's their link:

https://support.smartbear.com/testcomplete/message

cancel
Showing results for 
Search instead for 
Did you mean: