skarmani2002 / php-webdriver-bindings

Automatically exported from code.google.com/p/php-webdriver-bindings
0 stars 0 forks source link

how to run the phpwebdriver functional testcases in chrome browser #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Am created the php webdriver testcases but am not able to run in chrome 
browser
2.It's running fine in firefox and ie browsers
3. Manually started the chrome browser even though not able to run in chrome 
browser

What is the expected output? What do you see instead?
Expected output:webdriver testcases need to be run in chrome browser
some times it running in firefox browser

What version of the product are you using? On what operating system?
selenium version:selenium webdriver 2.19
Php unit version:maven php plugin 2.0-snapshot
OS:Windows,mac, linux

Please provide any additional information below.

if any knows please help me to solve the problem

Original issue reported on code.google.com by chelladu...@photoninfotech.net on 25 May 2012 at 2:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Show your Grid console configuration and webdriver log when you starting new 
chrome session and chrome driver log.

Original comment by hayo...@gmail.com on 2 Jun 2012 at 9:55

GoogleCodeExporter commented 9 years ago
This is the chrome driver log when i started manually and try run the testcases

[0.351][INFO]:      ChromeDriver 20.0.1133.0 C:\Documents and 
Settings\chelladurai_a\My 
Documents\Downloads\chromedriver_win_20.0.1133.0\chromedriver.exe

Original comment by chelladu...@photoninfotech.net on 4 Jun 2012 at 6:22

GoogleCodeExporter commented 9 years ago
sample php Webdriver code i used is the following code

$this->webdriver = new WebDriver("localhost", 4444); 
$this->webdriver->connect(googlechrome);

Original comment by chelladu...@photoninfotech.net on 4 Jun 2012 at 9:19

GoogleCodeExporter commented 9 years ago
Hi

Am using Selenium webdriver and the chrome driver only am not using the 
selenium grid.
Is it possible to run the test in chrome browser.

Regards
chelladurai

Original comment by chelladu...@photoninfotech.net on 21 Jun 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Yes, but the connection string is incorrect. It should be 

$this->webdriver->connect("chrome");

and we're also assuming you have ChromeDriver configured properly when starting 
Selenium server/Grid or that you have it in the system path.

it works fine for me with the above recommendations. I use Selenium 2.28, 
Chrome 27, don't know which version of ChromeDriver but not the latest.

Original comment by manga...@gmail.com on 9 Jun 2013 at 7:56