Forum Discussion
Hi,
Before addressing the query few additional details are needed.
1. Is it a WPF cefsharp application?
2. What is the version of the testcomplete you are using.
Did you try preparing the CEF based application link mentioned in the smartbear portal? Meanwhile you can go through the below mentioned links and inform about the outcome
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/cef.html
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cef-support.html
I am working on a CEF based application using testcomplete 11.31 and so far with the links provided above and with a few workarounds able to automate the application
- santoshthenge8 years agoOccasional Contributor
Hello Sanjay
Thank you for reply.
1.We are lunching cef application from from Winform application.
2. I am using testComplete 12
I have gone through both processes
1. Hook the application by commnad line parameter
2. Manually the instrument of cef application
Please refer below image cefsharp.browserprocess.exe is not identify testcomplete 12
Please refer below image for where web page is lunched by cef application
- sanjay02888 years agoFrequent Contributor
santoshthenge wrote:
Hello Sanjay
Thank you for reply.
1.We are lunching cef application from from Winform application.
2. I am using testComplete 12
I have gone through both processes
1. Hook the application by commnad line parameter
2. Manually the instrument of cef application
Please refer below image for where web page is lunched by cef application
Hello Santosh,
If I understand correct you are having a Winform process through which the CEF based application will be invoked? In that case I am afraid that the objects will not get recognized in this scenario. In order to get accessibility to CEF based applications you have to add the CEF application under "Tested Apps" and launch that application through test complete.
The only possible solution what I am seeing here is if you have access to your developers ask them to inject cefhook code as mentioned in Smartbear link provided earlier while building the application exe and provide the build.
- sanjay02888 years agoFrequent Contributor
Also we need a screenshot of the object browser of your cef application with the tree items expanded along with the screenshot of object spy in advanced view mode
- tristaanogre8 years agoEsteemed Contributor
ACTUALLY... if you take a look at your first screenshot, I see "iMed". That's your application, correct? Have you examined the child objects of your application to see if the specific CEF stuff is showing up within that tree?
The reason I ask is that the browsersubprocess is probably considered a "system process". And, based upon your screenshots, you are filtering out system processes from the object browser.
Have you tried using the Object Spy tool on your page and seeing how those objects are recognized by TestComplete? That may also give indication of how to use it within the tool.
Related Content
- 8 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago