Sie sind auf Seite 1von 9

Selenium Tutorial - Learn Selenium

Webdriver Online Free Step By Step

Selenium tutorial : Selenium Webdriver learning for software


testing is not a big task if you have basic knowledge of any one
selenium Webdriver supported software development language like
Java. You can joinselenium webdriver online training course if
you wish. It is added advantage to you if you have learnt Selenium
IDE software testing tool before learning selenium Webdriver
software testing tool. If you are totally new with selenium then I am
suggesting you to first Learn Selenium IDE From This Page and
then start bellow given Webdriver learning tutorials step by step for
software automation testing. Knowledge of selenium IDE will helps
you in learning Webdriver very fast.
Selenium is open source software web application automation
testing tool. It can helps you in software testing process. I have
created selenium tutorials for beginner and advanced level students.
You can start learning selenium bellow even if you don't have any
knowledge in selenium.

SELENIUM TUTORIAL PART ONE


CREATE WEBDRIVER DATA DRIVEN FRAMEWORK
FROM SCRATCH
Selenium Tutorial : Basic Java

This section will helps you to learn basic java tutorial for selenium.
Before learning selenium, You must have knowledge of java. This
section will clear your basic oops concept which you needs to use in
selenium webdriver test scripts.
1.
Datatypes In Java
2.
String Class In Java
3.
if, if else and nested if else In Java
4.
for loop In Java
5.
while, do while loops In Java
6.
One and two dimensional array In Java
7.
Methods In Java
8.
Access Modifiers In Java

9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Java

Return Type Of Method In Java


Static, Non Static Methods, Variables In Java
Object In Java
Variable Types In Java
Constructor In Java
Inheritance In Java
Interface In Java
ArrayList In Java
Hashtable In Java
Read-Write Text File In Java
Exception handling, try-catch-finally, throw and throws In

Part 2 : Advanced Java Tutorials


Selenium Tutorial : WebDriver Installation And Configuration Tutorial

Bellow given section will breaf you about selenium like what is
selenium webdriver, difference between webdriver and selenium RC
and running first selenium webdriver test script in different web
browsers like Firefox, google chrome and internet explorer.
1.
Selenium Tutorial - Intrduction of Selenium WebDriver
2.
Download and install Selenium Webdriver with Eclipse
3.
Creating And Running First Selenium Script In Firefox
4.
Running Selenium Test In Google Chrome Browser
5.
Running Selenium Test In Internet Explorer Browser
6.
Read More IE And Chrome Driver Tutorials
Configure JUnit With Selenium WebDriver

Junit is open source unit testing framework. We can use junit with
selenium to configure, run and generate reports of selenium test
easily. Bellow given section will show you how to create selenium
test case, test suite, usage of different junit annotations in selenium
tests and generating test execution reports.
1.
Downloading and installation Of JUnit with Eclipse
2.
Creating and running selenium test with junit
3.
Creating and running junit test suite with webdriver
4.
Using JUnit Annotations in webdriver
5.
@Before/@After VS @BeforeClass/@AfterClass Difference

6.
7.
8.

Ignoring JUnit Test from execution


Junit Timeout And Expected Exception Test
Selenium Test report Generation using JUnit - 3 Steps

Selenium Tutorial - Element Locators In WebDriver

Knowledge of element locator is necessary to work with selenium


automation testing tool. When selenium test run, first it will locate
element from page and then it will perform given action on it like
click, type, select etc. Selenium support many different element
locators like ID, ClassName, Name, Link or partial link, Css and XPath.
Bellow given tutorials will help you to learn different element
locators.
1.
Locating Elements By ID For Selenium
2.
Selenium : Locating Element By ClassName
3.
Locating Element By Tag Name
4.
Locating Element By Name
5.
Locating Element By Link Text Or Partial Link Text
6.
Locating Element By cssSelector
7.
Locating Element By XPath
WebDriver Basic Action Commands List With Example
I hope, You have learnt basic things about selenium and you are able
to write basic tests for you web application. Click on NEXT button
bellow to go one step forward in selenium learning tutorials series.
webdriver selenium, webdriver, selenium webdriver java, download
selenium, selenium tutorial, selenium tutorials, selenium webdriver
tutorial, selenium tutorial for beginner, learn selenium, selenium
tutorials for beginners, webdriver tutorial, selenium download

