WebPagetest Forums
Image Upload - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Testing Tools/Services (/forumdisplay.php?fid=6)
+--- Thread: Image Upload (/showthread.php?tid=14881)

Image Upload - rajat - 05-09-2017 05:02 PM

Hi Folks,

I am creating a script in which it had to upload a image for that i am using the Filedialog but when i am running the test i am getting the error "fileDialog is not a supported command for uploaded scripts"

I am not getting the option of upload in the webpage script.

RE: Image Upload - pmeenan - 05-09-2017 11:36 PM

You can't upload in WebPageTest scripts.

RE: Image Upload - rajat - 05-09-2017 11:52 PM

Thanks for the reply

Is their any work around for it ?

RE: Image Upload - pmeenan - 05-10-2017 09:36 PM

No. It's intentional to prevent a possible avenue for attack by opening up access to the agent filesystems.

The fileDialog support was only ever in the original agents (urlblast) from when it was used for automation testing in a closed environment. I'll remove it (and other commands in a similar circumstance) from the docs.

RE: Image Upload - rajat - 05-10-2017 10:22 PM

Thanks for the help.

I had downloaded the desktop version of webpage test from https://sourceforge.net/projects/pagetest/files/WebPagetest/

In this i am executing the urblast file but its not working ?

Can you please guide me how to do it closed environment.

RE: Image Upload - pmeenan - 05-16-2017 11:27 PM

urlblast hasn't been supported for several years at this point and the closed-environment testing it was originally built for was back in 2005 or 2006.