You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using upload(fileName).to(uploadFileButton) to upload the file. Also I am passing fileName as "src\test\resources\TestUpload\HeroListToUpload.csv" and correct element of uploadFileButton(verified by using onclick, it is opening window's pop up).
But I am getting "net.thucydides.core.pages.components.FileToUploadCouldNotBeFoundException: File not found: /Users/abc/eclipse-workspace/OProject/Open/src\test\resources\TestUpload\HeroListToUpload.csv"
I have tried many things but it is not working.
Below are versions I used in pom.xml
<serenity.version>2.0.90</serenity.version>
<serenity.maven.version>2.0.90</serenity.maven.version>
<serenity.cucumber.version>1.9.50</serenity.cucumber.version>
Please let me know. Note: I haven't use screenplay in my project so for consistency not using it for upload file too.
The text was updated successfully, but these errors were encountered:
FileToUploadCouldNotBeFoundException means what it says: it can't find a file with that path. Try with forward-slashes "/" and make sure the file does indeed exist.
Even after changing to "/" it is not working, it is giving error as "org.openqa.selenium.ElementNotInteractableException: element not interactable". But I am able to do just click on same element which I used for upload.
Hi,
I am using upload(fileName).to(uploadFileButton) to upload the file. Also I am passing fileName as "src\test\resources\TestUpload\HeroListToUpload.csv" and correct element of uploadFileButton(verified by using onclick, it is opening window's pop up).
But I am getting "net.thucydides.core.pages.components.FileToUploadCouldNotBeFoundException: File not found: /Users/abc/eclipse-workspace/OProject/Open/src\test\resources\TestUpload\HeroListToUpload.csv"
I have tried many things but it is not working.
Below are versions I used in pom.xml
<serenity.version>2.0.90</serenity.version>
<serenity.maven.version>2.0.90</serenity.maven.version>
<serenity.cucumber.version>1.9.50</serenity.cucumber.version>
Please let me know.
Note: I haven't use screenplay in my project so for consistency not using it for upload file too.
The text was updated successfully, but these errors were encountered: