alan-mullin
6 years agoOccasional Contributor
Testing with a dynamic built menu structure
Our product is an application, using Electron, that builds its menu at runtime based on what items are installed / mounted. I have three manuals installed, and the structure looks like, with subo...
- 6 years ago
I think, for easy of testing and constructing the mapping structure, it would be best to have them all installed for your automations. That just makes sure that the application isn't dynamically changing all over the place.
However, it is not impossible to mount and unmount during the tests. Just that it will take a lot more code and development time to handle. You'll end up NOT mapping those menu structures/manuals and using Find, FindChild and similar methods for locacting and identifying your objects.