Micro Focus QTP (UFT) Forums
Not able to click the save button in Save As window while downloading from SAP - 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: Not able to click the save button in Save As window while downloading from SAP (/Thread-Not-able-to-click-the-save-button-in-Save-As-window-while-downloading-from-SAP)



Not able to click the save button in Save As window while downloading from SAP - kathirvelnagaraj - 08-25-2015

Hi All,
I am automating the downloading data from SAP with Spreadsheet. But my script gets failed, after clicking the continue button Spreadsheet window
but not able to click the save button in the Save as window.

Code:
SAPGuiSession("Session").SAPGuiWindow("Data Browser: Table T000").SAPGuiMenubar("mbar").Select "Table Entry;List;Export;Spreadsheet..."
SAPGuiSession("Session").SAPGuiWindow("Select Spreadsheet").SAPGuiButton("Continue (Enter)").Click
Set oFsave=description.Create()
oFsave("text").value="&Save"
Window("Select Spreadsheet").Window("Save As").WinObject(oFsave).Click

Please help me.......
Thanks in advance
Kathirvel nagaraj