Saturday, 13 September 2014

Selenium Training Videos

Understanding Selenium and Element location techniques:
  • What is Selenium? Selenium Suite of tools – Selenium IDE, Selenium 1, Selenium 2 and Grid.
  • Limitations of Selenium 1 and how Selenium 2 address them
  • Which Selenium tools fits my needs – Selenium IDE, Selenium 2 or Grid?
  • Object location strategies – id, name, xPath, css selectors – Which one to use and when?
  • Using Firbug and Chrome Console

Beginning with WebDriver and writing your first Selenium tests:
  • Using nth locator in CSS
  • Selenium IDE
  • Firefox and Chrome Driver
  • Basics of TestNG framework and using it with Selenium

How much java to learn for Selenium:
  • OOPS – Encapsulation, Abstraction, Inheritance, Polymorphism
  • Introduction to Class, instance variable, instance methods, class variable, class method, Object.
  • Constructor, Abstract Class, Interface, method overloading, method overriding, Package.
  • Loops – To execute same statements time and again, for example logging in for 5 different accounts using same method
  • Arrays – You don’t want to keep writing variables all overs you test scripts

Java Collection framework and Page Object Pattern:
  •  Java Collection framework – List and Set
  •  Map class
  •  Page object pattern for writing robust Selenium tests
      Web Link: https://www.youtube.com/watch?v=gcrtoR1yZaw&feature=plcp

Test Design:
  •  Page Object Revised
  • Optimizing Page Object methods
  • Using TestNG data provider method to do data driven testing
  • Executing java script from WebDriver

Test Design Cont. and Introduction to Maven:
  • Page Factory Pattern
  • Data externalization using properties files
  • Capture application screen shot only during test failure (TestNG + Selenium)
  • Introduction to Maven and mavenizing your Selenium project

Test Design cont. and Introduction to Selenium Grid:
  • Soft assertion in Test (continuing test execution of method even if one assert fails)
  • Using csv file for test data, Watching test data in TestNG Report
  • Using Selenium Grid to scale your tests

Jenkins Marries Selenium:
  • Introduction to Jenkins
  • Download and install Jenkins
  • Set up free style project to find version of java
  • Set up Selenium project for Jenkins
  • Configure maven on Jenkins
          http://localhost:8080/configure
  • Build maven 2 Selenium project and run job
  • View TestNG results
  • Using Jenkins plugin

1 comment: