OTX Reference
|
|
Writes all lines of a text file specified in the file handle. More...
Public Attributes | |
FileWriteHandleTerm | handle |
The handle for the file that the related file object encapsulates. More... | |
StringTerm | value |
The string to write to the file. The string can contain line breaks. More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation | |
OtxLink | validFor |
Validity of ActionRealisation. More... | |
Writes all lines of a text file specified in the file handle.
The WriteFile activity writes all lines of a text file specified in the file handle. Subsequent calls to WriteFile on the same handle will re-write the contents of the file.
The first read or write activity on a file handle defines if an access shall be realized by line, bytes or file. Mixed access will lead to a FileFormatException.
Exceptions.FileAccessException | |
Exceptions.FileFormatException | |
Exceptions.FileLockException |
FileWriteHandleTerm OpenTestSystem.Otx.Extensions.File.Actions.WriteFile.handle |
The handle for the file that the related file object encapsulates.
StringTerm OpenTestSystem.Otx.Extensions.File.Actions.WriteFile.value |
The string to write to the file. The string can contain line breaks.