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!

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to record the desktop application in Loadrunner 12.53 version 64 bit window.

2301


What is Standard deviation? How it will use in Lr?

3507


I have one Scenario login then bookcoffee then logout explain test plan for above scenario?

2164