100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Selenium WebDriver Tutorial

Rating
-
Sold
-
Pages
129
Uploaded on
05-10-2024
Written in
2024/2025

A tutorial that covers the basics of Selenium WebDriver, including XPath, ChromeDriver, and automation testing.

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
October 5, 2024
Number of pages
129
Written in
2024/2025
Type
Other
Person
Unknown

Subjects

Content preview

-
CONTENTS


1. INTRODUCTION OF AUTOMATION TESTING
2. BROWSER LAUNCHING
3. WEB DRIVER METHODS
4. NAVIGATION COMMANDS
5. LOCATORS
6. WEBELEMENT METHODS
7. RADIO BUTTON
8. HANDLING MULTIPLE WEBELEMENTS AND AUTO SUGGESTION
9. CHECK BOX
10. DROP DOWN
11. WEB TABLE
12. JAVASCRIPT EXECUTOR
13. SCROLL UP AND SCROLL DOWN
14. SCREENSHOT
15. MOUSE HOVER ACTION
16. DRAG & DROP AND RIGHT CLICK
17. WINDOW HANDLING
18. FRAME HANDLING
19. ALERTS
20. WAIT
21. FILE UPLOADING USING ROBOT CLASS AND SENDKEYS
22. BROKEN LINKS

,INTRODUCTION OF AUTOMATION TESTING



Important Java concepts required for selenium:

 Conditions(if, if-else, switch)
 Loops(for, while, do-while, for-each)
 Oops(Inheritance, Polymorphism, Encapsulation, Abstraction)
 Method overloading, overriding
 Constructors
 String
 Type casting, Upcasting
 Code optimization
 Collection(List and Set)


Automation:

 Performing any task by using a tool or machine is called as automation.
Advantages:
1. Save the time.
2. Faster
3. Requires less manual effort
4. Restless.
5. Accuracy will be more
6. Multi-task
7. Requires less human resources
Dis Advantages:
1. Initial investment will be more.
2. It requires constant maintenance
3. It requires additional skill sets.
Automation testing:

 Testing an application by using any automation tools is called as automation testing.
Automation Tool:

 It’s a software or an application which is used to automate any applications.
o Ex: Selenium, QTP, Appium, AutoIT etc,

,Selenium:

 It’s a free and open source automation tool which is used to automation any web based
applications.
Advantages of selenium:

 It is freely available automation tool. To make use of selenium for commercial purpose we
don’t have to buy any license. It is available in below website.
o https://www.seleniumhq.org/download/
 Anyone can view source code of selenium which is available in below website.
o https://github.com/SeleniumHQ/selenium
 Using selenium we can automate any web based applications such as gmail, facebook,
flipkart etc…
 It supports for 14 programming languages.
 It supports for multiple platforms such as Windows, Mac, Linux.
 It supports all most all the browsers such as chrome, firefox, ie, safari, opera.


High Level Architecture of selenium:




 Selenium supports for multiple languages such as java, c, python etc,
 Each of these languages contains generic libraries(Re-useable codes) which is
called as client/language binding.
 These client binding will communicates with as API called WebDriver
 Here client binding will communicate the actions which has to be performed on
the browser such as open the browser, enter url/text, click, close etc.

,  To perform action on the browser WebDriver will communicate with driver
executable files such as chromedriver.exe, geckodriver.exe, IEDriverServer.exe
etc


Note:
1. To perform action on chrome browser, webdriver will communicate with
chromedriver.exe
2. To perform action on firefox browser, webdriver will communicate with
geckodriver.exe
3. To perform action on ie browser, webdriver will communicate with
IEDriverServer.exe


Java selenium Architecture:




Interface:
1. SearchContext
2. JavaScriptExecutor
$5.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
gowrisankar07773

Also available in package deal

Get to know the seller

Seller avatar
gowrisankar07773 Self
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions