Forum Discussion
Hm. This thread seems to describe a similar problem. Take a look and see if this helps:
I got it to work! It was firewall related issue,
thanks!
- romanmfs7 years agoFrequent Contributor
Now as far as "saving as" the name of the report+ date in the name (For example Report08142017, something like that) I tried messing with the script but get errors I dont think I set it up right, can you see check what I did wrong please.
Here is how how I was trying to set it up:
function Test()
{
// Saving file
// ...
Log.SaveResultsAs("V:\\TestComplete\\Reports\\Report" + aqDateTime.Today(), lsMHT);
}{
Log.Message("Report Sent" + aqDateTime.Today());
}Another question, is there a way to set up test complete to save reports in mht format as standard that way maybe I wont even need this script but just have "email script" sending out email with that report automatically.
Thanks again!
- romanmfs7 years agoFrequent Contributor
Anybody?
- Marsha_R7 years agoChampion Level 3
You'll need to use
aqConvert.DateTimeToStr(aqDateTime.Today())
to get the string you need for the file name
Related Content
Recent Discussions
- 2 days agovladd1