Ask a Question

Electron application Object Browser shows only generic "Panel" objects in tree

jmoe
Occasional Contributor

Electron application Object Browser shows only generic "Panel" objects in tree

I've worked a lot with TestComplete on Java/JavaFX desktop apps.  This is my first encounter with Electron.  It does not seem correct that 99%+ of the objects are generic Panels.  There are very few other object types such as a "Select" or "Textbox."   It seems like there must be a configuration missing.  I have the extensions

- Chromium Embedded Framework Support and Web Testing both enabled.  Am I missing something?  TIA.

8 REPLIES 8
Marsha_R
Community Hero

Re: Electron application Object Browser shows only generic "Panel" objects in tree

Have you been through all these requirements?

https://support.smartbear.com/testcomplete/docs/app-testing/web/electron/about.html


Marsha_R
[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
jmoe
Occasional Contributor

Re: Electron application Object Browser shows only generic "Panel" objects in tree

Thanks for the quick reply.  Yes, all requirements met.  Please see attached for an example of my object tree.  TC finds the objects through Object Spy (red-highlights individual objects).  But as mentioned, all (almost all) are id'd as Panel objects.  Very limiting for identification and useful methods/functions.

jmoe
Occasional Contributor

Re: Electron application Object Browser shows only generic "Panel" objects in tree

OK...update.  It looks like we're using an ancient version of Electron - 1.6.  Good grief.  I see TC starts support at 1.8.2.  LOL.  Maybe that's it.

Marsha_R
Community Hero

Re: Electron application Object Browser shows only generic "Panel" objects in tree

What version of TestComplete and Electron are you using?

 

 


Marsha_R
[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
jmoe
Occasional Contributor

Re: Electron application Object Browser shows only generic "Panel" objects in tree

TC 14.81 and Electron 1.6 (noted in post above).

Marsha_R
Community Hero

Re: Electron application Object Browser shows only generic "Panel" objects in tree

(Thanks for the info.  Note that we can't always see secondary posts while we are answering ones above it.)


Marsha_R
[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
jmoe
Occasional Contributor

Re: Electron application Object Browser shows only generic "Panel" objects in tree

Sure, of course 🙂 

Any chance there's a workaround for an older Electron version?  Trying to get approval on a newer version of Electron may take us a looong time LOL.

Marsha_R
Community Hero

Re: Electron application Object Browser shows only generic "Panel" objects in tree

Best thing to do is ask Support about that directly.  Here's a link:

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


Marsha_R
[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: