But I'm getting the element not interactable error.
String uploadFile = "//div[@id='dZUpload']";
String absolutePath = System.getProperty("user.dir") + "\\src\\main\\resources\\uploadFiles\\" + file;
CloudFileOperationUtil.uploadFileToCloud(uploadFile,absolutePath,getDriver());
The same code is working fine when the element is present in the Input tag. But not working when the element is present in the div tag.
Normally the element is clickable only. But when I passing as a parameter the element inside the upload File To Cloud method, I get an error.
So, Please tell me, how to Interact with the element that is present inside the div tag.
I hope, you guys all understand my doubt. If you want some more details to understand my about doubt please ask me.
0 comments:
Post a Comment
Thanks