Re: Testing_Selenium, how to ?

From: Date: Sun, 22 Oct 2006 18:01:44 +0000
Subject: Re: Testing_Selenium, how to ?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25589@lists.php.net to get a copy of this message
Le 22 oct. 06 à 19:07, Shin Ohno a écrit :
Hi, I'm the author of this package. Well done and thank you, this will be extremely useful to me
Hmm. I do not have mac osX and can not run with safari, but it should work.
INFO: Started org.mortbay.jetty.Server@e94e92 queryString = cmd=getNewBrowserSession&1=*safari&2=http://pear.php.net/ Launching Safari to visit http://pear.php.net/selenium-server/core/ SeleneseRunner.html?sessionId=1161527669730 via /tmp/ customProfileDir1161527669730/redirect_to_go_to_selenium.htm...
Did the browser launch, when you run the example code? If it did not, it might be the PATH problem. Yes, it did. Opens http://mysite/selenium-server/core/SeleneseRunner.html?sessionId=1161537486525 which results in a 404 error.
Can you check the follwing website and you can use Selenium RC itself: http://www.openqa.org/selenium-rc/tutorial.html
Thank you for this link I hadn't read (sorry, forgot to RTFM Until The End) where I found a workaround (the proxy thing). But I still have the problem occuring with safari When using the selenium server wether in interactive mode or Testing_Selenium = cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com - Using Firefox = Ok (auto proxy setup correctly by the server) - Using Safari = Failure (shows google 404 error) Anyway whenever I need to do some testing on Safari, I'll setup manually the http proxy in my network settings.
Thanks, Shin On 10/22/06, arnaud sellenet <demental@sat2way.com> wrote:
Hi I'm really interested in Testing_selenium, so I installed it and tried to make it work. I'm under mac osX and followed the Readme and the example included in the package. Launching example.php (from CLI or browser) fails. The only thing I did is replace *firefox by *safari. This is the selenium-server logs (I started the server included in the Testing_Selenium package) : 22 oct. 2006 16:34:24 org.mortbay.http.HttpServer doStart INFO: Version Jetty/0.8.1 22 oct. 2006 16:34:24 org.mortbay.util.Container start INFO: Started HttpContext[/,/] 22 oct. 2006 16:34:24 org.mortbay.util.Container start INFO: Started HttpContext[/selenium-server,/selenium-server] 22 oct. 2006 16:34:24 org.mortbay.util.Container start INFO: Started HttpContext[/selenium-server/driver,/selenium-server/ driver] 22 oct. 2006 16:34:24 org.mortbay.http.SocketListener start INFO: Started SocketListener on 0.0.0.0:4444 22 oct. 2006 16:34:24 org.mortbay.util.Container start INFO: Started org.mortbay.jetty.Server@e94e92 queryString = cmd=getNewBrowserSession&1=*safari&2=http://pear.php.net/ Launching Safari to visit http://pear.php.net/selenium-server/core/ SeleneseRunner.html?sessionId=1161527669730 via /tmp/ customProfileDir1161527669730/redirect_to_go_to_selenium.htm... As you can see the server opens in a safari instance : http://pear.php.net/selenium-server/core/SeleneseRunner.html? sessionId=1161527669730 Instead of (I guess...) http://localhost:4444/selenium-server/core/SeleneseRunner.html? sessionId=1161527669730 Did I miss something ? -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--Shin


« previous php.pear.general (#25589) next »