06-09-2016, 09:28 AM
I am trying to automate a SAP sales order with multiple line items I am using input method to populate the SAPGuiTable from the local datatable.
The code I am using:
line 24 SAPGuiSession("Session").SAPGuiWindow("Create Standard Order:").SAPGuiTable("All items").Input ("Action1.All items")
Line 25 SAPGuiSession("Session").SAPGuiWindow("Create Standard Order:").SendKey ENTER
I can see that all the required fields are populated and then an error is generated
The statement contains one or more invalid function arguments.
It is indicating that the error is in line 24 I cannot see why there should be an error There is another test case I just ran with similar code and it does not give me any error for the same object....
The code I am using:
line 24 SAPGuiSession("Session").SAPGuiWindow("Create Standard Order:").SAPGuiTable("All items").Input ("Action1.All items")
Line 25 SAPGuiSession("Session").SAPGuiWindow("Create Standard Order:").SendKey ENTER
I can see that all the required fields are populated and then an error is generated
The statement contains one or more invalid function arguments.
It is indicating that the error is in line 24 I cannot see why there should be an error There is another test case I just ran with similar code and it does not give me any error for the same object....