ktmrock
7 years agoOccasional Contributor
The Project file of the [Project Name] project has been modified externally. Overwrite it?
I just upgraded my ReadyAPI to 2.4. Every time I make changes in my project, save it and exit, it gives me this message "The Project file of the [Project Name] project has been modified externally. Overwrite it?" I tried with both options Yes and NO and exit the project, but it does not save my work.
When I open the ReadyAPI none of the changes are there. This project is in my local and I am the only one who is working. I also verified that the program is not opened twice. Any idea?
Thanks to the support for solving the problem:
The ftpStep requires two additional method calls to properly transmit files, using the provided example in the OP the correct way to use the run method would be as follows:
new File(path).listFiles().each{ ftpStep.setLocalPath(it.getPath()) ftpStep.setFileName(it.getName()) ftpStep.prepare(testRunner, context) ftpStep.run(testRunner, context) ftpStep.finish(testRunner, context) }