My current testcases are not working with new selenium 2.34.0 and php (edit added code and log file from selenium) -


i using selenium 2.34.0 + phpunit , cant recognize "code". using $this->url('blqblq') , error cant recognize command url. have same problem? when "revert" 2.33 tests working flawlessly :). phpunit version 3.7.21 , phpunit_selenium latest 1.3.1. thank you. "code"

<?php //require_once 'setupfile.php';   class testtestest extends phpunit_extensions_selenium2testcase //extends setupfile {        public function setup()          {             $this->setbrowser('firefox');             $this->setbrowserurl('http://www.stackoverflow.com');          }               public function testexample()          {               $this->url('http://www.stackoverflow.com');               $this->assertequals('example www page', $this->title());          } }  ?> 

my debug log file selenium 2.34.0 located here -> http://fikata.ivo.so/test234.txt

edit 2 :)

i went responce.php in phpunit_selenium , var_dump($info); in: 1)2.34 vardump return this:

phpunit 3.7.21 sebastian bergmann.  earray(26) {   'url' =>   string(36) "http://127.0.0.1:4444/wd/hub/session"   'content_type' =>   string(30) "application/json;charset=utf-8"   'http_code' =>   int(200)........ 

2)2.33 vardump return this:

phpunit 3.7.21 sebastian bergmann.  farray(26) {   'url' =>   string(73) "http://127.0.0.1:4444/wd/hub/session/66aacaaa-6690-46a4-9d1b-5f75b 3d48d53"   'content_type' =>   string(30) "application/json;charset=utf-8"   'http_code' =>   int(200)   'header_size' =>   int(536)......... 

obviusly difference in session id, why not there 2.34. ? please advice thanks.

this bc break selenium server. phpunit bindings have been updated compatible versions of server now:

https://github.com/sebastianbergmann/phpunit-selenium/pull/266

upgrade master branch (or next release 1.3.2 when available) fix.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -