Logiv
4 years agoContributor
Insert variable in Project log name
Hello,
I'm sure this is simple but I can't get it to work.
I have inserted my EXE version number in a variable.
Now I want to use that variable into the log filename when I export, but I can't seem to find the right format to insert the variable.
Using Python, it would be something like this. My variable is called VersionNumb.
Log.SaveResultsAs("C:\\QA\\Results\\EXE + VersionNumb.mht", lsMHT)
Thanks
I found the answer in a related post! Thanks.
Log.SaveResultsAs("C:\\QA\\Result\\" + VersionNumb + ".mht", lsMHT)