How do you close the windows explorer after uploading the file?

I was able to get Upload File to work but it is not closing the windows explorer. The file gets uploaded but I still see the windows explorer.

Does anyone knows how to close it?

1 Like

@Jackie Ngo I am struggling with the same issue. Can anyone help?

I think you should post the Test Case steps you are using.

Even, iā€™m facing the same challenge.
I uploaded a file from C drive and after attaching the file , the window is NOT getting closed.

Yes, I am having the same issue.

Maybe try this

import java.awt.Robot as Robot
import java.awt.event.KeyEvent as KeyEvent

Robot robot = new Robot()

Hi there,

Thanks for the help.
Unfortunately that did not work either.
I will keep trying and if I find a solution I will post it.

Thank you.