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
[locations]
1=Stamford_Office
default=Stamford_Office
[Stamford_Office]
1=Lizi-Test
label=Stamford Office Location
[Lizi-Test]
browser=Chrome,Firefox
label="Lizi's Laptop"
=====Client side c:\webpagetest\agent\userblast.ini
[Configuration]
Startup Delay=30
Log File=c:\webpagetest\agent\urlblast
Timeout=120
use current account=1
; Where to get work from
Url Files Url=http://{server}/work/
Location=Lizi-Test
=====Client side c:\webpagetest\agent\wptdrive.ini
[WebPagetest]
url=http://{server}/
location=Lizi-Test
browser=Chrome
;key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat
[Chrome]
exe="C:\Users\{me}\AppData\Local\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server'
installer=http://www.webpagetest.org/installers/browsers/chrome.dat
[Firefox]
exe="C:\Program Files\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox
======= my wpt server:
{server}/getTesters.php: Found my machine:
It's a great Monday

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.
[Firefox]
exe="C:\Program Files\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox