1 / 8

Online training on selenium in hyderabad,Online training on

Course DescriptionWithin fast moving agile software development teams it becomes important to test user interfaces as they are being coded. Automated Testing techniques using Selenium 2 allow for test replay of important features as development progresses. Selenium IDE and Selenium Web Driver are important tools for any tester or developer to use in ensuring software quality and making changes with confidence. This interactive, hands-on workshop provides an understanding and advanced techniques in the use of Selenium 2 with hands on practice. The practice exercises are tailored to various skill levels and type of application being tested, from simple forms to complex web applications.Objectives:The class will teach participants to:Understand trade-offs of automated vs. manual testing.Record, edit and play back Selenium IDE tests against multiple types of web applications.Minimize test failure due to normal changes to code.Understanding of basic Selenium commands to get through common issue with web applications.Use of Eclipse to run tests individually and as a group to generate test failure reports.Learn how to help developers understand the importance of making applications more testable to improve usability.Topics:Overview of automated testingSelenium Suite OverviewSelenium 2 LimitationsSelenium IDEHTML Locator strategy and false test failureFirefox Firebug and reading HTMLSelenium Web Driver setupEclipse and JUnit (Don't Panic it's just code)Convert Selenium IDE tests into Selenium 2 Java WebDriver testsWorking with unsupported commands from Selenium IDEDealing with security and certificatesSelenium Web Driver practice workshopLearn how to test in multiple browsers and generate metrics and reportsDiscussion of setting up Selenium Web Driver for continuous integrationBonus Features:Sample Selenium Web Driver codeScripts to run JUnit test suites on multiple browsers and generate reports and metricsList of web resources and blogs for

guest80355
Download Presentation

Online training on selenium in hyderabad,Online training on

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. A Bluffer's Guide to Selenium 2 By: Simon Stewart & Anthony Long www.seleniumcoe.com

  2. What Is Selenium / Sel 2 / Webdriver Selenium is a test automation framework that interacts with a browser via javascript. Webdriver is a test automation framework that interacts with the browser directly. Selenium 2 is the merging of the Open Source "selenium" and "webdriver" projects. The most recent release is Selenium 2.0a4. It's really rather good. www.seleniumcoe.com

  3. Alphas!? Alphas - finish "baking" the new APIs • Mostly done • Need to add the advanced user API • and handling alerts and prompts • What's there is stable: we're only adding methods now • Timeline: ~2 months Betas - Implement all APIs in all supported browsers • Supported browsers? • Firefox 3-latest, IE 6-latest, Chrome, Android, iPhone  • Timeline: Unknown Release - As beta, but equal support for Python, Ruby, Java and C# www.seleniumcoe.com

  4. How Does It Differ From Selenium 1 Two major differences: • Not trapped in the JS sandbox • So there's a way to handle "alerts" on window load cleanly. • Better emulation of user input, such as clicking and typing. • Cleaner API • So it's easier to write and maintain code. • Far less confusion about which method to call. www.seleniumcoe.com

  5. Why Change? • The OSS team are now focusing almost all their effort on Selenium 2 • Better support for IE • Still a huge part of the market • Support for testing mobile browsers • Will form a large part of the market in future • Buy-in and support from browser manufacturers: • Opera • Chrome • Becoming used by a broader range of OSS projects • Not only Selenium, but also Watir • More eyes and users means bugs detected more quickly • And fixed more rapidly! www.seleniumcoe.com

  6. How Do I Migrate? • Download Selenium 2 • Drop JARs into CLASSPATH • Using Selenium 1 tech, but with the new classes available. • Replace "DefaultSelenium" with "WebDriverBackedSelenium" • An implementation of selenium using the new technology • Inefficient, but allows a managed migration. • Migrate code to the new API on an "as needed" basis • Suggestion: when you edit a file using the old API, move to the new one www.seleniumcoe.com

  7. What's Coming Up? • Advanced User Interaction API: • Allows you to model "click here, then hold shift, click on these three elements, release shift, and drag everything over here" • Will be necessary for complex applications • Selenium 2.0a5 or 6 • Implicit Waits: • The framework will wait for an element to be present before continuing • Timeout easy to control • Preview in Selenium 2.0a4, fully implemented in 2.0a5 • Android support: • Selenium 2.0a5 www.seleniumcoe.com

  8. If You're Working on the Selenium Code Itself • Shared JS • JS is great for querying the DOM • Shared JS functions between all webdrivers and Selenium 1.x • Dramatically easier to fix issues to do with JS in all browsers • Simplified Build Grammar • Hey, it matters to us :) • To build: • svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only • rake build • cd build/ www.seleniumcoe.com

More Related