Have you tried the hovermouse method? In this example below the Parent menu was "Transactions", when you mouse over Transactions you then get a sub menu that drops down below.The sub menu I selected below Transactions was Payments.
TestComplete does not record mouse movements, and it does not record hovering the mouse pointer over controls. In addition to Tony's advice, I can suggest that you click each item of the menu including main items when recording the script.
Best regards, Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️