Hi,
Am uploading couples documents manually. The same trying with RPA framework.
I m sharing you the code in below. Choose File is not working and saying that element is not intractable exception.
code:
Click Element //div[contains(text(),'Scan - Unit 111 Dillingham')]
Wait Until Element Is Visible //span[contains(text(),'Browse...')] 1 min
Click Element //span[contains(text(), 'Browse...')]
Log To Console testttttttttttttttttttt
Sleep 20
Log To Console before choosefile - ${CURDIR}\\sample.tif
Choose File //span[contains(text(), 'Browse...')] ${CURDIR}\\sample.tif
Wrote python custom method for file upload and using it in robot framework But that is also not supporting for me…
Python code Sharing in below. Upload File is my custom method in Python. am not able to load that .py file. I mean am in RIDE am writing script since Eclipse almost all versions have conflit with Robot Framework and Python. Not sure what exactly issue is but we see RPC XML request error always. So we switched to RIDE tool to write the RF.
Code:
Upload File //span[contains(text(), ‘Browse…’)] {CURDIR}/sample.tif \n {CURDIR}/A1-AppDoc.tif