Philip_Baird
11 years agoCommunity Expert
Solved
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:
![](http://i1297.photobucket.com/albums/ag21/phil_baird/logscope_zps4e63809e.png)
However, these constants are not available in the intellisense
![](http://i1297.photobucket.com/albums/ag21/phil_baird/missingintellisense_zpsfbea5bac.png)
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)
![](http://i1297.photobucket.com/albums/ag21/phil_baird/undefinederror_zps59225c17.png)
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
Hi Phil,
I've added this issue to our bug-tracking system. It will be fixed in one of future product updates.