selenium

12
Selenium -Web Testing Tool Presented By : o Nitin Nirmal 25 o Hitesh Shetty 44 o Mahesh Tawde 52 o Manish Patil 57 o Mayuresh Wadekar 64

Upload: mayuresh-wadekar

Post on 29-Nov-2014

703 views

Category:

Documents


4 download

DESCRIPTION

It is a Web Testing Tool used in Firefox Browser

TRANSCRIPT

  • 1. Selenium-Web Testing ToolPresented By : o Nitin Nirmal 25 o Hitesh Shetty44 o Mahesh Tawde 52 o Manish Patil 57 o Mayuresh Wadekar 64

2. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications. Works on every system, where JavaScript is supported Can simulate a user navigating through pages and then assert forspecific marks on the pages Selenium IDE is a plug-in to Firefox to record and playback tests.(like Win Runner, QTP). You can then export the recorded test in most language e.g. HTML, Java , C# , Perl , Ruby etc. Ability to deploy on different platforms : Windows, Linux, Mac. 3. Supported Browsers Browser Selenium-IDESelenium-RCOperating Systems 1.0 Beta-1 & 1.0 Beta-2:Firefox 3Record and playbackStart browser, run tests Windows, Linux, Mac tests 1.0 Beta-1: Record andFirefox 2 Start browser, run tests Windows, Linux, Mac playback tests Test execution only viaIE 7Start browser, run tests Windows Selenium-RC Test execution only viaSafari 3Start browser, run tests Mac Selenium-RC Test execution only viaSafari 2Start browser, run tests Mac Selenium-RC Test execution only viaOpera 9 Start browser, run tests Windows, Linux, Mac Selenium-RC Test execution only viaOpera 8 Start browser, run tests Windows, Linux, Mac Selenium-RC Test execution only viaGoogle ChromeStart browser, run testsWindows Selenium-RC(Windows) Test execution only viaOthersPartial support possible As applicable Selenium-RC 4. Components of Selenium Selenium Core Selenium IDE Selenium Remote Control (RC) Selenium Grid 5. Selenium Core Legacy product that consisted of libraries of .js(JavaScript) files. Selenium Core is a test tool for web applications. Selenium Core tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux and Macintosh.Installation1. Extracting the Selenium Core zip file into the DocumentRoot, or webroot of your webserver.2. Then, try to open the TestRunner.html page on your website, which should be in the core/ directory. 6. Selenium IDE Integrated Development Environment for building Seleniumtest cases. Operates as a Firefox add-on and provides an interface fordeveloping and running individual test cases or entire test suites. Selenium-IDE has a recording feature, which will keep account ofuser actions as they are performed and store them as a reusablescript to play back.Installation 1. Open Firefox and Download the latest version of Selenium IDE(currently version 1.9). 7. Selenium IDE contStart ScreenRecording a script 8. Selenium Remote Control (RC) Selenium Remote Control (RC) is a server, written in Java thataccepts commands for the browser via HTTP. Components of Selenium RC are: o Selenium Server o Client LibrariesInstallation1. The Selenium RC server is simply a Java jar file (selenium- server-standalone-.jar)2. Just downloading the zip file and extracting the server in the desired directory is sufficient. 9. Selenium Grid Selenium-Grid allows you run your tests on different machinesagainst different browsers in parallel. Selenium-Grid support distributed test execution. With Selenium Grid, one server acts as the hub. A grid consists of a single hub, and one or more nodes. Bothare started using the selenium-server.jar executable.Installation1. Download the Selenium-Server jar file2. Install it in a folder of your choice. 10. Advantages And LimitationsAdvantages: Customized defect reporting Finding defects missed by manual testing Support for Agile and extreme development methodologies Frequent regression testing Rapid feedback to developersLimitations: If the applications user interface will change considerably in the near future, then any automation might need to be rewritten anyway. 11. Conclusion Most of the applications these days are Web-Based. Test automation is used more frequently. Test automation uses software tools to run repeatable test. Selenium act as a tool to do test automation. Components include IDE, RC, and Grid. Core Consists of core .js(JavaScript) libraries. 12. Thank you