Kavin School

Embed Size (px)

DESCRIPTION

kavin school

Citation preview

Selenium Automation Using Java Language This is 10 weeks commitment course, 4 hours/week with 15 min break. We provide o nline/onsite instructor led courses for this course. Due to popular request we h ave recently added self-study materials for this course for a lower fee. This wi ll allow for the students who can not attend during the session, but still want to read our materials on their own pace. Please look the schedules page for curr ent start date of the courses and fees information. Click here to contact us for any questions. Register ahead of time, this will allow you to pre-plan to atten d the courses as well as, we'll reserve a seat for you. Week 1 Week 2 Week3 Week4 Week5 Week6 Week7 Week8 Week9 Week10 Week 1: Week one starts with installing Notepad++ and then installing co-bundle of JDK a nd NetBeans IDE. Week one mainly concentrates on providing fundamental knowledge about Java and NetBeans IDE. Presentation Advanced Selenium Course Details Installing NotePad++ Installing 7-Zip Installing JDK and NetBeans Core Java Basic Concepts Core Java Control Flow Statements NetBeans IDE Features Loops using NetBeans Exercises: Core Java Basic Concepts Core Java Control Flow Statements Loops using NetBeans NetBeans IDE Project Week 2: Week two focuses on Java's OOP (object oriented programming) concepts. The key concepts covered in OOP principles using Java are: Abstraction (Objects) Encapsulation (Classes) Communication (Methods) Lifetime (Object) Hierarchies (Class) Polymorphism (Classes) Using NetBeans IDE, a CoreShape Project is created to explain the various concep ts of OOP principles in Java. The project contains the following classes Circle Square Rectangle Cube Cone Cuboid Shape Shape2D Shape3D DemoShape Presentation Quiz on Week 1 Installing Selenium IDE Installing FireFox Plugins Core Java OOP Concepts Shape Hierarchy Using NetBeans IDE Exercises: NetBeans IDE Project

Week 3: The week three materials covers core Java Interfaces concepts: Interfaces Extending Interfaces The CoreShape Project is expanded to use the interfaces. The following interface s are newly created ShapeColor ShapeLabel BaseColors RainbowColors ShapeRainbowColor The following classes either created or updated Circle Rectangle DemoShape The next section covers the JavaDoc Utility. During this session a JavaDoc API i s created using NetBeans IDE. The CoreShape Project will be used as an example p roject to create the JavaDoc API information Presentation Quiz on Week 2 Shape Hierarchy Using NetBeans - Interfaces JavaDoc Concepts CoreShape Project - JavaDoc API Creation Exercises: NetBeans IDE Project for Interfaces JavaDoc Required Files CoreShape JavaDoc API Distribution Files Week 4: The week four focuses on installing and using the popular build tool Apache ANT: The basic concepts of ANT is explained during this class, which includes: ANT Project Target Tasks Properties Exec DOS commands Opening different Browsers using ANT Sending Emails using ANT Building with ANT covers the following: Tasks for Java compilation Jar files creation with manifest Folder Structure and Flow control Creating build for CoreJava Project Presentation Quiz on Week 3 Installing ANT Installing JavaMail ANT - Concepts Exploring ANT Building with ANT Exercises: NetBeans IDE Project for Interfaces JavaDoc Required Files CoreShape JavaDoc API Distribution Files Week 5: The week five focuses on providing advanced features of ANT tool and introducing JUnit Framework to the students: Starts with building CoreShape Project, main goals are to automate: Compiling a Java Project

Creating a Distribution Jar file Running Java program Redirecting the output to a file Setting the build number Creating JavaDoc Copying JavaDoc related files Next chapter explains about ANT Loggers and Listeners: DefaultLogger NoBannerLogger MailLogger TimestampedLogger BigProjectLogger XmlLogger ProfileLogger Next section introduces JUnit FrameWork and shows how to create the first test c ase Presentation Quiz on Week 4 Building with ANT - Shape Project ANT Listeners and Loggers - Shape Project Exploring JUnit Exercises: Shape Project - ANT Source Code ANT-Listeners and Loggers Commands Shape Project - JUnit Source Code Week 6: Week six provides fundamental and advanced features of JUnit 4.x Framework. JUnit Concepts like org.junit org.hamcrest JUnit Annotations Order of Execution of Before Class, Before, AfterClass and After Asserts Testing Setter and Getter methods @Test Annotation DataPoints and Theories @RunWith org.junit.runner @DataPoints @Theory Theory.class ConeTest with DataPoints Running ConeTest in NetBeans IDE Parameterized Parameters Parameterized Annotation org.junit.runners @Parameterized.parameters Parameterized.class Collection and Constructors Parameterized CubeTest Running CubeTest in NetBeans IDE Presentation Quiz on Week 5 Installing JUnit JUnit Concepts JUnit DataPoints and Theories JUnit Parameterized Parameters JUnit Suites and Reports

