Micro Focus QTP (UFT) Forums
Upload a file in Sap using QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Upload a file in Sap using QTP (/Thread-Upload-a-file-in-Sap-using-QTP)



Upload a file in Sap using QTP - jason.hofmann@auspost.com.au - 07-18-2012

Currently using QTP 9.2 with Sap Add in.

The following expert view code is used within QTP
Code:
SAPGuiSession("Session").SAPGuiWindow("Change Material (Initial").Maximize
SAPGuiSession("Session").SAPGuiWindow("Change Material (Initial").SAPGuiEdit("Material").Set "10042"
SAPGuiSession("Session").SAPGuiWindow("Change Material (Initial").SendKey ENTER
SAPGuiSession("Session").SAPGuiWindow("Change Material 10042").SAPGuiToolbar("ToolBarControl").PressButton "%GOS_TOOLBOX"
SAPGuiSession("Session").SAPGuiWindow("Change Material 10042").SAPGuiToolbar("ToolBarControl_2").PressContextButton "CREATE_ATTA"
SAPGuiSession("Session").SAPGuiWindow("Change Material 10042").SAPGuiToolbar("ToolBarControl_2").SelectMenuItem "Create Attachment"

It does not record the file selection for the attachment. Do you have any suggestion as to how I can learn about this. Can't find any examples?


RE: Upload a file in Sap using QTP - Ankesh - 07-18-2012

please post the screenshot and the transaction that you are using.


RE: Upload a file in Sap using QTP - MVChowdary - 07-18-2012

It is known problem and addressed this issue to HP. Even it is not working with low level recording when you are executing.


RE: Upload a file in Sap using QTP - jason.hofmann@auspost.com.au - 07-19-2012

[attachment=1064][quote='MVChowdary' pid='21949' dateline='1342594987']

Please see attachment with screenshot and the transaction


RE: Upload a file in Sap using QTP - jason.hofmann@auspost.com.au - 08-10-2012

Where do I find out what the progress is from HP in addressing this issue?


RE: Upload a file in Sap using QTP - Ankesh - 08-24-2012

have you got any solution for this??

Regards,
Ankesh


RE: Upload a file in Sap using QTP - jason.hofmann@auspost.com.au - 09-04-2012

No I am trying to find out were to look for an update. HP?