OpenText Functional Testing for Developers recognizes SAP GUI Session and tabs that it opens (for example, via Launch(String)). If a GUI Session is opened outside of the OpenText Functional Testing for Developers context, you need to use the Attach method to acquire the GUI session.
C# Syntax
public static IGuiSession Attach( GuiSessionDescription desc )
Parameters
- desc
- GuiSessionDescription for filtering the open sessions.
Return Value
Exception | Description |
---|---|
HP.LFT.SDK.ReplayObjectNotFoundException | No open sessions matches the description. |
HP.LFT.SDK.ReplayObjectNotUniqueException | More than one session matches the description. |