1 / 10

Selenium

Selenium. Val Kravets , Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz , Brian Ramnarian , Todd Watson. Selenium. Portable software testing framework for web applications Developed by ThoughtWorks in 2004 Open source application released under the Apache 2.0 license

raquel
Download Presentation

Selenium

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Selenium Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, LeylaNorooz, Brian Ramnarian, Todd Watson

  2. Selenium • Portable software testing framework for web applications • Developed by ThoughtWorks in 2004 • Open source application released under the Apache 2.0 license • Made up of the Selenium WebDriver, Remote Control, Integrated Development Environment, and Grid applications

  3. What is Selenium • Selenium is a tool that allows you to launch a browser, drive the browser (open a url, enter some data, click on a link) and check the browser state (a section is visible, specific text is present, a widget is disabled) • You drive the key piece in charge of controlling the browser (through the Selenium IDE, Remote Control, or WebDriver) by sending HTTP requests that follow a specific Selenium protocol

  4. Selenium IDE • Selenium IDE allows you to record and then playback tests through Firefox (user doesn't need to know the scripting language) • Can also write test cases in multiple languages including Ruby, PHP, Java, C# and Python

  5. Remote Control You’ll want to use Selenium-RC whenever your test requires logic not supported by Selenium-IDE.  For example, Selenium-IDE does not directly support: • condition statements • iteration • logging and reporting of test results • error handling, particularly unexpected errors • database testing • test case grouping • re-execution of failed tests • test case dependency • screenshot capture of test failures

  6. WebDriver • WebDriver originally was a separate project from Selenium.  • WebDriver uses a different underlying framework from Selenium’s javascript Selenium-Core. It also provides an alternative API with functionality not supported in Selenium-RC. WebDriver does not depend on a javascript core embedded within the browser, therefore it is able to avoid some long-running Selenium limitations.

  7. When to use WebDriver One should use WebDriver when requiring improved support for • Mult-browser testing including improved functionality for browsers not well-supported by Selenium-1.0. • Handling multiple frames, multiple browser windows, popups, and alerts. • Page navigation. • Drag-and-drop. • AJAX-based UI elements

  8. Selenium Grid Selenium-Grid allows the Selenium-RC solution to scale for large test suites and for test suites that must be run in multiple environments. Selenium-Grid allows you to run your tests in parallel to boost performance and to allow users to run tests in different environments

  9. Live Demo -Demo of Webdriver application -Demo of Selenium IDE record/playback feature on Firefox

  10. Questions?

More Related