How to capture File explorer with LoadRunner? - sap

my problem is that I have to upload a file using SAPGUI by opening the file explorer in certain moment and SAPGUI protocol isn't able to handle with the explorer. Anyone give me a clue?

Examine your script very, very carefully for file path which is returned from the file explorer.

After having talked with HP Support experts, the answer is really simple: is not possible to record any Windows File explorer window by using the SAPGUI protocol. It's not supported.

Related

How to read files from anywhere with vue.js

I am trying to read files from my music directory on my PC.
I have tried doing it with the node.js file system module, but it is not working. How do I get it to work?😢
Just a late follow-up. It is possible to read and write files using HTML5 with the FileReader and saveAs(). The browser will open a file dialogue and let the user choose the file, so the user is aware of the file access. It is not possible to read or write to a file without the user's attention.
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
As said by #flame in a comment, it's just impossible, because the browser never have access to the visitor's disk (do you imagine the security issue if it was the case ?).
Vue.js is a Front-end framework, so the application it produces only have access to what the browser has access to.

System.Net.FTPWebRequest Not available for uwp app

I am trying to get my UWP app to send a small text file to my ftp server but all the code snippets I have looked at don`t seem to work with UWP apps.
Here is the code I have tried using from the following link :
upload file to ftp site using vb.net
I am using Visual studio 2015 community and it doesn`t recognise the FTPWebRequest method.
I have also looked at the BackgroundTransfer sample from the following link :
https://github.com/Microsoft/Windows-universal-samples
But when I run it and enter my FTP server address in the form
ftp://IPAddress/TestFolder/
and attach a simple text file it gives me an error at the line :
Dim upload As UploadOperation = uploader.CreateUpload(uri, file)
as The parameter is incorrect.
I can`t seem to find anything else to help with a UWP app as all the sites and forums I have looked at all seem to have similar code to the first link.
I can access the Ftp site through windows explorer on my laptop and drag and drop files that way so I know the site is accessible.
Not sure if there is a reference I am missing, I have the Internet(client) and Internet(client and Server) enabled in the appxmanifest.
From MSDN:
Download operations via FTP are supported. However, for FTP operations, authentication credentials must be provided within the specified URI. For example, ftp://user:password#server/file.txt
BackgroundDownloader class
Thanks for the replies.
I decided to use a package from https://www.chilkatsoft.com/ftp-2-dotnet.asp. which is available as a nuget package.
With a few lines of code I was able to upload a file using ftp with no problems.

WebDav Pdf Saving error

I have set up a webdav folder that I can access thorugh chrome and edit files and save them back to the server, for example, I can open a word doc, edit it and save it back.
When I come to open a pdf, it wont save back to the server and downloads a copy of the pdf instead of the original.
Is there a way of enabling this to edit a pdf?
My end goal is to be able to open a pdf, add comments/highlights and save it back to the server, through my browser.
Thank you
Edit:
I have set this up through Apache 2.4, no plug ins through chrome, I have mapped a network drive to the server folder where I can open and edit files. Except PDFs, I would like to add comments to a off but when I open one the option is greyed out and when I try and save it after opening it tries to save to my desktop.
I'm not sure i've got your use case right, but if i've understood you correctly you have a link in a web page to a PDF which you're viewing in chrome. You click on that link and the PDF downloads to a temp file from which it is opened. If you edit and save those changes are simply saved to the temp file on your local PC. Is that correct?
If so, then this is simply normal behaviour for links in web pages. There is absolutely nothing in the HTML standard which suggests links should be opened by an editor with knowledge of the source location.
What you really want is for the link to launch an editor program which retrieves the remote document in edit mode (probably locking the remote resource) and then have edits saved back to the server. For this to happen there generally needs to be some special interaction in the browser. In Internet Explorer this is provided by the sharepoint dll and special script code. I think there's a plugin for Chrome which does the same thing, although differently.
I havent used the Chrome plugin, but i think this might help - https://code.google.com/p/npapi-msdocs/

Clicking a link to remote file and editing with local app

I would like to be able to click a link which has the directory path to a remote server and be able to open a local application (namely notepad++) to edit the remote file.
I can map a drive to the remote server to allow the notepad++.exe to have a local path to look for when trying to run the application... I just need a way to get a link click to automatically open notepad++.exe with the remote file for editing.
Any ideas? I know I am vague quite a bit here but please ask for any clarifications or other dependencies you might think could work that I might add into the requirements of this question and I will be happy to respond.
Thanks for any help!
Cheers!
Yes this is a programming question how would you code this into a web page to allow for users to click a link to open a local application with a remote server path to a file to be edited it's a multi-faceted question with inclining of non-programming problems but programming still involved)... I actually just found a solution about an hour ago. Basically needed to do a javascript call passing an ActiveX object with the files location on the remote server on click and then opening a shell via javascript passing the notepad++.exe path with the file path to the remote file to open.

download pdf file in blackberry in my applicaiton?

I am working on a sample BB application for downloading task.
I have internet connection setting in my app. Now my task "on click of a button, i want to download a PDF file in my device as a normal file download from a link"
I have searched alot regarding this query but didn't get anything.
As the code very long to provide here, please take a look at this url and invoke the blackberry browser with your pdf url.