Current time: 12-12-2019, 10:31 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All browsers are closed when test completes
05-07-2015, 08:42 PM
Post: #1
All browsers are closed when test completes
Hi all,

Here is the complete steps:
1. Test agent :Chrome

[WebPagetest]
url=http://127.0.0.1/
location=Test
browser=Chrome
Time Limit=120
;key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat

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


[IE]
exe="C:\Program Files (x86)\Internet Explorer\iexplore.exe"

2. I launched IE and entered the URL "some xxx", choose Chrome browser and click start test.

3. WPTdriver launched "Chrome" and the specified URL was displayed in Chrome.

4. Both the Chrome browser and IE closes after some time.

Logically Chrome can close as the test is completed successfully, But why does IE close? Am confused as how do I see my resultsSad

Please also not that both my agent and IE browser are in the same machine(not VM)

As per Patrick comments in below thread, IE should not close right?

RE: WPT close all Browsers after Test completed
Correct. It is expecting to run on a dedicated test machine or VM and that is part of the cleanup to make sure no stray processes are left running. If you want to test locally you should be able to use a different browser than what is being used for the test and it should stay up (using IE when running Chrome tests for example).
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)