SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Selenium RC - Web Application Testing Tool


NSEG 11th at Jan-15-11 MONZENPLAZA
"Software Test"
Atsushi Sano < Twitter ID: sano66 >
Why Not Test ?(1)
original University of London Computer Center Newsletter, No.53, March 1973
Why Not Test ?(2)
Web Application
Web Application Test (1)
Web Application Test (2)
Web Application Test (3)
Selenium




 Selenium Core

 Selenium IDE

 Selenium Remote Control

 Selenium Grid   Selenium on rails   Selenium Ruby   Selenium for Eclipse   Bromine
How to test with using Selenium RC ?



                                       1.



                                       2. Selenium Remote
                                          Control Server


                                       3.


                                       4.
What is Test Script ?



                        1.

                        2.
How to write Test Scenario ?




               ID
Demo - "Travel" application
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");
Why Not Selenium ?




Selenium RC
And more ...


Tire Swing Cartoon
      http://pages.uoregon.edu/ftepfer/SchlFacilities/TireSwingTable.html

      Project Cartoon

      tree swing pictures

Selenium
      Selenium Web Site
      Selenium RC Documentation

      IBM developerWorks Selenium Remote Control

      Selenium 2.0 and WebDriver
Credit


           title               photo      Author



Web Application Test(1)                cc511




Web Application Test(1)                cc511




Web Application Test(1)                solylunafamilia




Web Application Test(1)                ke4




Web Application Test(2)                cc511




How to write Test Scenario ?           katiekills
Thank you

Weitere ähnliche Inhalte

Was ist angesagt?

Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Furqan Ud Din
 
Run Selenium Tests With Jenkins and BrowseEmAll
Run Selenium Tests With Jenkins and BrowseEmAllRun Selenium Tests With Jenkins and BrowseEmAll
Run Selenium Tests With Jenkins and BrowseEmAllDaniel Herken
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Seleniumadamcarmi
 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridDaniel Herken
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin MishraPravin Mishra
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Seleniumadamcarmi
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Puneet Kala
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011hugs
 
Selenium Basics Crashcourse
Selenium Basics CrashcourseSelenium Basics Crashcourse
Selenium Basics CrashcourseDaniel Herken
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Yuriy Gerasimov
 
Selenium 2 for PHP(Unit)
Selenium 2 for PHP(Unit)Selenium 2 for PHP(Unit)
Selenium 2 for PHP(Unit)AOE
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Seleniumvivek_prahlad
 

Was ist angesagt? (20)

Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1
 
Run Selenium Tests With Jenkins and BrowseEmAll
Run Selenium Tests With Jenkins and BrowseEmAllRun Selenium Tests With Jenkins and BrowseEmAll
Run Selenium Tests With Jenkins and BrowseEmAll
 
Selenium Webdriver
Selenium WebdriverSelenium Webdriver
Selenium Webdriver
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Selenium
 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 Grid
 
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium
SeleniumSelenium
Selenium
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
Selenium
SeleniumSelenium
Selenium
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
 
Selenium Basics Crashcourse
Selenium Basics CrashcourseSelenium Basics Crashcourse
Selenium Basics Crashcourse
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
 
Selenium
SeleniumSelenium
Selenium
 
Selenium 2 for PHP(Unit)
Selenium 2 for PHP(Unit)Selenium 2 for PHP(Unit)
Selenium 2 for PHP(Unit)
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 

Andere mochten auch

XBOSoft Web Application Testing Challenges
XBOSoft Web Application Testing ChallengesXBOSoft Web Application Testing Challenges
XBOSoft Web Application Testing ChallengesXBOSoft
 
[CLIW] Web testing
[CLIW] Web testing[CLIW] Web testing
[CLIW] Web testingBogdan Gaza
 
Testing web application with Python
Testing web application with PythonTesting web application with Python
Testing web application with PythonJachym Cepicky
 
Introduction To Web Application Testing
Introduction To Web Application TestingIntroduction To Web Application Testing
Introduction To Web Application TestingYnon Perek
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web applicationtechbed
 
MIS - Management Information System
MIS - Management Information SystemMIS - Management Information System
MIS - Management Information SystemAspelec
 
Web App Testing - A Practical Approach
Web App Testing - A Practical ApproachWeb App Testing - A Practical Approach
Web App Testing - A Practical ApproachWalter Mamed
 
