Forum Discussion

alan-mullin's avatar
alan-mullin
Occasional Contributor
5 years ago
Solved

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...
  • tristaanogre's avatar
    5 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.