1
vote
0answers
17 views

Selenium 2 Test “_blank” Window

i'm runnin a hedless selenium (PHPUnit) Test on my VM this way: Xvfb :99 -ac &>/dev/null & DISPLAY=:99 java -jar selenium-server-standalone-2.33.0.jar -browserSideLog ...
0
votes
0answers
25 views

select a option with selenium2+phpunit

I got a select element that look like this, now I want to open it up and select the option with value t3, so I tried it like this: <select id="selectMenu"> <option ...
0
votes
0answers
10 views

Having trouble with clickAndWait() underPHPUnit

I want to run functional tests on the login form of a web application. 1 - I open the Selenium IDE in Firefox and I record the following lines : <tr> ...
0
votes
0answers
40 views

Selenium waitFor and confirm combinations

I am running Selenium on a page showing a list of objects and a 'delete' link for each object. Whenever the user clicks on the delete link, a confirm dialog shows and asks for confirmation. If the ...
0
votes
1answer
20 views

Global variabels in phpunit_Selenium2

I have a array with names I use to generate random names in a form and I want to use it in more then one function. class TestMyTest extends PHPUnit_Extensions_Selenium2TestCase { public function ...
0
votes
0answers
35 views

Selenium + phpunit, Screenshots in Chrome and InternerExplorer Failure

I have a test in phpunit that uses Selenium and take screenshots on failed tests and in key points. It work on Firefox but not in Chrome and Internet explorer(remote win7 machine). The code to take ...
0
votes
1answer
43 views

PHPUnit with Selenium2 - share session not working

I'm doing some tests with PHPUnit and Selenium and i would like all of them to run in the same browser window. I've tried starting the Selenium Server with java -jar ...
0
votes
0answers
13 views

PHPUnit testing Flash Content with Selenium RC

i wrote some Tests using PHPUnit(3.7) and SeleniumRC(Selenium-server-standalone-2.33.0jar) for my Webpage. Now i stuck in a problem want to test if a flash movie is beeing played when button on the ...
0
votes
2answers
45 views

PHPUnit Sellenium 2 extension setting cookies

I'm trying to set cookies before test but for some reason they are not set. Here is my example code: class WebTest extends PHPUnit_Extensions_Selenium2TestCase { protected function setUp() { ...
0
votes
1answer
60 views

Functional testing clickAndWait not working

I am writing web application in yii with the phpunit selenum testing here is my test case for the login form public function testHasLoginForm() { $this->open('site/login'); ...
0
votes
1answer
25 views

How can i get html headers with phpunit using Selenium2?

public function testheaders() { $url=$this->url('http://www.example.com/index.php'); $kur = get_headers($url); var_dump($kur); } I got the error : get_headers(): ...
0
votes
1answer
29 views

phpunit-selenium with firebug

I've been looking for a way to run phpunit-selenium with firefox+firebug addon. I've found examples for Selenium with Java and C# but not with PHPUnit. Could someone please point me in the right ...
0
votes
0answers
35 views

Internal server error when using xpath

*I am using Selenium2 server and PHPUnit to run some basic unit tests, I am trying to click on the input field in this table: <table id="items"> <tbody > ...
0
votes
1answer
24 views

How to deal with byClassName in Selenium and PHPUnit

I have multiple elements with the same class name and no id, I need to get the first element with the class name. so lets say the html looks like this: <table class="default-table"> ...
0
votes
0answers
34 views

Internal server error when using certain locators in selenium

Whenever I try to locate an element that does not have an id but a lass instead I get the following error: PHPUnit_Extensions_Selenium2TestCase_WebDriverException: Internal server error w hile ...

1 2 3 4 5 17
15 30 50 per page