2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 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()