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



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

Answer / 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

More Load Runner Interview Questions

What is mean by Soak testing in Load runner?

5 Answers   TCS, Wipro,


In a web server, database and network are all working fine and now, where could be the problem?

0 Answers  


What's r client side authentications in loadreunner?

4 Answers   Symphony,


Hi all, I am having an interview on LoadRunner (SAP Web Protocol). I am wondering if somebody can help me with some interview questions at a 2 yr Scriptor level. Thanks and all answers are much appreciated.

0 Answers  


What is the differences between parameterization and correlation ?

7 Answers   TCS,






How is each step validated in the script?

0 Answers  


what is built monitors and they are explain plz?

2 Answers   iGate,


What is bottlenecks and how to identify bottlenecks? Could anyone answer this question in point of interview please....

2 Answers  


I want step by step guidelines on loadrunner.i think it will be a great.please can any one help me.

1 Answers  


what is the difference b/w astralaod and loadrunner?

2 Answers  


hi guys pls tell me, for load runner institution "TEST Q" is better or not? pls share with ur learning exp in testq to all?

1 Answers  


How can data catching have a negative effect on load testing results ?

3 Answers   Changepond, ERP,


Categories