Forum Discussion

anandmar24's avatar
anandmar24
Occasional Contributor
11 years ago
Solved

To get the Temp folder path to save a file in it

Hi All, I need one help. In my application under test, there is a button to export the grid values to excel. On clicking it, spreadsheet xml file is getting saved in the user profiles temp fold...
  • karkadil's avatar
    11 years ago
    You can get path to this folder with the help of environment variables.




    Log.Message(aqEnvironment.GetEnvironmentVariable('TEMP'));


    Log.Message(aqEnvironment.GetEnvironmentVariable('TMP'));