Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.4

Bug #9337 Permission denied to get property Location.href
Submitted: 2006-11-15 14:01 UTC
From: daniel-hofstetter at gmx dot ch Assigned:
Status: Bogus Package: Testing_Selenium (version 0.2.1)
PHP Version: 5.1.6 OS: Debian Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 - 22 = ?

 
 [2006-11-15 14:01 UTC] daniel-hofstetter at gmx dot ch (Daniel Hofstetter)
Description: ------------ $this->selenium->open() causes an unexpected exception. I am using Selenium RC 0.9.0 and Firefox 1.5.0.7. Test script: --------------- class SeleniumTest extends UnitTestCase { function setUp() { $this->selenium = new Testing_Selenium("*firefox /usr/lib/firefox/firefox-bin", "http://www.google.com"); $result = $this->selenium->start(); } function tearDown() { $this->selenium->stop(); } function testFinal() { $this->selenium->open("http://pear.php.net/packages.php"); } } Expected result: ---------------- There shouldn't be an exception. Actual result: -------------- Exception: /home/dho/projects/xy/app/tests/app/cases/models/selenium.test.php -> SeleniumTest -> testFinal -> Unexpected exception of type [Testing_Selenium_Exception] with message [The Response of the Selenium RC is invalid: Permission denied to get property Location.href] in [/home/dho/projects/xy/app/vendors/Selenium.php] line [1200]

Comments

 [2006-11-15 17:28 UTC] daniel-hofstetter at gmx dot ch
I saw my error: I provided a different url in the constructor than used later in the code