Selenium RC - Web Application Testing Tool
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Selenium RC - Web Application Testing Tool

on

  • 2,846 views

nseg #11 資料

nseg #11 資料

Statistics

Views

Total Views
2,846
Views on SlideShare
2,842
Embed Views
4

Actions

Likes
0
Downloads
33
Comments
0

2 Embeds 4

http://www.scoop.it 3
http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Selenium RC - Web Application Testing Tool Presentation Transcript

  • 1. Selenium RC - Web Application Testing ToolNSEG 11th at Jan-15-11 MONZENPLAZA"Software Test"Atsushi Sano < Twitter ID: sano66 >
  • 2. Why Not Test ?(1)
  • 3. original University of London Computer Center Newsletter, No.53, March 1973
  • 4. Why Not Test ?(2)
  • 5. Web Application
  • 6. Web Application Test (1)
  • 7. Web Application Test (2)
  • 8. Web Application Test (3)
  • 9. Selenium Selenium Core Selenium IDE Selenium Remote Control Selenium Grid Selenium on rails Selenium Ruby Selenium for Eclipse Bromine
  • 10. How to test with using Selenium RC ? 1. 2. Selenium Remote Control Server 3. 4.
  • 11. What is Test Script ? 1. 2.
  • 12. How to write Test Scenario ? ID
  • 13. Demo - "Travel" application
  • 14. Tips for Java String browserStartCommand = "*firefox /Users/sano/Applications/Firefox.app/Contents/MacOS/firefox-bin"; // String browserStartCommand = "*safari"; selenium = new DefaultSelenium("localhost", 4444, browserStartCommand, "http://localhost:8080/travel/"); selenium.start();table assertEquals(4, selenium.getXpathCount("//div[@id=hotelResults]/table/tbody/tr").intValue());JavaScript(Ajax) selenium.click("changeSearchLink"); selenium.waitForCondition("selenium.isElementPresent("searchString")", "30000"); (Firefox ) selenium.captureEntirePageScreenshot(captureImgDir + "testSearchFlow04.png", "background=#ffffff");
  • 15. Why Not Selenium ?Selenium RC
  • 16. And more ...Tire Swing Cartoon http://pages.uoregon.edu/ftepfer/SchlFacilities/TireSwingTable.html Project Cartoon tree swing picturesSelenium Selenium Web Site Selenium RC Documentation IBM developerWorks Selenium Remote Control Selenium 2.0 and WebDriver
  • 17. Credit title photo AuthorWeb Application Test(1) cc511Web Application Test(1) cc511Web Application Test(1) solylunafamiliaWeb Application Test(1) ke4Web Application Test(2) cc511How to write Test Scenario ? katiekills
  • 18. Thank you