Re: Testing_Selenium, how to ?

From: Date: Sun, 22 Oct 2006 17:07:22 +0000
Subject: Re: Testing_Selenium, how to ?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25588@lists.php.net to get a copy of this message
Hi, I'm the author of this package. 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. Can you check the follwing website and you can use Selenium RC itself: http://www.openqa.org/selenium-rc/tutorial.html 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 (#25588) next »