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
Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

1 REPLY 1
Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors