Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload a file in Sap using QTP
#1
Not Solved Sad 
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?
Reply


Messages In This Thread
Upload a file in Sap using QTP - by jason.hofmann@auspost.com.au - 07-18-2012, 07:56 AM
RE: Upload a file in Sap using QTP - by Ankesh - 07-18-2012, 11:30 AM
RE: Upload a file in Sap using QTP - by Ankesh - 08-24-2012, 04:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [HELP]Button no longer works in the transaction ME21N(SAP/QTP) rafaponzio 11 10,336 12-21-2022, 06:08 PM
Last Post: Carlos Veras
Question <Interesting> Is it possible to execute SAP GUI application without QTP Jyobtech 3 3,620 09-07-2012, 12:26 PM
Last Post: SIBICA
  QTP identificatin issue with SAP CRM Navigation Bar mwase 4 6,153 06-18-2012, 03:40 PM
Last Post: mwase
  QTP file compare - ignoring file structure Fede 3 5,294 02-17-2012, 02:48 AM
Last Post: Parke
  "UPLoad attachment into QC using OTA" suresz449 0 3,936 02-16-2012, 04:26 PM
Last Post: suresz449

Forum Jump:


Users browsing this thread: 2 Guest(s)