Session
session(con_index=0, ses_index=0, win_title=None)
Description
Creates an SAP session.
Parameters
con_index <int> The index of the SAP GuiConnection.
ses_index <int> The index of the SAP GuiSession.
win_title <str> The title of the SAP window.
Return value
Returns a Session object <>.
Call Example: rpa.app.sap.session
# Note: Before using this method, make sure the SAP GUI window is installed and open. Use the win_title parameter to specify the target window.
# The following is a code example:
sap_session = rpa.app.sap.session(win_title="SAPXX")该文章对您有帮助吗?