UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
GuiSessionFactory Class
A class for creating an IGuiSession instance.
Syntax
public static class GuiSessionFactory 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.SAP.GUI.GuiSessionFactory

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AttachReturns a new IGuiSession instance that is attached to a session that was not opened by LeanFT (for example, a session that was opened manually or by the AUT).  
Public Methodstatic (Shared in Visual Basic)GetAllOpenSessionsReturns the open sessions that match the description.  
Public Methodstatic (Shared in Visual Basic)LaunchOverloaded. Launches the SAP Gui session on the given server description.  
Top