You are on page 1of 7

https://formstone.

it/components/checkbox/
All Sample WebElements

https://the-internet.herokuapp.com/checkboxes
operations-on-html-elements
https://scriptinglogic.com/selenium/operations-on-html-elements/

Day 3:

Selenium project installation

1. Create a Java project


2. Create a folder and name it lib
3. Download the selenium libraries (java) http://selenium.dev
https://www.selenium.dev/downloads/ (it will be a zip file extract
it)
4. Add them into the lib folder ( there are jars files outside also
there is lib folder where in you have jar files)

5. Set the lib folder as a library (


- Intellij Idea → right clicks on project -> open module
settings → library, click on + icon → java → expand your
project → select lib folder → ok.
- Eclipse → select all jar files → right-click → build path →
set build path.
Close - closes the current window of a browser
Quit - closes all the windows opened by the driver
Perform the below scenario using selenium

1. Open login url : https://stock.scriptinglogic.net/


2. Do login operation with valid credentials
3. Click on add customer
4. Fill up the customer details
5. Click on add button

Locators
Id
Name
Classname
LinkText
PartialLinkText
Tag name
Xpath
Css selectors

Radio button / check boxes → element.isSelected() → true/false


Drop downs

https://formstone.it/components/checkbox/
All Sample WebElements

https://the-internet.herokuapp.com/checkboxes

SelectorsHub - XPath Plugin install into chrome

Xpath video
https://www.youtube.com/watch?v=jk9PvIf3z8A&t=2s
https://www.youtube.com/watch?v=MX_0hGU-LEg

CSS selector
https://www.youtube.com/watch?v=f9oHY2RxRzs

Dropdown selection:
https://www.youtube.com/watch?v=I9ZQinZVoAc

For practice
https://www.lifepartner.in/
https://blazedemo.com/
https://the-internet.herokuapp.com/dropdown

https://www.click.in/pune/classifieds/60/post.html

Switch to another window / frame


https://www.youtube.com/watch?v=DATjGzjjPiA&t=1s

For the maven project


https://www.youtube.com/watch?v=BMsjQrMWu3w&list=PLTBsF5WL
NKWEuFdX7Q-JUWnw9h15Vc382&index=1
Opening new tab and close it
https://www.youtube.com/watch?v=DATjGzjjPiA

Sql
https://youtu.be/nU4-Y1l6a_Y
https://youtu.be/NQjMN0l55Og

Why cant we test Captcha


https://youtu.be/Rq9YGdkxOb8

How to scroll
https://www.youtube.com/watch?v=m-gzajRrD-E

Today's task

Create selenium project and


perform login operation
https://the-internet.herokuapp.com/login

upload task to the link


link : --> https://forms.gle/vcyYv5RPTd23Vf3y5

Submit before 6 PM tomorrow


Subscribe to youtube channel
http://youtube.com/amolujagare
Date selection:
https://www.youtube.com/watch?v=yW1-IbI_soc

Drop down selection


https://www.youtube.com/watch?v=I9ZQinZVoAc

Cross browser testing


https://www.youtube.com/watch?v=pxMmWvxNzNw

File selection / upload


https://www.youtube.com/watch?v=B-g4EXckClo

Scroll web page


https://youtu.be/m-gzajRrD-E

You might also like