Selenium WebDriver Tutorials Part


Two
SELENIUM WEBDRIVER TUTORIALS PART
TWO
Software testing industry is growing day by day and usage of
selenium webdriver in software testing process is also increasing

very fast. It is very important to learn selenium webdriver if you


wants to stay on top in software testing industry. Bellow given
selenium webdriver tutorials will helps you to learn selenium
webdriver and usage of testng with selenium webdriver to automate
any software web application.

WebDriver Basic Action Commands With Example


1.
WebDriver Basic Action Commands And Operations With
Examples
2.
Opening And Maximizing Firefox Browser And Opening URL
3.
Clicking On Button
4.
Submitting Form Using .submit() Method
5.
Store Text Of Element
6.
Typing Text In To Text box
7.
Get Page Title Of Software Web Application
8.
Get Current Page URL
9.
Get Domain Name
10. Generating Alert Manually
11. Selecting Value From Dropdown Or Listbox
12. Deselecting Value From Dropdown Or Listbox
13. Navigating Back And Forward
14. Verify Element Present
15. Capturing Entire Page Screenshot
16. Generating Mouse Hover Event
17. Handling Multiple Windows
18. Verify Element Is Enabled Or Not
19. Enable/Disable Element
20. Handling Alert, Confirmation and Prompt popup
21. Handle Unexpected Alert Of Software Web Application
22. Highlighting element Of Software Web Application
23. Reading Font Properties Using .getCssValue()

WebDriver Wait For Examples Using JUnit And


Eclipse
1.
2.
3.

How to apply implicit wait in selenium WebDriver script


Explicit Wait - For Element
Explicit Wait - For Text

4.
5.
6.

Explicit Wait - For Alert


Explicit Wait - For Element Visible
Explicit Wait - For Element Invisible

WebDriver Other Examples


1.
findElement() And findElements() Difference
2.
Generating Log In WebDriver
3.
Creating Object Repository Using Properties File
4.
Extracting All Links From Page
5.
Extracting All Text Box From Page
6.
Extracting/Reading Table Data
7.
Handle Dynamic Web Table
8.
Create And Use Custom Firefox Profile In Selenium
WebDriver Test
9.
Downloading Files Using Selenium WebDriver
10. Handling Ajax Auto Suggest Drop List
11. Parameterization/Data Driven Testing
12. Selenium WebDriver Interview Questions

TestNG Framework Tutorials


1.
Introduction Of TestNG
2.
TestNG Installation Steps
3.
Similarities and Difference Between TestNG and JUnit
4.
Create And Run First TestNG-WebDriver Test
5.
TestNg annotations with examples
6.
Creating And Running WebDriver Test Suit Using testng.xml
File
7.
Creating Single Or Multiple Tests For Multiple Classes
8.
Creating Test Suite Using Class From Different Packages
9.
Creating Test Suite Using Selected Or All Packages
10. Including Only Selected Test Methods In Selenium
WebDriver-TestNg Test
11. testng.xml - Include/Exclude Selenium WebDriver Test
Package
12. testng.xml - Using Regular Expression To Include/Exclude
Test Method
13. testng.xml - Skip Test Intentionally Using SkipException()

14. Data driven Testing using @DataProvider Annotation Of


TestNG
15. Parallel test execution In multiple browsers using
@Parameters annotation

VIEW ADVANCED TESTNG TUTORIAL


WebDriver Assertions With TestNG
Hard Assertions :
1.
assertEquals Assertion With Example
2.
assertNotEquals Assertion With Example
3.
assertTrue Assertion With Example
4.
assertFalse Assertion With Example
5.
assertNull Assertion With Example
6.
assertNotNull Assertion With Example
Soft Assertion :
Applying TestNG Soft Assertion With Example

Common Functions To Use In WebDriver Test


1.
Common Function To Compare Two Strings
2.
Common Function To Compare Two Integers
3.
Common Function To Compare Two Doubles
4.
Common Function To Open And Close Browser
5.
Common Function To LogIn And LogOut
testng in selenium , testng selenium webdriver, selenium webdriver,
selenium java, testng eclipse, selenium and testng, selenium with
testng, selenium testng tutorial, selenium tutorial, testng tutorial,
download testng, selenium framework, selenium java.

