How to handle file upload that have type attributes equals to 'text', not 'file'?

After read through community, (I may miss any), I realized that upload file in Katalon Studio support attribute equals to file. But in my web application (low code platform), it classified as type=“text”.

Then how can we handle this situation if we can’t change source code?

I couldn’t find guideline or way how to upload file with attributes equal to ‘Text’. Please guide, thank you

1 Like

You’re targeting the wrong <input> element. It’s this one that you want:

3 Likes

Hi @Brandon_Hein noted let me try and I’ll update. thanks a lot

@Brandon_Hein after changing locator with CSS, I finally got file uploaded as expected. Thanks a lot for your guide.

1 Like