RocketTheme Joomla Templates
Home Features How To Logging with TAFX
Logging your information with TAFX is easy
 A central part of any Test Automation framework is the ability to provide a simple way to be able to log events and results. Test Automation FX has several features that make it easy to log your information.
 
 The default test runner is a form that shows the TAFX logging information as the test runs. By default the test log is also saved to an XML file in a subdirectory to the test application called LogFiles.
 
 Picture 1 The contents of the LogFiles folder.
  
 To be able to view the log files in a browser in a nice way some support files are also written to this directory. The TAFX.xsl and the Images folder is created automatically and will make the log file appear in a browser as shown below:
 
 To add log entries manually you can use the Log class and its static methods.
 
 If images are logged they can be viewed by selecting the Show Detail context menu command. The Images are stored in a sub folder with the same name as the logfile.
 
 Picture 2 Select the Show Detail command to view the image in your associated image program.
  
 To open and examine older log files simply use the Open Log file button.