File upload is not recorded using SAPGUI protocol
I am recording a scenario in Loadrunner 8.1 using SAPGUI protocol,where I need to upload a flat file in SAP-BCS.The recording stops as soon as the window for file selection opens and resumes once that window closes.The uploading of the file part is not recorded.So if I am replaying the script is stops after opening the file selection window.How to capture the uploading of a file in the loadrunner script?
Awaiting early reply.
Note: del the results folder then zip the entire contents of the folder and send it thru mail
Is there any other way you can choose your file besides using the file dialog? Maybe just enter the path of the file in a text box. I'm not familiar with this transaction so I can't tell for sure what your upload options are.
Yes I have tried with sap-web protocol.I could not record the script.
The only option to upload file is the file dialog box and if I would get a text box,that would solve the whole problem.But dont know how to get the text box.
This is an issue with Loadrunner, and I would say with any other Script automation tool since the upload popup is running in a Java window and then being transferred by HTTP/FTP rather than the SAP RFC calls. This is a problem as SAPGUI only listens for calls to certain ports and attaches itself to the SAPGUI.exe communications. This cant be done with Loadrunner. For sure.
Hi sorry to but in,
I had the same issue in the past and the work around is as follows:
1- before scripting create a variant in your specific transaction for the particular field.
2- this variant should include the values listed in your text file
3- save the variant with a name that make sense to you,
4- when you record your script and reach the point where u need those values choose the variant you defined in the prvious steps and carry on scripting.
In this way there won't be any NON SAP GUI interaction.
Hope that helps
i have an excel upload via SAPGUI that works similarly.
in order to record without the file browser window popping up .. do NOT click in the filename input field, once the "tab" has landed the cursor, simply paste the fullpath into the input field, this way should avoid the pop-up.
problem is that LoadRunner is preventing excel from being able to access the file during load-gen mode.
the script works via VuGen on all load generators but fails in load generartor mode on all generators except for the controller's "localhost".
so, the SAPGUI can access the file correctly except when run as a load generator, even though i have copied the files manually to the load generator.
also tried inclduing the file in the script/solution to get it copied to the netdir path ...
any ideas on what setting needs to change to alowi load generator VUSER to see files outside the NETDIR (virtuak c drive)?