Exercises: Using ANT - CoreShape JUnit Project Using NetBeans IDE - CoreShape JUnit Project Week 7: The week seven focuses on creating a Selenium Project using JUnit Framework and providing an introduction to TestNG Framework: JUnit with Selenium Test Case Understanding KavinSchool Search Test Case Creating HTML Test case using Selenium IDE Export & Review Selenium RC --> JUnit Code NetBeans IDE Selenium-Plugin for ANT Installtion Creating and running KavinSchool Search Project Installing TestNG Downloading and Installing TestNG TestNG Plugin Installation for NetBeans IDE and Problems Presentation Quiz on Week 6 Installing Selenium RC JUnit Selenium Test Case - KavinSchool Search Project TestNG Installation NetBeans IDE - TestNG Plugin Installation TestNG Selenium TestCase - KavinSchool Search Project Exercises: Using Selenium IDE - KavinSchool Search Project Using NetBeans IDE - KavinSchool Search Project - Testing using Selenium with JU nit Framework Using ANT - Testing CoreShape Project using TestNG Framework Using NetBeans IDE - Testing CoreShape Project using TestNG Framework Week 8: The week eight provides TestNG Framework concepts in detail TestNG concepts are explored with CoreShape Project History of TestNG Config Annotations Config Annotations Attributes Order of Execution of Config annotations testng.xml structure TestNG Parameters Parameters in TestNG include/exclude certain groups Defining Groups of Group(s) Re-running failed tests Asserts TestNG Data Providers Data Providers in TestNG Exceptions handling Defining Suites of suite TestNG Ant Task Presentation Quiz on Week 7 TestNG Framework Concepts TestNG Parameters TestNG Data Providers TestNG Selenium Java Robots Exercises: Using Selenium IDE - SugarCRM Keys Project Using NetBeans IDE - SugarCRM Keys Project - Testing using Selenium with JUnit F ramework Using NetBeans IDE - Testing SugarCRM Keys Project using Selenium with TestNG Fr

amework Week 9: The week nine provides an example for using Selenium with TestNG Framework. TestNG Selenium Java Robots Java Robots KeyEvents SugarCRM Website Recording Selenium IDE Test Case for SugarCRM Keys Project Reviewing SugarCRM Keys Test Case in Selenium IDE Exporting SugarCRM Keys Test Case into TestNG Framework Reviewing TestNG TestCase to handle multiple browsers Next section on week nine touches AJAX Concepts and how to test AJAX web-pages i n Selenium AJAX concepts are explored with GoogleSearch Project Recording GoogleSearch Test Case using Selenium IDE Reviewing GoogleSearch Test Case to work in Selenium IDE Exporting GoogleSearch Test Case in TestNG Framework Reviewing the Testcase and running GoogleSearch Project in NetBeans IDE using Se lenium Exploring TellAFriend Project Recording and reviwing Selenium IDE Test Case for TellAFriend Form Concepts of E-Mail Validation and using Yahoo E-mail for validation Create NetBeans IDE JUnit Framework Project for TellAFriend Project Create NetBeans IDE Selenium Framework Project for TellAFriend Project Create NetBeans IDE TestNG Framework using ANT for TellAFriend Project Presentation Quiz on Week 8 Java Robots API Concepts SugarCRM Keys project using TestNG Framework with Selenium AJAX Webpage Tests using Selenium GoogleSearch project using TestNG Framework with Selenium Validating E-mails using Selenium TellaFriend project using TestNG Framework with Selenium Exercises: SugarCRM Keys Project Using Selenium IDE - SugarCRM Keys Project Using NetBeans IDE - SugarCRM Keys Project - Testing using Selenium with JUnit F ramework Using NetBeans IDE - Testing SugarCRM Keys Project using Selenium with TestNG Fr amework TellAFriend Project TellAFriend using JUnit FrameWork - NetBeans Project TellAFriend using TestNG Framework - ANT Project TellAFriend using Selenium Framework - NetBeans Project GoogleSearch AJAX Project GoogleSearch using Selenium FrameWork - NetBeans Project Week 10: Week ten introduces DBUnit Concepts and provides and example for using DBUnit al ong with Selenium DBUnit Installing NetBeans Modules for DBUnit DBUnit Concepts DBUnit concepts are explored using TellAFriend Project Creating TellAFriend Table Inserting Rows Creating dataset.xml Checking the loaded data count Comparing the queryset

Presentation Quiz on Week 9 Installing MySQL DBUnit Concepts NetBeans Plugin Installatin for DBUnit NetBeans IDE - Database Access TellaFriend Project testing using DBUnit Exercises: TellAFriend DBUnit Project TellAFriend DbUnit - NetBeans Project TellAFriend DbUnit - PHP Source Code TellAFriend DbUnit - SQL Source Code