Web Application Testing
Web Application TestingWeb Application Testing
Web Application TestingRicha Goel
 
Web application security & Testing
Web application security  & TestingWeb application security  & Testing
Web application security & TestingDeepu S Nath
 

Andere mochten auch (12)

XBOSoft Web Application Testing Challenges
XBOSoft Web Application Testing ChallengesXBOSoft Web Application Testing Challenges
XBOSoft Web Application Testing Challenges
 
[CLIW] Web testing
[CLIW] Web testing[CLIW] Web testing
[CLIW] Web testing
 
Testing web application with Python
Testing web application with PythonTesting web application with Python
Testing web application with Python
 
Introduction To Web Application Testing
Introduction To Web Application TestingIntroduction To Web Application Testing
Introduction To Web Application Testing
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
 
Web application Testing
Web application TestingWeb application Testing
Web application Testing
 
MIS - Management Information System
MIS - Management Information SystemMIS - Management Information System
MIS - Management Information System
 
Web App Testing - A Practical Approach
Web App Testing - A Practical ApproachWeb App Testing - A Practical Approach
Web App Testing - A Practical Approach
 
Web Application Testing
Web Application TestingWeb Application Testing
Web Application Testing
 
Testing web application
Testing web applicationTesting web application
Testing web application
 
Web application security & Testing
Web application security  & TestingWeb application security  & Testing
Web application security & Testing
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 

Ähnlich wie Selenium RC - Web Application Testing Tool

Getting started with Selenium 2
Getting started with Selenium 2Getting started with Selenium 2
Getting started with Selenium 2Sebastiano Armeli
 
前端網頁自動測試
前端網頁自動測試 前端網頁自動測試
前端網頁自動測試 政億 林
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersAjit Jadhav
 
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...Edureka!
 
Boston selenium meetup: Selenium 2
Boston selenium meetup: Selenium 2Boston selenium meetup: Selenium 2
Boston selenium meetup: Selenium 2epall
 
Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online TrainingSamatha Kamuni
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfAnuragMourya8
 
The history of selenium
The history of seleniumThe history of selenium
The history of seleniumArun Motoori
 
MDC2011 Android_ Webdriver Automation Test
MDC2011 Android_ Webdriver Automation TestMDC2011 Android_ Webdriver Automation Test
MDC2011 Android_ Webdriver Automation TestMasud Parvez
 
Tellurium At Rich Web Experience2009
Tellurium At Rich Web Experience2009Tellurium At Rich Web Experience2009
Tellurium At Rich Web Experience2009John.Jian.Fang
 
2013 10-10 selenium presentation to ocjug
2013 10-10 selenium presentation to ocjug2013 10-10 selenium presentation to ocjug
2013 10-10 selenium presentation to ocjugPhilip Schlesinger
 
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Ondřej Machulda
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Atirek Gupta
 

Ähnlich wie Selenium RC - Web Application Testing Tool (20)

Getting started with Selenium 2
Getting started with Selenium 2Getting started with Selenium 2
Getting started with Selenium 2
 
前端網頁自動測試
前端網頁自動測試 前端網頁自動測試
前端網頁自動測試
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And Answers
 
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...
Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Train...
 
Boston selenium meetup: Selenium 2
Boston selenium meetup: Selenium 2Boston selenium meetup: Selenium 2
Boston selenium meetup: Selenium 2
 
Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online Training
 
Introduction to selenium web driver
Introduction to selenium web driverIntroduction to selenium web driver
Introduction to selenium web driver
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Introduction to selenium web driver
Introduction to selenium web driverIntroduction to selenium web driver
Introduction to selenium web driver
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
The history of selenium
The history of seleniumThe history of selenium
The history of selenium
 
MDC2011 Android_ Webdriver Automation Test
MDC2011 Android_ Webdriver Automation TestMDC2011 Android_ Webdriver Automation Test
MDC2011 Android_ Webdriver Automation Test
 
Tellurium At Rich Web Experience2009
Tellurium At Rich Web Experience2009Tellurium At Rich Web Experience2009
Tellurium At Rich Web Experience2009
 
