1

karate.write(value, file.txt) overwrite the previous content whenever called.

I want to append values every time i call to karate.write function.

In my code i need to call this function 10 times at different points. Is there any way to achieve this?

Yash
  • 121
  • 7
  • I already saw that post what you suggest @peter. I just want to know that how can i get rid of overwrite issue if i call write function in my 10 different scenario of one feature file. – Yash Feb 19 '20 at 19:04
  • by writing a custom Java class to do the exact work you need. otherwise you can't do this – Peter Thomas Feb 20 '20 at 00:35

0 Answers0