Forum Discussion
Marsha_R
3 years agoModerator
What I would do is have a string variable with the front part of the file path in it
mypath1 = "C:\\Users\\dkaliyugavarathan\\Downloads\\Order_Extract_Export_"
and then have a second string variable with the date part of the file path in it (you will have to build this)
mypath2 = "2022-03-10_20-42-32"
so finally you can have the actual file path
filepath = mypath1 + mypath2
You can build what you need for the date part using these
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqdatetime/index.html
https://support.smartbear.com/testcomplete/docs/scripting/working-with/strings/python.html
Related Content
- 5 years ago
- 3 years ago
- 12 years ago
- 5 years ago
Recent Discussions
- 2 days ago