Free selenium online training class 1

50 %
50 %
Information about Free selenium online training class 1
Technology

Published on March 14, 2014

Author: yadavgabhi

Source: slideshare.net

Description

Free selenium online training classes

By Abhishek Yadav
Email: yabhishek@outlook.com
Mobile: +91 8512 888 161
Blog: http://helloselenium.blogspot.com


For Paid Training Details Visit: http://helloselenium.blogspot.in/p/selenium-online-training.html

+91 8512 888 161

 Java Basics Why Java for Selenium?  OOPS Basics Inheritance Method Overloading Method Overriding Polymorphism  Selenium Introduction Selenium IDE Selenium Webdriver. 2 © http://helloselenium.blogspot.com +91 8512 888 161

 Why Java for Selenium? The best choice will be to use a language QA Testers are familiar with. The language most out of Selenium is Java, because the Java client code is the first developed and the standard for correctness. Good Support on Internet Platform Independent 3 © http://helloselenium.blogspot.com +91 8512 888 161

 Inheritance Inheritance is one of the key features of Object Oriented Programming. Inheritance can be defined as the process where one object acquires the properties of another.  The most commonly used keyword would be extends and implements. 4 © http://helloselenium.blogspot.com +91 8512 888 161

 Inheritance Example 5 Source CodeSource CodeSource CodeSource Code OutputOutputOutputOutput class Parent { public void p1() { System.out.println("Parent method"); } } public class Child extends Parent { public void c1() { System.out.println("Child method"); } public static void main(String[] args) { Child cobj = new Child(); cobj.c1(); //method of Child class cobj.p1(); //method of Parent class } } Child method Parent method © http://helloselenium.blogspot.com +91 8512 888 161

 Method Overloading If two or more method in a class have same name but different parameters , it is known as method overloading. Method overloading is one of the ways through which java supports polymorphism. 6 © http://helloselenium.blogspot.com +91 8512 888 161

 Method Overloading Example 7 Source CodeSource CodeSource CodeSource Code OutputOutputOutputOutput class Calculate { void sum (int a, int b) { System.out.println("sum is"+(a+b)) ; } void sum (float a, float b) { System.out.println("sum is"+(a+b)); } Public static void main (String[] args) { Calculate cal = new Calculate(); cal.sum (8,5); //sum(int a, int b) is method is called cal.sum (4.6, 3.8); //sum(float a, float b) is called } } Sum is 13 Sum is 8.4 © http://helloselenium.blogspot.com +91 8512 888 161

 Method Overriding When a method in a sub class has same name and type signature as a method in its super class, then the method is known as overridden method. Method overriding is also referred to as runtime polymorphism. The key benefit of overriding is the ability to define method that's specific to a particular subclass type. 8 © http://helloselenium.blogspot.com +91 8512 888 161

 Method Overriding Example 9 Source CodeSource CodeSource CodeSource Code OutputOutputOutputOutput class Animal{ public void move(){ System.out.println("Animals can move"); } } class Dog extends Animal{ public void move(){ System.out.println("Dogs can walk and run"); } } public class TestDog{ public static void main(String args[]){ Animal a = new Animal(); // Animal reference and object Animal b = new Dog(); // Animal reference but Dog object a.move(); // runs the method in Animal class b.move(); //Runs the method in Dog class } } Animals can move Dogs can walk and run © http://helloselenium.blogspot.com +91 8512 888 161

 Polymorphism Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. 10 © http://helloselenium.blogspot.com +91 8512 888 161

 Polymorphism Example 11 Source CodeSource CodeSource CodeSource Code OutputOutputOutputOutput class Game { public void type() { System.out.println("Indoor & outdoor"); } } Class Cricket extends Game { public void type() { System.out.println("outdoor game"); } public static void main(String[] args) { Game gm = new Game(); Cricket ck = new Cricket(); gm.type(); ck.type(); gm=ck; //gm refers to Cricket object gm.type(); //calls Cricket's version of type } } Indoor & outdoor Outdoor game Outdoor game © http://helloselenium.blogspot.com +91 8512 888 161

 Selenium IDE Selenium IDE is an integrated development environment for Selenium tests. It is implemented as a Firefox extension, and allows you to record, edit, and replay the test in Firefox. Selenium IDE allows you to save tests as HTML, Java, Ruby scripts, or any other format. It allows you to automatically add assertions to all the pages. Allows you to add selenese commands as and when required. 12 © http://helloselenium.blogspot.com +91 8512 888 161

 Selenium Webdriver Selenium 2.0 is introduced as Webdriver API. A enhanced solution to cross browser testing. Better features for Ajax testing. Handling multiple frames, multiple browser windows, popups, and alerts. Framework is very easy to build in Webdriver. 13 © http://helloselenium.blogspot.com +91 8512 888 161

 Abhishek Yadav Email: yabhishek@outlook.com Mobile: +91 8512 888 161 Blog: http://helloselenium.blogspot.com  http://docs.oracle.com/javase/tutorial/  http://www.tutorialspoint.com/java/  http://www.studytonight.com/java/  http://www.youtube.com/playlist? list=PLE7E8B7F4856C9B19 14 © http://helloselenium.blogspot.com +91 8512 888 161

Add a comment

Related presentations

Related pages

Selenium Training - Selenium QTP UFT online training

Online Selenium Training, ... Select Class in Selenium API; ... Selenium Training; Free Selenium Videos ;
Read more

Selenium WebDriver Training with Java Basics | Udemy

Selenium WebDriver Training with ... also get free access to Online Selenium training Webinars which will ... as in you are studying in a live class ...
Read more

Selenium Course Plan - Selenium QTP UFT online training

Online Selenium Training, Online QTP UFT Training, ... Class duration: 1 hour a day ... In weekend batch first 2 classes are free as each class is of 2 hrs.
Read more

Free Selenium Training - No Automated Testing

Selenium is free should not training ... Having said that I have been thinking to provide free selenium training either online or ... Selenium 1, Selenium ...
Read more

Selenium Weekday Training Trial Class 1 Part-1 - YouTube

Selenium Weekday Training Trial Class 1 Part-1 Ashish Thakur. ... "selenium free online training" "how to download selenium ide" "selenium test"
Read more

Free selenium online training class 1, SlideSearchEngine.com

Free selenium online training classes By Abhishek Yadav Email: yabhishek@outlook ... Information about Free selenium online training class 1.
Read more

Selenium IDE tutorial - YouTube

Selenium Training - Selenium IDE, ... Selenium Tutorial 1 Selenium IDE Testing RC Selenium Web Driver ... Selenium online Training - Duration: 1 ...
Read more

Selenium Training Online Through Video Tutorials To ...

Looking for Selenium Training with ... Are you looking for of Selenium online training classes or ... This Selenium training class is meant for ...
Read more

Selenium Tutorials 31+ Best Free Selenium Training Tutorials

FREE Selenium Tutorials for beginners ... Best online Selenium training tutorials. ... Selenium Tutorials 31+ Best Free Selenium Training Tutorials.
Read more