2018 bis heute | 2017 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 2008


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

[QF-Test] Trying to delete a file using Server Script


  • Subject: [QF-Test] Trying to delete a file using Server Script
  • From: "Mike Woodworth" <Mike.Woodworth@?.com>
  • Date: Tue, 25 Nov 2008 12:01:32 -0500

Hello ... I need to delete a directory before running a test suite.  Below is the code I am trying to run inside the Server script.  The script is finishing fine but is not deleting the directory.
 
import sys, os
from java.io import File
path = "C:\\Documents and Settings\\mwoodworth\\Application Data\\.dobbin"
File(path).delete()
 
Thanks for any help you can provide,
Mike Woodworth
Information Systems
Gordon Food Service