Create Data Driven Framework For


Selenium WebDriver Using POI, TestNG
And ANT
If you are using selenium webdriver as automation tool to test
software web application and wants to create selenium
webdriver data driven framework from scratch then follow bellow
given steps. It will guide how to create data driven framework in
selenium webdriver step by step to test software web application.

Peoples are using different frameworks like keyword driven


framework, data driven framework, hybrid framework and POM with
selenium webdriver to test software web application. Which
framework to use is depends you software web application type. If
you are testing software web application where need to use very
large data in automation test process then you can use data driven
or hybrid framework.
Read Selenium WebDriver Tutorial PART-1 and PART-2before data
driven framework creation.

SELENIUM WEBDRIVER TUTORIALS PART THREE


Please follow bellow given links to create selenium web driver
data driven framework from scratch
Data Driven Framework Introduction
STEP 1 : Create Workspace And Project For Framework.
STEP 2 : Creating Project Structure For Framework.
STEP 3 : Download Required Jar Files.
You Can Download All Required Jar Files From This Page
Too.
STEP 4 : Add jar Files In Project's Build Path.
STEP 5 : Creating Required Class Files
STEP 6 : Add Required .xls Files Of Data
STEP 7 : Add .xls File Reading And Writing Utility In Framework
STEP 8 : Creating Sample Data Reading Test In Framework
STEP 9 : Implementing Data Reading Test In Both Test Suites
STEP 10 : Adding testng.xml file To Run Suites From One Place
STEP 11 : Add Suite Skip Function In selenium Testing
Framework
STEP 12 : Reporting Test Suite Execution Status
STEP 13 : Add Test Case Skip Function In automation framework
STEP 14 : Add Data Skip Function In Framework For Selenium
STEP 15 : Reporting Test Data Result In Excel
STEP 16 : Reporting Test Failure In TestNG Reports
STEP 17 : Reporting Test Cases Results In Excel
STEP 18 : Implement Logging Using Log4j
STEP 19 : ANT - Generate XSLT Reports - Part 1
STEP 20 : ANT - Generate XSLT Reports - Part 2

STEP 21 : Run WebDriver Test From Batch(.bat) File


STEP 22 : Introduce Selenium WebDriver In Framework
STEP 23 : Implement Load Browser Function
STEP 24 : Running Test In Different Browsers
STEP 25 : URL Centralization For Easy Future Maintanance
STEP 26 : Implement Calc Sum Test In DDF
STEP 27 : Create Object Repository For Framework
STEP 28 : Create getElementByXPath Function
STEP 29 : Create Functions For All Other Locator Types
STEP 30 : Implement Calc Tests In All Test Cases
STEP 31 : Capturing Screenshot On Failure Or Pass
STAY TUNED :).. MORE STEPS ARE COMING SOON..

Selenium WebDriver data driven Framework key


features

It will support only .xls files as Input data feed.


It will use Apache POI API to read data from .xls files and write
results In .xls files.
It will use TestNG-XSLT Reports to generate results reports In
HTML format.
You can feed multiple combinations of test data for executing
single test case. Example : Validating Log in form's username and
password fields with different sets of data.
You can set Test suite execution mode (Test Suite To Be
Executed or Not) In .xls file.
You can set Test case execution mode (Test Case To Be Executed
or Not) In .xls file.
You can set Test data execution mode (Test Data To Be Executed
or Not) In .xls file.
Reporting test case execution results (Pass, Fail or Skip) In .xls
file after test case execution.
Reporting test data execution results (Pass, Fail or Skip) In .xls
file after test data execution.
It will use Log4j - Apache Logging Services to generate
execution log In applog.log file.

Easy to maintain software web application's web page elements


as It will use object repository to fetch web page element.

Easy to understand, maintain and integrate with any software


web application's test process.
selenium webdriver, selenium webdriver framework, selenium
framework, selenium webdriver tutorial, framework in selenium,
selenium automation framework, selenium testing, automation
framework, selenium testing framework, selenium automation,
selenium test framework, framework for selenium, selenium
webdriver, webdriver.

Das könnte Ihnen auch gefallen