By default, the non-web recovery system closes all windows in your test application except the main window. To specify which windows, if any, need to be left open, such as a child window that is always open, use the lwLeaveOpen constant.
When you record and paste the declarations for your application’s main window, the stub of a declaration for the lwLeaveOpen constant is automatically included, as shown in this example:
// The list of windows the recovery system is to leave open // const lwLeaveOpen = {?}
To complete the declaration for the lwLeaveOpen constant: