Selenium Automation in Java
On Completion of Selenium –Java course the participants will be able to
Understand Oops /java concepts
Understand Selenium WebDriver tool in depth, it’s features & components
Building a new Test Framework by using Web Driver, Test NG, BDD. Cucumber, POM(Page Object Model), Hybrid framework
We have many examples (and will keep adding) which helps you to learn, practice and became an expert in automation using selenium and prepared to implement a framework for your project.
The objective of the training will be to build requisite knowledge & skills in automation testing so that the students are ready for the industry and start performing on the job in the least possible time.
This courses that students/developer go through to improve their chances of getting selected in the recruitment process. This course is more for the long term and would help the student/developer in excelling his job.
Certificate
ShanSai Information Technologies Pvt ltd will provide certificate.
Selenium Automation Tool
Selenium is a set of different software tools each with a different approach to supporting testautomation. Most Selenium QA Engineers focus on tools that most meet the needs of their project, however learning tool will give you many different options for approaching different test automation problems
Jobs Available
5592 new Selenium Automation Jobs across India
What is the average salary for jobs related to "selenium tester"?
The averagesalary for "selenium tester" ranges from approximately $66,509 per year for Quality Assurance Analyst to $93,416 per year for Automation Engineer.
Installations
EclipseIDE
JDK 1.7
Firefox 4 , firebug and firepath
Set up TestNG, Selenium 2.25 for eclipse
Study Material
All the handouts and material for discussion in the class will be provided by mailed by ShanSai Information Technologies Pvt ltd.
Course Syllabus
Java for selenium
How much java is required for selenium
Introducing to java programming language
Usage of java
Java syntax
Java entity setup
Eclipse IDE
Download Eclipse IDE and extract
Write and execute a java program using eclipse IDE
Which free IDE is the most popular in general? Why?
Java program structure
Java fundamentals
• Comments in java
• Data types in java
• Java Modifiers
• Variables in java
• Operators in java
• Flow control stmt
• Loop stmts
• Arrays in java
• Java Methods
• IO operations and File handling in java
• Exception handling in java
Java OOPS (object oriented programming s/m)concepts
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation
Java Interfaces
What is Automation Testing
What is Selenium
Introduction to Selenium Webdriver
Selenium Webdriver envt setup
Write first selenium testcase
Installation of Firebug and Firepath
After Installation of Firebug and Firepath
Web Elements and Element Locators
Selenium WebDriver Methods
• 1.get() method
• 2.getTitle()method
• 3.getPageSource()method
• 4.getCurrentURL()method
• 5.getWindowHandle()method
• Browser Navigation methods
• 6.navigate().to();
• 7.navigate().back();
• 8.navigate().forward();
• 9.navigate().refresh();
• 10.close();
• 11.quit();
• Methods on elements
• 12.findElement()
• 13.sendkeys()
• 14.clear()
• 15.click()
• 16.isEnabled()
• 17.isDisplayed()
• 18.isSelected() used in check box
• 19.manage().window().maximize()
• 20.manage().window().minimize()
Handling Elements in selenium
• Handling Browser
• Handling Edit box
• Handling TextArea,error msg,window dialog pop-up
• Handling Button
• Handling Image
• Handling Link
• Handling Radio Button
• Handling Drop down box
• Handling check box
• Handling Webtable/HTML table
• Handling inLine Elements
• Handling Frames
• Handling Mouse hover(event not element)
• Handling Duplicate objects
Cross browser testing using selenium webdriver
Implementation of 5 testcases
• 1.Test case:Verify Internal and External links in wikipedia.org
• 2.Test case:Verify element existance (gmail link existance in google home page)
• 3.Testcase:Login to Indian railways online web portal.
• 4.Test case:check admin functionality with valid and invalid inputs(positive and negative testing)
• 5.Testcase:check communication b/w different browsers
Writing selenium webdriver test case using user defined methods
Inheritances in selenium testcase
Synchronization in selenium
Introduction to selenium IDE
Drawbacks of selenium IDE
Selenium IDE Installation
Record and play back
Introduction to TestNG
Advantage of TestNG
Install TestNG
Write testNG testcase
Write testNG testcasedetailed reports
Create multiple testcase and run
Create multiple testcase and rundetailed reports
Create multiple testcase and rundetailed reports with email send formate
TestNG test case Attribute
• priority attribute
• Enabled attribute:If
• Description
• InvocationCount:
• invocationTimeOut
• DependsOnMethods
• alwaysRun
TestNG test case annotations
• @Test
• @BeforeMethod
• @AfterMethod
• @BeforeClass
• @AfterClass
• @BeforeTest
• @AfterTest
• @BeforeSuite
• @AfterSuite
Executing multiple pgms/classes using XML file
Grouping Testcases
Parallel test execution(Methods)
Scroll up and down in selenium
BDD, Cucumber, POM(Page object model), Hybrid framework, Maven
Certificate Distribution