How to write in a text file?

In order to write in a text file we use WRITE_FILE command from the actions dropdown.

Select command as WRITE_FILE, leave Screen name as blank, provide the text file path in which you want to write the data in Element Key and provide the parameters.

In parameter section we will use below syntax:

Text to write,append=false,newLine=false

Here, first argument is the text that you want to write in the text file.

Second argument is used to append the data you are going to write with some existing data in the text file. If it is false, it will not append any data.

Third argument is used when you want to append the data with some existing data and want to start writing data in a new line.

Was this page helpful?