Selenium RC - Web Application Testing Tool

  • 2,365 views
Uploaded on

nseg #11 資料

nseg #11 資料

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,365
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
33
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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