Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHi again!
Sorry, I should have included the filepath in the code. Try this:
Regards
Henrik
SmartBear Sweden
Sorry, I should have included the filepath in the code. Try this:
filePath = "c:/Users/Henrik/TestResults/"
fos = new FileOutputStream( filePath + testStepResult.testStep.label + ".txt", true )
pw = new PrintWriter( fos )
testStepResult.writeTo( pw )
pw.close()
fos.close()
Regards
Henrik
SmartBear Sweden