The code above is working in window but it isn’t working in mobile device
The GlobalVariable.upload_file1 is /storage/emulated/0/DCIM/Carema/File1.jpg the correct in my phone.
‘Upload File’ keyword is not supported when you are executing a mobile test script, it’s supposed to be used for web testing only, so you can’t use that and it can’t access your mobile’s file.
Hi Vinh,
Yes I am using Web UI keywords for a test script and I am using it for testing on both of window and mobile device.
For testing it in mobile, I am using Chrome browser in my mobile device
Hi Thai,
Unfortunately, ‘Upload File’ keyword can only access a file from a local machine, so it will not understand device’s path in case you try to upload it from your mobile device