Talk:Running Automated Tests for the Joomla CMS
| Line 37: | Line 37: | ||
Selenium messages (with errors messages) : | Selenium messages (with errors messages) : | ||
| − | < | + | <ref> C:\selenium\selenium-remote-control-1.0.1>c:\Programme\Java\jre1.6.0_07\bin\java |
.exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse | .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse | ||
11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23 | 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23 | ||
| Line 157: | Line 157: | ||
elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0 | elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0 | ||
164e05c1f8cf6\parent.lock on session null | 164e05c1f8cf6\parent.lock on session null | ||
| + | </ref> | ||
| + | |||
Can anybody help me please? | Can anybody help me please? | ||
Thanks | Thanks | ||
Revision as of 07:04, 16 February 2010
Create a Selenium Configuration File
Would var $baseURI of in be the same as public $live_site?
It could be, but we don't have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. Mark Dexter 22:01, 6 February 2010 (UTC)
Run the Test Suite
Where is / how do we create phpunit.bat?
phpunit.bat is created when you install PHPUnit (in Windows). In Linux I would guess that it is just phpunit. Mark Dexter 22:02, 6 February 2010 (UTC)
Failed to start new browser session, shutdown browser and
clear all session data... Lock file still present!
Hi All,
I installed all, how it is written on Running_Automated_Tests_for_Version_1.6, i see my Firefox(3.6, WinXPSP3)-processes(new) in the taskbar started, but the second browser window was not opened! After that I see another try the FF to start, without success and so on.
Start of Tests:
C:\Dokumente und Einstellungen\fpolyak>cd c:\xampp\htdocs\joomla\tests\system\
C:\xampp\htdocs\joomla\tests\system>c:\xampp\php\phpunit.bat --bootstrap servers \configdef.php suite\TestSuite.php PHPUnit 3.4.10 by Sebastian Bergmann.
Starting ControlPanelMenu. E^CBatchvorgang abbrechen (J/N)? j
C:\xampp\htdocs\joomla\tests\system>
Selenium messages (with errors messages) :
Can anybody help me please?
Thanks
Cite error:
<ref> tags exist, but no <references/> tag was found