Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: TrueClientAjaxFirefox protocol can accept to create file & Capture URL in Loadrunner 12.01

$
0
0

Hi,

 

As per my understanding, you want to create one txt/excel file in your local drive using Ajax TruClient protocol script.

 

You can use IO.write to create a file (txt/excel) and writes the string to the file.

 

If you want to create folder then you can use IO.CreateDir, which creates all the folders necessary to complete the path.

 

For Eg:-

 

IO.write("c:\\Temp\\Test.txt", "Test",true,"UTF-8")

 

** If in your "C" drive temp folder is not exists then above function will not work. You have to use IO.createDir function first and then IO.write.

 

Eg: -

IO.createDir("c:\\Temp")

IO.write("c:\\Temp\\Test.txt", "Test",true,"UTF-8").

 

I hope this will help you.

 

Regarding the second query, you want to capture URL from Firebox browser or from your browser screen?

 

 

Regards,

Deepak

 

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>