Highlighted
Absent Member.. Absent Member..
Absent Member..
584 views

Problem in uploading Files to oracle /applet form

Jump to solution

Hi, For the Upload scenarios in RMS(Oracle Forms)(Image Upload and Excel Upload), Load runner is failing to capture the browsed data (File Name and the Path) We are Using Oracle NCA +Web Protocol to record RMS forms through Load runner. Web Protocol is capturing the data till the launch of URL then Oracle NCA protocol captures all the data of Forms, but it is failing to capture the Browsed information for File since it is done on separate window not the applet. So the vugen script is not able to browse or upload any file to the application. Manually we added the Oracle NCA function (Edit function with file path) for File name and Description for the field <> and <> in our Vugen script and tried uploading the file (Without doing any Browse). Application is throwing Alert message internally for the above method when we execute the modified script – “Application failed to upload the file to the server”

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Problem in uploading Files to oracle /applet form

Jump to solution

When recording a script try entering the path to the file in the edit box/text box, avoid pressing the select file button that will open the window, just press the text field and input your file path (Example: C:\file.txt) it will be correctly recorded and will replay correctly. If you already have the script you will have to remove the nca_button_press to open the select file window and add nca_edit_set("UPLOAD_FILE_NAME_0", "c:\\file.txt");

First argument is button name, you have to find this name from logs file, a developer or doing a recording and press it and add some text to see it in the recorded script. second is the file path you want to upload)

View solution in original post

1 Reply
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Problem in uploading Files to oracle /applet form

Jump to solution

When recording a script try entering the path to the file in the edit box/text box, avoid pressing the select file button that will open the window, just press the text field and input your file path (Example: C:\file.txt) it will be correctly recorded and will replay correctly. If you already have the script you will have to remove the nca_button_press to open the select file window and add nca_edit_set("UPLOAD_FILE_NAME_0", "c:\\file.txt");

First argument is button name, you have to find this name from logs file, a developer or doing a recording and press it and add some text to see it in the recorded script. second is the file path you want to upload)

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.