Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Sunday 31 January 2021

Deselect the specified column in a sap table.


First it selects three columns in the table and sorts them in ascending order. Then it clears the "Confirmation" column and sorts the selected

'columns in descending order.
SAPGuiSession("Session").SAPGuiWindow("Access").SAPGuiOKCode("OKCode").Set"me21n"
SAPGuiSession("Session").SAPGuiWindow("Access").SendKey ENTER

SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Execute   (F8)").Click
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").SelectColumn "Confirmation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").ExtendColumn "Order"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").ExtendColumn "Operation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Sort in ascending").Click
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").DeselectColumn "Confirmation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Sort in descending").Click

      

No comments:

Post a Comment

Note: only a member of this blog may post a comment.