Can we record a script which can download files?

Hi, I'm trying to record a script to download file at data collector. I'm using Dialog Manager to handle all the dialogs but it keep failing at the dialog which need to click on Save button. I've edit the Dialog Manager with action like [Save]{ENTER}/ {+S}/ {S} but error still occurred.
Although the script fails when playback but it can run successfully at Navigation Editor and retrieved the content of the file that I want to download. Besides that, the script also running well when uploaded into monitor. I'm wondering if the script can perform download action as when I check the data collector, there is no files downloaded at the selected location. Can someone help on this? Thanks alot.

Here is what worked for me:
Add a dialog with these settings:
Caption: FileDownload*
Text: *
Action: [Save]{click}
Add another dialog with these settings:
Caption: Save As
Text: Save &in:
Action: [Save]{click}
Let me know if this doesn't work for you. I am using IE 7.
If you run through Navigation Editor, the e-Load Agent will download the file and discard the contents. The result is that the file gets downloaded and stresses the web server but doesn't cause storage problems on the agent machine.
-GateCity_QA

Similar Messages

  • Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Short answer. No.

  • HELP!!!i can download files from the internet but i can not open them,help!

    I am running mac os x 10.5 i can download files from the internet but adobe reader 9 keeps telling me they can not decode them,( Adobe Reader could not open 'dap93.exe' because it is either not a supported file type or because the file has been damaged) (for example, it was sent as an email attachment and wasn't correctly decoded). help!
    Message was edited by: kjsk8n

    Adobe Reader does not open .EXE files, it opens .PDF files.  If you were on Windows I would tell you to fix the file association, but I have no idea how to do that on a Mac.

  • On a new computer, am trying to download/install photoshop elements 10 can download files, but not open them, please help

    On a new computer, am trying to download/install photoshop elements 10, files are downloaded, but cannot open them, please try to explain       if you can

    you probably should have two files, an exe and a 7z file in the same directory.  if so, click (or double click) the exe.
    if that fails, what files(s) (name and extension) and file size(s) have you downloaded?

  • HT1338 i can download files but cannot run them

    i seem to be able to down laod files but the pop up window to run never pops up.  When I go to the downloads they are there but nothing happens when I double click them.

    Couple questions: do the keyboard shortcuts work, and do you have anti-virus on your system that could be potentially disabling this ability?

  • Script busy when downloading files, or just opening up the downloads window

    All of FF locks up until a pop up appears and says that this script chrome://mozapps/content/downloads/download.xml:68 is busy.
    There is another suppport entry like this, but it was for the MAC, and I did not see a way to add "Me too" but with a different configurations.

    Try to reset the download history and delete downloads.sqlite (plus downloads.rdf, if it exists) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    See:
    * http://kb.mozillazine.org/Unable_to_save_or_download_files#Manually_delete_download_history
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Firefox 3.6.3 downloads files to the desktop but they are invisible (can't open it)

    Firefox says that it just downloaded a file, but I can't have an access to it and don't see it. Location was chosen with attention.
    == This happened ==
    Every time Firefox opened
    == when upgrading to 3.6.3

    Hello Kuolematon,
    this issue might've been caused by a download antivirus check. We'll disable the antivirus check for downloads now:
    #Enter about:config in Firefox and press Enter.
    #Enter ''browser.download'' in the Filter textbox.
    #Search for a preference named browser.download.scanWhenDone .
    #Double-click on this preference to set the value to ''false''.
    Afterwards, see if you can download files again!
    Kind regards,
    Tobbi
    Firefox Support Volunteer

  • HT1904 My iPad is set for the UK.  I am an American in North Carolina.  How do I change it to USA so that I can download programs?

    My iPad is set for the UK store and I am an American in North Carolina.  How can I change the setting to the USA so I can download files?

    You may need to email Apple support for this - https://www.apple.com/support/itunes/contact/ - I'd choose the iTunnes Store option, since that concerns billing and account info. Let them know your situation - they might need to work some magic on their backend.

  • Help required with downloading files from inside WEB-INF folder

    I am working on a web application and I have an upload script which uploads different files to a foler called 'uploads' . To stop users from accessing the folder content I have put it in the /WEB-INF/.
    In my JSP file, I used to link to the uploaded files like this before for users to download them :
    if(filesListIterator.hasNext()
    files = (FilesBean)filesListIterator.next();
    <tr><td><a target="_new" href="<%=files.getFileName()%>">"<%=files.getFileName()%></a></td></tr>
    }I need to know how to alter the above link to make it access/download files from the /WEB-INF/uploads/ while still restricting direct access to the files.
    Thanks
    Message was edited by:
    topiwal

    Anything under WEB-INF is not directly accessible via the browser/ client. You could try defining the JSP/ Servlet inside web.xml deployment descriptor and see if you can access the file from there.
    I think a better way to accomplish this would be to keep the file outside WEB-INF , and use other techniques to protect the folder that contains the file - for example password-protection, or defining a .htaccess file and serving a 403 Forbidden error.

  • OpenScript Load Testinf - Download File

    Hi guys!
    I was recording load test script which ends with file download. My problem is that file isn't actually download while playing this script in OpenScript. Do you know how to make it work?
    With regards,
    PsmakR

    PsmakR,
    Here is the sample code
    http.get(15, "http://uglyhunk.in/apps/KeyLogger-fasm.7z", null, null,
                        true, "UTF8", "GB18030");
    Response resp = http.getLastBrowserResponse();
    byte[] fileContents = resp.getContentsAsBytes(-1);
    FileOutputStream fos = new FileOutputStream(new File("C://myfile.7z"));
    fos.write(fileContents);
    fos.close();

  • Downloading files using HttpConnection is very slow

    Hi
    I've written a program which will download files over HTTP protocol using the class HttpConnection. I am connecting to the net using Proxy with authorization. At times it takes long time to download even a 2 MB file, but it works very fast on fewer occasions. The same file If I try to download using browser such as IE or FireFox, download happens in few seconds.
    I am not sure where the problem is. Can anyone guide me on this issue?
    Regards,
    Faisal

    The HTTPUrlConnection do not seem to utilize the
    Connection Keep Alive feature of HTTP so it createa
    seperate connection for each request.Eh? The Sun implementation can utilize HTTP
    Connection Keep Alive if you tell it to, and it also
    runs a connection pool.Great! can you explain a bit how you enable it?
    Can I just do it by setting the Connection: Keep-Alive header

  • Help! my safarai did not auto download files when clicked...

    Hey guys...
    i have some problems with my safari and i need your generous help!
    recently, i cant download files from download links in any website including apple.com
    lets say that i want to download safari dmg from apple website...when i click the DOWNLOAD NOW button, it seems like nothing happened and this happen for all of the websites
    but i can download the files when i right click the link and select the "download linked file as"
    please help me...
    Thanks for your help in advance

    Hi,
    If your profile is correct you need to update your system software to 10.5.8. Go here:
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
    After the installation, restart your Mac, launch Safari and see if you can download files. If not...
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem.
    http://support.apple.com/kb/TS1594
    And make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
    Go to ~/Library/Cookies and move the Cookies.plist file to the Trash. Relaunch Safari.
    If you still have problems downloading from the Apple site, Open Keychain Access. (Applications/Utilities) Find the "Safari AutoFill" item. Delete it. Relaunch Safari. Next time it asks for authorization, click "Always Allow".
    Make sure the startup disk has enough free disk space. Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. *Make sure you always have a minimum of 10% to 15% free disk space at all times.*
    Carolyn

  • Downloading file in Background mode?

    Hi gurus,
    When I run the program in Fore ground and Back ground (Immediately when press F9, without schedule) I am getting same result, I can able to download file in a local file. Please I like to know whether it is correct or not?
    If it is not correct, How to download the file into presentation server (Local file) when program run in back ground mode (Immediately when press F9, without schedule)?
    Please give your valuable suggestions. Please send the code if you have.
    Thanks and Regards,
    Pavan.

    Hi,
    you can not download file in a presentation server using your Background job. That is a limitation from SAP. Instead you can download file to presentation server. Or you can add mailing the file to user id functionality.
    Hope this helps.
    ashish

  • Including downloadable files in iWeb

    In the .mac hompage it is possible to include a page where a person can download files, etc. Is that possible in iWeb?

    Paul ~ Yes, it's possible via iWeb's Inspector > Link tab. Then choose Link to: A File. See towards the end of this _video tutorial_.

  • Cannot download file over https behind firewall ?

    I have a program to download files :
    public class TestServlet
         public static void main(String args[]){
        Authenticator.setDefault(new AuthImpl());
         if (args.length!=2){
          System.out.println("Proper Usage: java -Dhttp.proxyHost=172.21.32.166 -Dhttp.proxyPort=80 TestServlet RemoteFileURL LocalFileName");
           System.out.println("Usage Example:java -Dhttp.proxyHost=199.67.138.83 -Dhttp.proxyPort=8080 TestServlet https://url.com/csv/file.zip file.zip");
          System.exit(0);
         DataOutputStream out=null;
         FileOutputStream fOut=null;
         try
          trustAllHttpsCertificates();
          String urlStr = args[0];
              HostnameVerifier hv = new HostnameVerifier() {
                   public boolean verify(String urlHostName, SSLSession session) {
                        System.out.println("Warning: URL Host: "+urlHostName+" vs. "+session.getPeerHost());
                        return true;
             HttpsURLConnection.setDefaultHostnameVerifier(hv);
              System.out.println("\nConnecting to Website . . . "+urlStr);
              URL url = new URL(urlStr == null ? "https://url/Downloads/WC.csv" : urlStr);
              System.out.println("\nConnecting . . . . ");
              BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
              System.out.println(". . . Connected");
              System.out.print("\nDownloading the file . . . ");
              int buff;
              fOut=new FileOutputStream(args[1]);
              System.out.print(" . .");
              out=new DataOutputStream(fOut);
              System.out.print(" . .");
              while ((buff = in.read()) != -1) {
                fOut.write(buff);
              in.close();
            System.out.println(" . . . Done \n");
          catch (Exception e) {
                e.printStackTrace();
           finally {
              try{
                   fOut.flush();
                   fOut.close();
                   System.exit(0);
               catch(Exception e){
                   e.printStackTrace();
        HostnameVerifier hv = new HostnameVerifier()
            public boolean verify(String urlHostName, SSLSession session) {
                //System.out.println("Warning: URL Host: " + urlHostName + " vs. " + session.getPeerHost());
                return true;
        private static void trustAllHttpsCertificates() throws Exception
             //  Create a trust manager that does not validate certificate chains:
            javax.net.ssl.TrustManager[] trustAllCerts =  new javax.net.ssl.TrustManager[1];
            javax.net.ssl.TrustManager tm = new miTM();
            trustAllCerts[0] = tm;
              javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
            sc.init(null, trustAllCerts, null);
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
        public static class miTM implements javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager {
            public java.security.cert.X509Certificate[] getAcceptedIssuers() {
                return null;
            public boolean isServerTrusted(java.security.cert.X509Certificate[] certs) {
                return true;
            public boolean isClientTrusted(java.security.cert.X509Certificate[] certs) {
                return true;
            public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException {
                return;
            public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException {
                return;
       public static class AuthImpl extends Authenticator {
       protected PasswordAuthentication getPasswordAuthentication() {
          String username = new String("guest");
    String password = new String ("guest");
           return new PasswordAuthentication(username, password.toCharArray());
    }This program works fine for downloading files, over both http and https from my home. When I run this on my desktop in the office it can download files over http, but cannot download https files.
    When I try to download files over https, I get the foll. exception:
    java.net.UnknownHostException: www.site.com
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
    at java.net.Socket.connect(Socket.java:452)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA12275)
    at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA12275)
    There are 2 differences here, one being that my office desktop sits behind a firewall and there is a proxy in between.
    In the office I run the program as :
    java -Dhttp.proxyHost -Dhttp.proxyPort TestServlet URL [filename]
    eg.:
    java -Dhttp.proxyHost=235.67.138.84 -Dhttp.proxyPort=8080 TestServlet https://site.com/portal/Downloads/file.csv file.csv
    This url requires authentication, the userid and pwd are hardcoded in the code.
    Now, my problem is I cannot understand why this error would come. Is it because of the firewall or because of the proxy ?
    Why is it that I can download over http successfully from my office desktop? If the problem is with the firewall or proxy, then even http protocol urls should give the same problem.
    Please help.
    Vinay
    Message was edited by:
    vinay_dsouza
    Message was edited by:
    vinay_dsouza

    If you are using HTTPS you should be setting
    https.proxyHost
    https.proxyPortnot the http.* ones.

Maybe you are looking for