Files.Remove in Javascript
Hello All,
First time here. I am studying the Udemy course currently. Very excited to learn as much as I can about Test Complete.
I have a question about Files.Remove. The screenshot below provides most of the question. I have to be doing something elementary incorrect, but I am not seeing it. Files.NameByFileName does not return the file, but the path is correct. It exists in the specified location, and it does exist in the store too.
I am simply trying to remove the file from the Stores, then I was going to add a different version of the same file.
Does my mistake jump out at anyone?
Thank you so much,
Bouzouki
I would display the values for StoredFilePath and NewFilePath to make sure that you have what you expect. Perhaps filepath is not being passed the way you think.