Close Method (IGuiSession)
Closes the SAP GUI for Windows session without displaying a warning message.
You can invoke this method at the end of an action or test iteration to close sessions that were opened during the test run. This ensures that each iteration begins with the same number of open SAP Gui for Windows sessions.

C# Syntax

void Close()