slide1 l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Testing Web Applications with Selenium & Selenium Remote Control Gojko Adzic gojko@gojko gojko PowerPoint Presentation
Download Presentation
Testing Web Applications with Selenium & Selenium Remote Control Gojko Adzic gojko@gojko gojko

Loading in 2 Seconds...

play fullscreen
1 / 18

Testing Web Applications with Selenium & Selenium Remote Control Gojko Adzic gojko@gojko gojko - PowerPoint PPT Presentation


  • 381 Views
  • Uploaded on

Testing Web Applications with Selenium & Selenium Remote Control Gojko Adzic gojko@gojko.com http://gojko.net. Automate Web user interface tests Verify functionality in different browsers on different platforms Check periodically to see if the site is on-line and works correctly.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Testing Web Applications with Selenium & Selenium Remote Control Gojko Adzic gojko@gojko gojko' - tamatha


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1
Testing Web Applications with Selenium & Selenium Remote Control

Gojko Adzic

gojko@gojko.com

http://gojko.net

why should you care

Automate Web user interface tests

Verify functionality in different browsers on different platforms

Check periodically to see if the site is on-line and works correctly

Why should you care?
selenium in a nut shell

Javascript functional test runner

Started by Jason Huggins, Paul Gross and Jie Tina Wang, in 2004.

Opensource product

Actively developed and maintained by Thoughtworks

Download from OpenQA.org

Selenium in a nut-shell
selenese the language of selenium

Lots of different commands to manipulate DOM elements and verify text, DOM or timing

Locate elements by name, id, xpath...

Tests are described as tables

Selenese – the language of Selenium
selenium core
Selenium - Core

http://selenium.openqa.org/

selenium ide
Selenium - IDE
  • Firefox extension
  • Record-replay
  • Command reference
  • save/export/load tests

http://selenium-ide.openqa.org

selenium rc
Selenium-RC
  • Automate Selenium tests from Java/.NET/Ruby etc
  • Execute in multiple browsers, on remote machines
  • Integrate into wider business tests and CI tools

http://selenium-rc.openqa.org

selenium grid
Selenium Grid
  • Run tests on multiple machines in parallel
  • Solves the biggest problem with Selenium, speed
  • Supports EC2

http://selenium-grid.openqa.org

cubictest
CubicTest
  • Visual test management
  • Eclipse-based
  • Mocking up web sites based on test scripts

http://www.cubictest.com

storytestiq
StoryTestIQ
  • Wiki-based
  • Mashup of Selenium and FitNesse
  • Run SQL commands
  • Integrate with CI tools

http://storytestiq.solutionsiq.com/

webtest fixtures
WebTest fixtures
  • FitNesse fixtures for Selenium
  • User-friendly language or direct selenium RC access
  • Integrate Selenium in your business tests

http://www.fitnesse.info/webtest

domain specific testing language
Domain specific testing language

Agile 2008 presentation from Solutions IQ

what s good
What's good?
  • Relatively easy to automate web UI tests
  • Record/Replay for regression tests
  • RC allows integration with CI and JUnit/FitNesse tests
what s bad
What's bad?
  • Speed: RC->Browser communication is a speed bottleneck (run in grid, overnight)‏
  • UI is brittle, tests depending on the UI break a lot (DSTL might fix this, page abstractions as well)‏
  • Data-backed tests are not easily repeatable (integrate with DB test engines)‏
best practices
Best practices
  • Use Selenium to verify workflow and session
  • Don't use it to check business rules
  • Don't put Selenium tests in your main development build – run them overnight
  • Have dedicated machines that run tests
  • DON'T THINK OF THIS AS A REPLACEMENT FOR EXPLORATORY TESTING!!!
slide16
Although selenium is an essential trace element, it is toxic if taken in excess.

Wikipedia on chemical element Selenium

links
Links
  • http://gojko.net
  • http://www.openqa.org
  • http://www.solutionsiq.com/agile2008/agile-2008-domain.php
  • http://storytestiq.solutionsiq.com
  • http://www.cubictest.com
  • http://fitnesse.info/webtest
some important dates
Some important dates
  • 18th September: Agile Acceptance Testing
  • 25th September: Script #, .NET response to Google Web Toolkit
  • 23rd October: Dependency injection with Castle Windsor
  • 27th November: Asynchronous enterprise .NET applications with NServiceBus
  • 17th December: Test driven development in .NET