๐Ÿบ Join Clicknium for quality support, growth opportunities, and a supportive community

SapElement.call_transaction

def call_transaction(
self,
transaction_code: str,
timeout: int = 30
) -> None

Call the SAP transaction.

Parameters:
โ€ƒtransaction_code[Required]: str
โ€ƒโ€ƒ Transaction code string.
โ€ƒtimeout: int
โ€ƒโ€ƒ Timeout for the operation, the unit is second, and the default value is 30 seconds.

Returns:
โ€ƒNone

Example:


from clicknium import clicknium as cc, locator

# get sap driver
sap_driver = cc.sap

# login sap application
sap_driver.login("path", "connection", "client", "username", "password")

# find sap element
sap_ele = sap_driver.find_element(locator.sap.control)

# call transaction code
sap_ele.call_transaction("code")

Previousselect_itemNextget_statusbar

What are your feelings
Updated on 30 August 2023