Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Selenium IDE Introduction, Installation and Working

Selenium IDE : Introduction, Installing Selenium IDE and FireBug, Selenium IDE Basics : Menu Bar, Tool Bar, Record & Replay,
Test Suite Vs Test Case, Create/Execute a Test Suite

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir
  • Soyez le premier à commenter

Selenium IDE Introduction, Installation and Working

  1. 1. Copyright @ 2016 Disha Srivastava Selenium Automation Testing Tool : IDE
  2. 2. Copyright @ 2016 Disha Srivastava Selenium : IDE Automation Testing Tool  Selenium IDE : Introduction  Installing Selenium IDE  Installing FireBug  Selenium IDE Basics : Record & Replay  Selenium IDE : Menu Bar  Selenium IDE : Tool Bar  Test Suite Vs Test Case  Create a Test Suite  Execute a Test Suite
  3. 3. Copyright @ 2016 Disha Srivastava Automation Testing : Selenium IDE
  4. 4. Copyright @ 2016 Disha Srivastava Selenium : Overview Selenium IDE ◘ Selenium IDE is a complete integrated development environment (IDE) for Selenium tests. ◘ It’s a Firefox Add-On ◘ Provides Record & Playback functionality ◘ Scripts are recorded in Selenese ◘ Scripts can run only in Firefox ◘ Recorded Scripts can be edited manually ◘ Scripts can be exported in multiple languages Introduction :
  5. 5. Copyright @ 2016 Disha Srivastava Installing Selenium IDE
  6. 6. Copyright @ 2016 Disha Srivastava ◘ Open http://www.seleniumhq.org/ ◘ Click on Download Selenium Selenium IDE: Installation & Starting Installation :
  7. 7. Copyright @ 2016 Disha Srivastava ◘ Click on the current release version of the Selenium IDE Installation : Selenium IDE: Installation & Starting
  8. 8. Copyright @ 2016 Disha Srivastava ◘ Click on ‘Add to Firefox’ Installation : Selenium IDE: Installation & Starting
  9. 9. Copyright @ 2016 Disha Srivastava ◘ Based on security settings of browser, a Firefox notification may pop up. Click on "Allow." ◘ After completion of the download and then click "Install Now." Installation : Selenium IDE: Installation & Starting
  10. 10. Copyright @ 2016 Disha Srivastava ◘ Once installation is completed, click "Restart Now." Installation : Selenium IDE: Installation & Starting
  11. 11. Copyright @ 2016 Disha Srivastava Installation : ◘ Selenium IDE can be launched in of two ways: ◘ Tools > Web Developer> Selenium IDE ◘ Ctrl+Alt+S (Shortcut) Selenium IDE: Installation & Starting
  12. 12. Copyright @ 2016 Disha Srivastava Installing FireBug
  13. 13. Copyright @ 2016 Disha Srivastava Installation : ◘ Open www.google.com ◘ Search “Download Firebug” ◘ Open link for Firefox Add-On Firebug : Installation & Starting
  14. 14. Copyright @ 2016 Disha Srivastava Installation : ◘ Select “Add to Firefox” Firebug : Installation & Starting
  15. 15. Copyright @ 2016 Disha Srivastava Installation : ◘ Once the Add-on is downloaded, select “Install” Firebug : Installation & Starting
  16. 16. Copyright @ 2016 Disha Srivastava Installation : ◘ Firebug is ready to use Firebug : Installation & Starting
  17. 17. Copyright @ 2016 Disha Srivastava Installation :  Start Button- Firebug is activated  Start Button- Firebug is deactivated Firebug : Installation & Starting
  18. 18. Copyright @ 2016 Disha Srivastava Using Selenium IDE
  19. 19. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Selenium IDE UI Menu bar Base URL Toolbar Test Suite Panel Log/ Reference/ UI-Element/ Rollup Pane Test Case Panel or Editor
  20. 20. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Selenium IDE UI  Menu Bar  File menu  New/Open/Save Test Suite and Test Case  Edit menu  Copy, paste, delete, undo, and select all operations for editing the test cases  Options menu  Changing of settings e.g. set the timeout value, add user-defined user extensions and specify the format (language)  Help menu  Base URL  Allows test scripts to be run across different domains
  21. 21. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Selenium IDE UI  Toolbar - Buttons in the tool bar are used to control the test scripts Speed Control: controls how fast test case runs Run All: Runs the entire test suite when a test suite with multiple test cases is loaded Run: Runs the currently selected test. When only a single test is loaded this button and the Run All button have the same effect Pause/Resume: Allows stopping and re-starting of a running test case
  22. 22. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Selenium IDE UI  Toolbar - Buttons in the tool bar are used to control the test scripts Allows to “step” through a test case by running it one command at a time. Use for debugging test cases Apply Rollup Rules: Allows repetitive sequences of Selenium commands to be grouped into a single action Record: Records the user’s browser actions Reload test case
  23. 23. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Test Suite Vs Test Case Test Case: A single step or collection of steps to test a condition/path or feature. It contains steps and expected result for each step or test case. Test Suite: Collection of test cases to test function/feature. A test case can be path of multiple test suites.
  24. 24. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Create a test suite The optional fields are a test case ID, test step or order of execution number, related requirement(s), depth, test category, author, and check boxes for whether the test is automatable and has been automated. It may also contain prerequisite states or steps, and descriptions of the following tests. It can have any combination of Test Cases which are required for the corresponding Testing phase. So 2 Test Suites can actually have the same or widely different Test Cases.
  25. 25. Copyright @ 2016 Disha Srivastava Selenium IDE : Controls and Commands Execute a test suite
  26. 26. Copyright @ 2016 Disha Srivastava  User extensions to provide advanced capabilities to IDE  User extensions are in the form of JavaScript files  Install user extensions by specifying absolute path in the Options dialog box. Selenium Core extensions (user-extensions.js) Selenium IDE extensions Selenium IDE : User Extensions
  27. 27. Copyright @ 2016 Disha Srivastava  Useful/Popular extensions/plug-in used in Selenium IDE Selenium IDE : User Extensions Name of User Extension / plug-in Description File Logging Saves log messages to a file in real time at a user selectable log level ScreenShot on Fail Take a screen shot on failure SelBlocks Provides javascript-like conditionals, looping, callable functions, error catching, and JSON/XML driven parameterization. SelBench Provides utilities for testing, validating, and benchmarking Selenium IDE scripts Stored Variables Viewer Stored variables are created using the store, storeText, storeExpression and other similar store* commands. This plugin allows you to view these variables when the test is running Test Results This plugin saves the results of the test execution for the test suite and included test cases with a single click. It also allows you to export the test results for individual test cases. Test Suite Batch Converter To convert one or more test suites, including their test cases, from the html format to any other format supported by the Selenium-IDE
  28. 28. Copyright @ 2016 Disha Srivastava  "Export" option allows to convert Selenium IDE test cases into file formats that can run on Selenium RC and WebDriver  "Export Test Case As..." will export only the currently opened test case  "Export Test Suite As..." will export all the test cases in the currently opened test suite.  Options > Clipboard Format allows to copy convert Selenium IDE test cases into formats that can run on Selenium RC and WebDriver Selenium IDE : Exporting Test cases
  29. 29. Copyright @ 2016 Disha Srivastava  Code examples of "Export” Selenium IDE : Exporting Test cases Export will convert IDE instructions to WebDriver specific code
  30. 30. Copyright @ 2016 Disha Srivastava “ If you don’t like testing your Product,most likely your customers won’t like to test it either.

    Soyez le premier à commenter

    Identifiez-vous pour voir les commentaires

  • waqariftikhar

    Apr. 14, 2017

Selenium IDE : Introduction, Installing Selenium IDE and FireBug, Selenium IDE Basics : Menu Bar, Tool Bar, Record & Replay, Test Suite Vs Test Case, Create/Execute a Test Suite

Vues

Nombre de vues

394

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

1

Actions

Téléchargements

0

Partages

0

Commentaires

0

Mentions J'aime

1

×