You are here: Home Members jhb old blog entries selenium_testing
Personal tools

selenium_testing

— filed under: ,

can selenium really replace funkload

http://johnmudd.infogami.com/blog/5be6
http://www.ibm.com/developerworks/web/library/wa-selenium-ajax/


Install

Download selenium-rc
unzip it
have a startup script

#!/bin/bash
#export PATH=$PATH:/home/joerg/tmp/firefox
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/joerg/tmp/firefox
export MOZ_NO_REMOTE=1
export PATH=$PATH:/usr/lib/iceweasel
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/iceweasel
java -jar selenium-server.jar -interactive

Create a new profile for firefox

http://kb.mozillazine.org/Session_Restore#Disable

How do we test Ajax with selenium?

http://agiletesting.blogspot.com/2006/03/ajax-testing-with-selenium-using_21.html

gives the idea that maybe extensions might be the way to go.

Reading
http://forums.openqa.org/thread.jspa?messageID=25902
makes tells me that maybe we don't need extensions - instead of that we
just feed a sleep/wait in js to the
browser, using get_eval

Http authentication
http://freshfoo.com/blog/2006/11/http-auth-and-selenium.html

Do we really want to use python written tests, or are we better of using
normal selenium/table driven?
Can selenium do everything that funkload does?

Document Actions