3. Concepts:
What is Selenium (Se.)
Selenium Applications
Tools for Automating Interactions
Job Opportunities in The World
A demo(Tut)
Page 1
4. So, What is Selenium (Se.) ?
Se is a browser automation framework
like as Django web framework.
Se is a set of tools for automating browsers
Se supports browsers including Firefox,
Internet-Explorer, Google-Chrome, Safari, and
Opera.
Page 2
6. Selenium Applications:
Largely used for testing & validating applications
Automating repetitive tasks in browser
Reduce financial costs and time
because teams don’t have time or money to invest in
large test teams to make sure that applications work as
they are expected.
Page 4
7. Selenium Applications (Cont’d):
For WEB Penetration-Testing
Testing logical vulnerabilities:
for Ex: authentication, access control, input validation.
Testing technical vulnerabilities:
for Ex: XSS, …
Using in Web-Scraping
Page 5
8. Selenium Applications (Cont’d):
For WEB Penetration-Testing
Hacking a logical vulnerability: BUG BOUNTY
for bypassing CAPTCHA puzzle pattern:
Page 6
Thanks to:
BugCrowd.com
HackerONE.com
9. Selenium Applications (Cont’d):
For WEB Penetration-Testing
Hacking a technical vulnerability: BUG BOUNTY
for discovering a XSS vulnerability:
Page 7
10. Tools for Automating Interactions:
1. Selenium IDE:
this is a Firefox add-on
Disadvantages:
- it can only be used with FF
- also, all selenium tools don’t
support RIA technologies
such as: Silverlight, JavaFx,
and Flex/Flash.
Page 8
12. Tools Automating Interactions (Cont’d):
2. Selenium WebDriver:
Is a programming interface for developing advanced
scripts using different programming languages.
We can run tests on multiple browsers that is so-called:
Cross-Browser; And on multiple OS that is so-called:
Cross-Platform (IOS, Android, Linux, Win, Mac, …).
Se.WebDriver offers many libraries for writing test scripts
in various languages, including Java, C#, Python, Ruby,
PHP, Perl, and JavaScript.
Page 10
14. Tools Automating Interactions (Cont’d):
3. Selenium Standalone Server:
known as “Se.Grid” and that distributes test-scripts on
machines
For Se.Grid, need a Java Runtime Environment (JRE);
then:
1) nohup java -jar selenium-server-standalone-2.53.jar >
/root/milani/selenium.log &
2) java -jar selenium-server-standalone-2.53.jar -host
10.1.10.14 -port 4444 -role hub
Page 12
15. Tools Automating Interactions (Cont’d):
3. Selenium Standalone Server:
Hub: be understood as server which acts as the
central point
Node: are Se.instances that are attached to the Hub
which execute the tests.
Note« Se.Grid includes Hub, WebDriver, and Se.RC to
execute the scripts in the Grid.
Page 13
17. Selenium Jobs:
www.indeed.com/q-Selenium-jobs.html
www.naukri.com/selenium-jobs #Special for India.
www.careerbuilder.com/jobs-selenium
www.upwork.com/o/jobs/browse/skill/selenium
An example of upwork.com:
Selenium script for downloading files.
Hourly - Entry Level ($) - Est. Time: Less than 1 month, 10-30 hrs/week - Posted 2 days ago.
Environment: Java-based platform, Selenium/TestNG framework.
Purpose: develop a script to automate the downloading of files from different web portals. ...
Each web portal (Java-based) has a completely different structure. We have ~20 user test cases
using Selenium; means: you should write a script for executing ~20 test cases.
Number of freelancers needed: 3
Page 15