2013 10-10 selenium presentation to ocjug
2013 10-10 selenium presentation to ocjug2013 10-10 selenium presentation to ocjug
2013 10-10 selenium presentation to ocjug
 
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
 
Selenium
SeleniumSelenium
Selenium
 

Mehr von Atsushi Sano

はじめてのSpring Security
はじめてのSpring SecurityはじめてのSpring Security
はじめてのSpring SecurityAtsushi Sano
 
サラリーマンのためのフォントの話
サラリーマンのためのフォントの話サラリーマンのためのフォントの話
サラリーマンのためのフォントの話Atsushi Sano
 
開発環境の今昔
開発環境の今昔開発環境の今昔
開発環境の今昔Atsushi Sano
 
Sier and environment
Sier and environmentSier and environment
Sier and environmentAtsushi Sano
 
Design foundation 04
Design foundation 04Design foundation 04
Design foundation 04Atsushi Sano
 
Agile evening 22_jul_13
Agile evening 22_jul_13Agile evening 22_jul_13
Agile evening 22_jul_13Atsushi Sano
 
Something with yammer API
Something with yammer APISomething with yammer API
Something with yammer APIAtsushi Sano
 
03 spring framework
03 spring framework03 spring framework
03 spring frameworkAtsushi Sano
 
アプリケーションコンテキストの取得の仕方
アプリケーションコンテキストの取得の仕方アプリケーションコンテキストの取得の仕方
アプリケーションコンテキストの取得の仕方Atsushi Sano
 
Spring Frameworkを理解する3つの理由
Spring Frameworkを理解する3つの理由Spring Frameworkを理解する3つの理由
Spring Frameworkを理解する3つの理由Atsushi Sano
 
はじめてのspringframework
はじめてのspringframeworkはじめてのspringframework
はじめてのspringframeworkAtsushi Sano
 

Mehr von Atsushi Sano (14)

1st security lt
1st security lt1st security lt
1st security lt
 
はじめてのSpring Security
はじめてのSpring SecurityはじめてのSpring Security
はじめてのSpring Security
 
サラリーマンのためのフォントの話
サラリーマンのためのフォントの話サラリーマンのためのフォントの話
サラリーマンのためのフォントの話
 
開発環境の今昔
開発環境の今昔開発環境の今昔
開発環境の今昔
 
Sier and environment
Sier and environmentSier and environment
Sier and environment
 
Agile evening#04
Agile evening#04Agile evening#04
Agile evening#04
 
Design foundation 04
Design foundation 04Design foundation 04
Design foundation 04
 
Agile evening 22_jul_13
Agile evening 22_jul_13Agile evening 22_jul_13
Agile evening 22_jul_13
 
Something with yammer API
Something with yammer APISomething with yammer API
Something with yammer API
 
03 spring framework
03 spring framework03 spring framework
03 spring framework
 
03 annotation
03 annotation03 annotation
03 annotation
 
アプリケーションコンテキストの取得の仕方
アプリケーションコンテキストの取得の仕方アプリケーションコンテキストの取得の仕方
アプリケーションコンテキストの取得の仕方
 
Spring Frameworkを理解する3つの理由
Spring Frameworkを理解する3つの理由Spring Frameworkを理解する3つの理由
Spring Frameworkを理解する3つの理由
 
はじめてのspringframework
はじめてのspringframeworkはじめてのspringframework
はじめてのspringframework
 

Selenium RC - Web Application Testing Tool

  • 1. Selenium RC - Web Application Testing Tool NSEG 11th at Jan-15-11 MONZENPLAZA "Software Test" Atsushi Sano < Twitter ID: sano66 >
  • 3. original University of London Computer Center Newsletter, No.53, March 1973
  • 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.
  • 15. 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");
  • 16. Why Not Selenium ? Selenium RC
  • 17. And more ... Tire Swing Cartoon http://pages.uoregon.edu/ftepfer/SchlFacilities/TireSwingTable.html Project Cartoon tree swing pictures Selenium Selenium Web Site Selenium RC Documentation IBM developerWorks Selenium Remote Control Selenium 2.0 and WebDriver
  • 18. Credit title photo Author Web Application Test(1) cc511 Web Application Test(1) cc511 Web Application Test(1) solylunafamilia Web Application Test(1) ke4 Web Application Test(2) cc511 How to write Test Scenario ? katiekills