Trouble in spying object ID with new pop up windows in windows application

Hi all,
New with Katalon Studio and has trouble in spying the object ID for pop up windows with windows application in following scenarios.

When trying to use “Spy Windows Objects” window to capture object IDs,

  1. The test application will only show UI when triggered with additional parameter for e.g. Test.exe /t or Test –resume. Tried to use these parameters in “Application File” will trigger below exception
    “java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: The system cannot find the file specified (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 531 milliseconds”

  2. Another application will create new windows after clicking on the button on the application. The “Spy Windows Objects” can only identify the objects in the application but not the new opened windows.

Please help to provide information as how to obtain Object IDs for above situation.
Thanks