How to test uploading file without using the keyword choose files

How to test uploading file without using the keyword choose file, can it fixed?

Is there a reason why you do not want tonuse that keyword?