My question in short: I want to upload images to a website automatically. However, I couldn't simulate input type=file.
I have the following input element in a webpage.
<input id="fileupload" type="file" name="files[]" data-url="/server/images/e1b2d17b7b7eccef21a0a0ba1756d35c/upload/" multiple="">
I know that it is disabled due to security reasons to simulate this element using JS or JQuery. That's fine. However, I load the page into my QWebElement and I want to upload images automatically by simulating the necessary mouse clicks. I have managed to click to the upload button but I can't simulate typing any folder name or file name into the opened Dialog Box. I think I need to focus on the Dialog Box but couldn't do it. Could anyone guide me a bit?