How do we write a user-defined function in loadrunner?

Answer Posted / sushma

1)First we need to write user defined function in note pad
Save it as .h file
Include the file path in global.h
Eg. #include "f:\ user_fun.h"
2) Add the code directly in global.h and use it where ever u required
3) we can add extra file . By r. Click on extra files and create new or add new file to script. We have to add file and the include the file in global.h

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of checkpoints in lr?

811


How load runner interacts with the application?

1104


What is gui vuser and on which platform it will run?

852


How many users can I emulate with loadrunner on a pc?

922


when i run start senario for different process it always completed at elapsed time 6.32 sec. i don't understand why it happens.. can we set elapsed time ? plz answer.... pratik196@gmail.com

1872


What is the think time?

837


What is parameterization?

909


What is loadrunner agent?

948


What is manual correlation?

864


How many types of vuser are available?

860


What are the information crating for each host?

916


What are the types of checkpoints is available in loadrunner?

949


What is remote command launcher?

871


Which are online monitors and windows resource monitors

1243


what is remote performance monitering?

1911