Steps to Reproduce:
- Create a new folder.
- Create 4 Macros inside the new folder. Let’s name them - Macro_1, Macro_2, Macro_3, Macro_4. Insert some random commands in them.
- In the “Macro_1”, insert a “Run” command that targets the “Macro_3”. Absolute or Relative path does not matter.
- Do any of the following i) Play the whole folder as test suite ii) Create a classic test suite, add all four macros and run the suite iii) Right click “Macro_1” and click “Testsuite: Play from here”.
“Macro_1” will play → it will call and run “Macro_3” as the sub-routine → “Macro_1” will successfully finish → Error will be thrown right after starting “Macro_2” showing “Empty Stack. Can’t find monitor target with id…” stopping the whole folder/test suite execution.
Note: The called macro’s (subroutine) position in the same folder or another folder doesn’t matter. Operation will halt after playing the Host macro that contains the “Run” command inside.
Tested Environment:
Browser: Chrome
Kantu: 5.3.7