SlideServe
Menu
Préférences
© SlideServe · v2026

Selenium Framework using Java | Selenium Tutorial | Selenium Training Online | Edureka

EdurekaIN avatar
17 diapositives · 396 Views · May 09, 2019

( Selenium Training: https:\/\/www.edureka.co\/testing-with-selenium-webdriver )
Selenium Frameworks are used to optimize the code structure and helps in code maintenance. Watch this video on \"Selenium Framework using Java\" to learn how the three common Selenium frameworks can be created. The three Selenium frameworks are:
1. Data Driven Framework using java
2. Keyword Driven Framework
3. Hybrid Frmaework

Introduction to Selenium blog: https:\/\/goo.gl\/b523IO

Check our complete Selenium playlist here: https:\/\/goo.gl\/NmuzXE

Selenium Framework using Java | Selenium Tutorial | Selenium Training Online | Edureka - slide 1
01 / 17Selenium Framework using Java | Selenium Tutorial | Selenium Training Online | Edureka
1 / 17

Télécharger la présentation

Selenium Framework using Java | Selenium Tutorial | Selenium Training Online | Edureka
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Agenda SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  2. Agenda For The Session i. Need for a Selenium Framework ii. What is a Selenium Framework? iii. Types of frameworks: i. Data Driven testing framework ii. Keyword Driven testing framework iii. Hybrid framework SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  3. Need For Selenium Framework Finding & fixing a bug in a million line code is insanely challenging. Automation, Simplicity & Efficiency makes a testers life easy! SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  4. Benefits Of A Selenium Framework Increased Code Re-usage Improved Code Readability 1 2 Finding a bug in a million line code is insanely challenging. Higher Portability Reduced Script maintenance 3 4 SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  5. What Is A Selenium Framework Selenium framework is a code structure to make code maintenance simper & code readability better SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  6. Types Of Selenium Frameworks Selenium framework is a code structure to make code maintenance simper & code readability better Types of Frameworks DATA DRIVEN FRAMEWORK KEYWORD DRIVEN FRAMEWORK Data Set Test Script Test Script Methods Code and Methods stored separately Code and data stored separately HYBRID FRAMEWORK Uses the best features of both SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  7. Data Driven Framework SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  8. What Is Data Driven Framework? Data Driven Framework is a testing strategy in which the data set under test, is stored separately from the test script. DATA DRIVEN FRAMEWORK Features → Automation testing is driven by the data set under test. Data Set Test Script → Same test script will work for different data sets. → Eg:- Login credentials stored in excel & passed as parameters to the code. Code and data stored separately SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  9. The Question Is:- Can Selenium WebDriver read data from an Excel file for input? SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  10. Selenium WebDriver + Apache POI No! Selenium WebDriver does not support read and write operations on excel files. But, it can be supported with the integration of third party tool (Apache POI). .xlsx .xls Apache POI is a library, which allows you to read, create & edit Microsoft Office-documents using Java. Advantages:- Easy maintenance and improved test coverage. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  11. Integrating Selenium WebDriver & Apache POI Method which takes the input from the mentioned Excel file. Username field Password field SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  12. Keyword Driven Framework SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  13. What Is Keyword Driven Framework? Keyword Driven Framework is a strategy in which the methods to be tested, is stored in an external file. KEYWORD DRIVEN FRAMEWORK Features → Automation testing is driven by the file containing the method names to be tested. Test Script Methods → The same script will work for executing the methods mentioned in the file. Code and methods stored separately → Eg:- Method names to be executed are stored in the excel. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  14. Demo: Method Names Stored In Excel File Method names present here will be executed as part of the test case. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  15. Hybrid Framework Uses the best features of Data Driven & Keyword Driven framework SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  16. Demo: Java Reflection Class Is Used Java reflection class is used to import the methods of one class into another class SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver

  17. WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver