2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Regarding Log Messages


  • Subject: Re: [QF-Test] Regarding Log Messages
  • From: "Weston Gross" <wgross@?.gov>
  • Date: Tue, 03 Apr 2007 17:51:43 -0600

You could create a text file and append warning messages to it.
 
 
Pass in variables
----------------------------
filePath: C:\Test
fileName: skipped.txt
errorMessage: Component Skipped
 
 
SUT
-----------------------------
import sys
file = open("$(filePath)""$(fileName)", "a")
writeData = "%s \n" % ('$(errorMessage)')
file.write(writeData)
file.close()