Matlab AppDesigner CEF-based application integration
We have been working on trying to get a Matlab AppDesigner-based application working with TestComplete Object Spy.
Background
Upon researching TestComplete CEF-related errors, we built a simple Electron application and verified proper functionality with Object Spy when passing the '-cdpAutoSetPort' command-line parameter.
For Matlab AppDesigner, this did not work and results in an error when launching. However, we found if we set environmental variable 'MW_CEF_STARTUP_OPTIONS' to '--disable-gpu --remote-debug-mode --remote-debugging-port=9222', we're able to get to the DevTools via web browser.
Problem:
It appears like we've successfully enabled the CDP for our application, but ObjectSpy still cannot access the controls.
How does TestComplete know which port we've enabled the tools on? ... is there a way to specify without the 'cdpAutoSetPort' command-line parameter?
Does the process tree attached give you any clues as to what is missing?
I heard back from SmartBear Customer care today.
The key was to make sure you have checked "*" from MSAA options
- Goto Tools > "Current Project Properties"
- Select "Open Applications" > "MSAA"
- Add a checkmark the the "*" entry at the top, which is unchecked by default
ā