Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to upload media use loadrunner?
I record the script but it fail because the top of document
is invalidation.How to solve the problem?Which one know the
answer please tell me. Thanks!



How to upload media use loadrunner? I record the script but it fail because the top of document i..

Answer / Gangadhar Choudhary

In LoadRunner, make sure you follow these steps when uploading media files:
1. Check if the file type is supported by LoadRunner (e.g., images, PDFs, etc.).
2. Save the media file in a location accessible to LoadRunner.
3. In LoadRunner, open your script and add the following lines at the appropriate place to upload the media file:
```bash
lr_input_parameter("file_path", "string", "/path/to/your/media/file");
lr_input_parameter("file_name", "string", "your_media_file.extension");
lr_save_file(lr_eval("file_path"), lr_eval("file_name"));
```
Replace `/path/to/your/media/file` with the actual file path and `your_media_file.extension` with the file name and extension (e.g., myimage.png).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Load Runner Interview Questions

AFter generation the script for a application i am trying to make correlation but it is showing 404 error after customization.could u please help me how i have to make correlation give me steps please

3 Answers  


What does vuser_end action contain?

3 Answers  


where do you save u r scripts in Load Runner?

2 Answers   TCS,


By default how many virtual user are there in LoadRunner?

2 Answers  


how can i capture the elapsed time of a scenario in a script?

1 Answers  


I Installed loadrunner in my machine(personal PC) successfully. But when i am recording the script is not recording for the actions what i am executing. Can anyone explain what might be the problem for not recording the script.

7 Answers  


1.How can you Calculate load / stress testing in manually ? Is there any Calculators are available? If yes Please send me the Formulas?(I mean how the tools Ex: load runner, JMetter, Silk Performer ……………………….calculating the load )

1 Answers   Ness Technologies,


explain about goal-oriented scenario in controller

3 Answers   CGI,


on what basis you will provide the recommendations to upgrade the hardware?

2 Answers   SumTotal,


If web server, database and Network are all fine where could be the problem?

2 Answers  


How to prepare test data to use in Load runner.

1 Answers   CTS,


whar r the benfits of Load Controlar?

1 Answers  


Categories