Writing data in to a file

Char * file1="c://documentd//t1.txt";  // declaring the file path
long f1;

f1=fopen(file1, "a");  // opening the file in apend mode

fprintf(f1,"stored value is:%d", lr_eval_string("{param}"));  // writing data in to the file

fclose(f1);  // close the file





Comments

Popular posts from this blog

Lr Advance Param Function In Loadrunner With Example

web_set_max_html_param_len

Error -27492: "HttpSendRequest" failed, Windows error code=12057 (certificate revoked) and retry limit (0) exceeded for URL="