Get started with Selenium!

View previous topic View next topic Go down

Get started with Selenium!

Post by discovery on Mon Mar 21, 2011 6:44 am

Get started with Selenium!




0. Watch: see the magic.





2 Minute Intro




1. Begin: write and run tests in Firefox.






Selenium IDE
is a Firefox add-on that records clicks, typing, and other
actions to make a test, which you can play back in the
browser.






2. Customize: your language, your browser.






Selenium
Remote Control (RC)
runs your tests in multiple browsers and
platforms.
Tweak your tests in your preferred
language
.






3. Deploy: scale out, speed up.






Selenium Grid
extends Selenium RC to distribute your tests across multiple
servers, saving you time by running tests in parallel.



LINK:

http://seleniumhq.org/



...

____________________________________________________
avatar
discovery

الجنس : Male

عدد المساهمات : 1114
النقاط : 30702
التقييم : 12
تاريخ التسجيل : 2010-04-28

View user profile

Back to top Go down

Re: Get started with Selenium!

Post by discovery on Mon Mar 21, 2011 6:56 am

Selenium tutorial/overview




1. Selenium Introduction


2. Selenium Installation


3. Getting Started/Selenium RC steps


4. Selenium Tips and Quirks/FAQ


5. Extending Selenium


6. Selenium 2(pros/cons)


7. Load testing with selenium


8. Good Resources


9. Alternatives to Selenium



Selenium Introduction/Overview




What does selenium do ?

You can use opensource(ie free!) - Selenium tool ( selenium IDE is a
plugin to firefox) to record and playback tests (like WinRunner, QTP).
You can then export the recorded test in most language e.g. html, Java ,
.net , perl , ruby etc. The exported test can be run in any browser and
any platform using "selenium remote control".


Selenium Flash Demo(Highly recommended for beginners) :
http://wiki.openqa.org/download/attachments/400/Selenium+IDE.swf?version=1


What are the components of selenium ?

Selenium IDE - Plugin to Firefox to record and play test in firefox
and also export tests in different languages. The most appealing
format is the html test case which seems to based on fit html .
Selenium RC- Allows playing of exported test in different platform/OS
Selenium Grid - Allows to control lots of selenium machines(you
typically dont need this only for load test -and hence may ignore it)..


Other Project Management/wrapper tools around selenium:

Bromine(wrapper for selenium tests):
http://bromine.openqa.org/
Warning: The above tool at this moment(Oct 2008) is very primitive - with little
documentation/flash demo. To uninstall bromine -
you may have to kill all process(e.g. mysqld etc) it started and then
delete the installation folder.


How does Selenium remote control internally works ?

Selenium RC launches the browser with itself as the proxy server (hence
you may get certificate warning in some modes) and then it injects
javascript - to play the test. This also means it can easily work in ALL
browsers/platform - and it can be easily used to test AJAX(unlike
professional tools).




What are the different modes that Selenium RC uses ?
With latest release of Selenium RC(1.0 beta 2) there
are two modes for IE *iexplore(same as *iehta) and *iexploreproxy.
Similarly for Firefox use *firefox(same as *chrome) and *firefoxproxy.
You should prefere *iexplore(ie *iehta) and *firefox (ie *chrome)
respectively as they work with cross domain.



Who should use it ?


Developers can use it - for “browser” regression testing ( and replace htmlunit/httpunit in some cases) .


Per the one of the forces behind selenium(Neal ford) - it should really be used by Business Analyst first .


QA should enhance/use it do regression test/cross browsers testing on all platforms


MORE :

http://www.jroller.com/selenium/

____________________________________________________
avatar
discovery

الجنس : Male

عدد المساهمات : 1114
النقاط : 30702
التقييم : 12
تاريخ التسجيل : 2010-04-28

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum