Unanswered question

Need help extracting value from a Javascript function

I need to execute a javascript function to extract a value and to execute the javascript function, two js files need to be there. Please assist how to add two js files so that i can use the function.
Thanks

Gulshan R.
Gulshan R.

Gulshan R.

Level
0
26 / 100
points

Answers

I'm not sure to understand what you are trying to do. How do you want to extract a value from a Javascript function?

Do you mean that you would like to store a result of your function in a NeoLoad variable inside your Javascript?

Please provide more information.

Gulshan R.
Gulshan R.

Gulshan R.

Level
0
26 / 100
points

Actually javascript function is being used to hash the password and I have to pass the hashed password into my script for successful authentication.

I have the javascript function which is being used in application and I have to use the same mechanism in my load scripts.

Yes I want the result of function to be stored in a variable.

Gulshan R.
Gulshan R.

Gulshan R.

Level
0
26 / 100
points

Thanks for your reply.
I have found the solution. I added those js file into JS Library and used the javascript function by adding the Javascript component.