LogScope constants undefined for Log::SaveResultsAs()
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2014
12:15 PM
03-11-2014
12:15 PM
LogScope constants undefined for Log::SaveResultsAs()
Hi, I am using Log::SaveResultsAs() to save and compress results logs.
In the documentation, the LogScope parameter is defined as being one of the following constants:

However, these constants are not available in the intellisense

and when attempting to use the constants as such
Log.SaveResultsAs( fileName, lsMHT, false, lesCurrentTestItem );
I receive the following error (at which I am not surprised)

Should these constants be defined or there others which I should be using? I am currently working around this by using the hard coded integer value (not nice)
The version of Test Complete I am using is Test Complete 10
Regards,
Phil Baird
Solved! Go to Solution.
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2014
08:37 PM
03-13-2014
08:37 PM
Hi Phil,
I've added this issue to our bug-tracking system. It will be fixed in one of future product updates.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2014
09:35 PM
03-13-2014
09:35 PM
Cool, thanks Tanya
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
03:10 PM
05-28-2019
03:10 PM
Hi Tanya,
Do you know if a fix was ever made? I am using TC14 and seem to be getting the same outcome (entire project log included in .mht file when 'lesCurrentTestItem' parameter), as follows:
FullFileName := ('C:\Work\Log\' + TestName + '_' +FileDateTime + '_TC_Log.mht');
Log.SaveResultsAs (FullFileName, lsMHT,False,lesCurrentTestItem);
Thanks for your help,
Ramsay
