How do you write user defined functions in LR? Give me few
functions you wrote in your previous project?
Answer Posted / mahesh sv
Before we create the User Defined functions we need to
create the external library (DLL) with the function. We add
this library to VuGen bin directory. Once the library is
added then we assign user defined function as a parameter.
The function should have the following format: __declspec
(dllexport) char* <function name>(char*, char*)Examples of
user defined functions are as follows:GetVersion,
GetCurrentTime, GetPltform are some of the user defined
functions used in my earlier project.
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
How can we recording vuser scripts using vugen?
What do you mean by path?
What is parameterization & why is parameterization necessary in the script?
What is remote command launcher?
What is scenario default?
What protocols does loadrunner support?
What is lr-function?
What is the purpose of selecting ‘show browser’ during replay in the general options settings?
What is protocol function?
What is the vuser in the scenario?
When the loadrunner controller open the winrunner file then what is the location of the winner configuration file?
Difference b/w 9.1 and 9.5 Versions in LoadRunner?
What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?
How can we find database related issues?
What are all the types of goals in goal-oriented scenario of load runner?