Kiran,
It is *impossible* to use
web_reg_save_param function to capture a value, generated by JavaScript on client's side.
I'll try to explain why it is...
Since JavaScript generates a value on client's side, the value is not coming from server!
Web_reg_save_param function registers a request to parse the next page, coming from server. Since server does not generate the value,
web_reg_save_param function will NOT capture it.
So, what we can to do with JavaScript?
There are not many solutions:
- Emulate JavaScript in your LR script
I sent this solution in my previous email - Save JavaScript code into external js-file, execute it with system() function
Do not forget to add printing of calculated value to console.
As I remember, system() function allows to read the output of executed command. - Use Web (Click & Script) or AJAX (Click & Script) protocols.
These protocols execute JavaScript on client side. So, the values will be generated correctly.