Use "Visual" image for "type" command to upload file

Hello,

I used to successfully set the Value of a “type” command to an absolute file path (C:\images\gradient.jpg) to upload the file.
But if i want to test on another computer, I have to copy the image file to same location.
I wanted to use the “Visual” tab to import the gradient.png image and use it as in the “visualSearch” command, but if i only set the file name it seems the type command does not “see” it as a file.
Is it possible to use macro local files without a full path ?

Thank you

The images in the “Visual” tab are only accessible for the visual commands, such as XClick or visualAssert.

But if i want to test on another computer, I have to copy the image file to same location.

Yes. At least currently you can not store the “image to be uploaded” inside the macro.

Thanks for your reply.
I wanted to test on a Linux machine, I will copy the image to a temp location and change the script accordingly to point to the absolute file path on the linux machine.