What's the best setup for Test Agent?

Over the weekend, I was working on getting WPT setup with no luck.

  • “The test completed but there were no successful results.”

I think the issue here is that I am using my work laptop as Test Machine. My work machine have a lot of access control going on. What would your suggestion as a best config for Test Machine?

I also found that every time when I start “Wptdriver.exe”, all my browsers - IE,Chrome,Fixfox got closed.

And today, “wptdriver.exe” will start update process - keep try to get firefox updated. Since there is a UAC existing, the update is always fails.

Now, my question is, should Test Machine be solely serve as a test machine? If yes, if I can’t apply for a new machine, any suggestion on it?

Yes, the test machine should be dedicated as a test machine. You can run the web server on the same machine but you shouldn’t use a desktop machine that users interact with. The browsers being tested will launch on the screen, take focus and become topmost above everything else.

I haven’t seen it close all of the browsers before (I open browsers to do localhost testing when I do dev and they stay up fine) but it could be something with the environment.

Disabling UAC is one of the requirements.

If you can’t get a dedicated machine, can you run VMWare or some form of virtualization and run a VM within your current machine?

I have turned of the UAC by: control panel → user account → Change user account control setting → Change the value to be “never notify”. However, the close all browsers still happen when I start wptdriver.exe. Also get update software fails after start up wptdriver.exe . I am starting up wptdiriver.exe manually instead of putting it in startup.

I still run the test agent in my work machine. Thinking of iron out issues before I get a dedicated machine.

Here is my setting:
================ Server side: Locations.ini

label=Stamford Office Location

label=“Lizi’s Laptop”

=====Client side c:\webpagetest\agent\userblast.ini
Startup Delay=30
Log File=c:\webpagetest\agent\urlblast
use current account=1

; Where to get work from
Url Files Url=http://{server}/work/

=====Client side c:\webpagetest\agent\wptdrive.ini
;Automatically install and update support software (Flash, Silverlight, etc)

options=’–load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server’

exe=“C:\Program Files\Mozilla Firefox\firefox.exe”
options=’-profile “%PROFILE%” -no-remote’

======= my wpt server:
{server}/getTesters.php: Found my machine:

It’s a great Monday :slight_smile: Got the first test working!!!

I found where the issue was:

The Firefox config was wrong in my config. After I commented it, the test start to work! The close down browser issue still exist but I could live with it for now.

exe=“C:\Program Files\Mozilla Firefox\firefox.exe”
options=’-profile “%PROFILE%” -no-remote’