Selenium Training

Page 1

SELENIUM


CHAPTER – 4 THE BASICS OF SEARCH ENGINE FRIENDLY DESIGN & DEVELOPMENT


Selenium Overview Selenium Components and Architecture Why Java for Selenium “Installing Java, Eclipse� First Eclipse Project and Java program Platform Independence

Copyright @ 2019 Learntek. All Rights Reserved.

3


Object Oriented Programming “Class, Object, Method, Property” Concept of Inheritance Overloading and Overriding Functions Usage of Inheritance in Selenium Training Creating Packages Accessing Classes and Methods Good Features of eclipse “Accessing modifiers – Public, Private, Default, Protected” Exception handing – try catch block and throwable class Need of exception handling in Selenium framework

Copyright @ 2019 Learntek. All Rights Reserved.

4


Java Basics ? Quick Reference Conditional and concatenation operators “Usage of loops – While Loop, For Loops” “Data Types ? String, Integer, Arrays” “Functions – Input Parameters, Return Types” “Local, Global, Static and Non-Static Variables” Creating Objects and Object References Call by reference and Value Constructors String class and functions Concept of jar file POI API in java Reading/Writing Microsoft XLS Files Copyright @ 2019 Learntek. All Rights Reserved.

5


IDE Installing IDE Recording Script “Running, Pausing and debugging Script” Inserting commands in between script XPATHS and installing firebug to get XPATHS Wait Commands Verification and Assertions

Copyright @ 2019 Learntek. All Rights Reserved.

6


WebDriver Introduction Why WebDriver? Selenium RC Vs Webdriver Downloading and configuring webdriver in eclipse WebDriver Interface “Drivers for Firefox, IE, chrome, Opera, Safari”

Copyright @ 2019 Learntek. All Rights Reserved.

7


Script Development using WebDriver First Selenium testing WebDriver Code Operating with multiple browsers Introduction to Webdriver Methods Using Firebug and FirePath Handling Links with WebDriver Extracting XPath and relevance of XPath “Using By – id, name, linktext, class, XPath, CSS” Handling Input Box/Buttons “Handling WebList, Radio Buttons, Checkboxes” Making your own XPath without firebug Dynamic objects and count of objects Capturing screenshots with WebDriver Copyright @ 2019 Learntek. All Rights Reserved.

8


Handling windows and switching windows Handling frames in web pages Pop-up and alert handling Proxy handling using WebDriver Explicit Vs Implicit waits Keyboard and Mouse event handling Handling web driver timeout Capturing screenshots Identifying and Understanding the Elements using Sikuli IDE Interacting with flash videos / Objects TestNG – Unit Selenium Testing Framework

Copyright @ 2019 Learntek. All Rights Reserved.

9


Selenium Grid “Introduction to hub, driver� Approaches to start/stop hub and driver Using grid to run tests using RemoteWebDriver Setting desired & Fetching actual capabilities Configuring node parameters and timeouts

Copyright @ 2019 Learntek. All Rights Reserved.

10


Framework Overview Reading Configuration from properties Initialize Web driver Implementing tests and batch running them Repeating a test with different Data Building utility functions Parameterization of tests using excel Controlling Execution order from excel Assertions and Reporting Errors Generating the HTML reports Emailing test reports

Copyright @ 2019 Learntek. All Rights Reserved.

11


For more Training Information , Contact Us Email : info@learntek.org USA : +1734 418 2465 INDIA : +40 4018 1306 +7799713624 Copyright @ 2019 Learntek. All Rights Reserved.

12


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.