Presentation is loading. Please wait.

Presentation is loading. Please wait.

Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson.

Similar presentations


Presentation on theme: "Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson."— Presentation transcript:

1 Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson

2 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 Selenium

3 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 What is Selenium

4 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 Selenium IDE

5 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 Remote Control

6 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. WebDriver

7 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 When to use WebDriver

8 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 Selenium Grid

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

10 Questions?


Download ppt "Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson."

Similar presentations


Ads by Google