cancel
Showing results for 
Search instead for 
Did you mean: 

Get Download Folder path

SOLVED
Highlighted
Occasional Contributor

Get Download Folder path

Im creating an extension operation to check if the file exist after a download, now im wondering if there's a way for TC to know the download path. With  this i can avoid putting the path in a variable or parameter. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: Get Download Folder path

Hi @longchasen,

 

I think environment variables can help you. For example:

%USERPROFILE%\Downloads

 

Here is an articles describing how to work with such variables from TestComplete:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/environment-variables.html

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

1 REPLY 1
Community Manager

Re: Get Download Folder path

Hi @longchasen,

 

I think environment variables can help you. For example:

%USERPROFILE%\Downloads

 

Here is an articles describing how to work with such variables from TestComplete:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/environment-variables.html

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post