Selenium RC - Web Application Testing Tool

2,750 views

Published on

nseg #11 資料

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,750
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Selenium RC - Web Application Testing Tool

  1. 1. Selenium RC - Web Application Testing ToolNSEG 11th at Jan-15-11 MONZENPLAZA"Software Test"Atsushi Sano < Twitter ID: sano66 >
  2. 2. Why Not Test ?(1)
  3. 3. original University of London Computer Center Newsletter, No.53, March 1973
  4. 4. Why Not Test ?(2)
  5. 5. Web Application
  6. 6. Web Application Test (1)
  7. 7. Web Application Test (2)
  8. 8. Web Application Test (3)
  9. 9. Selenium Selenium Core Selenium IDE Selenium Remote Control Selenium Grid Selenium on rails Selenium Ruby Selenium for Eclipse Bromine
  10. 10. How to test with using Selenium RC ? 1. 2. Selenium Remote Control Server 3. 4.
  11. 11. What is Test Script ? 1. 2.
  12. 12. How to write Test Scenario ? ID
  13. 13. Demo - "Travel" application
  14. 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. 15. Why Not Selenium ?Selenium RC
  16. 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. 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. 18. Thank you

×