0% found this document useful (0 votes)
35 views2 pages

Selenium Topics Technocredits

The document outlines a comprehensive training program covering various topics related to web development and automation testing, including HTML forms, WebDriver commands, XPath, TestNG, Maven, Jenkins, and Cucumber. It details specific commands, strategies, and frameworks used in Selenium testing, as well as practical applications like handling alerts, dropdowns, and web tables. The training spans over multiple days, providing a structured approach to mastering these technologies.

Uploaded by

Omkar Bhujbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Selenium Topics Technocredits

The document outlines a comprehensive training program covering various topics related to web development and automation testing, including HTML forms, WebDriver commands, XPath, TestNG, Maven, Jenkins, and Cucumber. It details specific commands, strategies, and frameworks used in Selenium testing, as well as practical applications like handling alerts, dropdowns, and web tables. The training spans over multiple days, providing a structured approach to mastering these technologies.

Uploaded by

Omkar Bhujbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

TECHNOCREDITS 9765463742

1) Created HTML Form


a. Tags to design html page.
b. Html , Head, Body
c. label
d. <input type="text" id="id1"
name="input1" class="form-input">
</input> --> to create textbox
e. input : tag
f. type : attribute, id : attribute, name :
attribute, class : attribute
g. text : value of type attribute, id1 : value
of id attribute, input1 : value of name
attribute
h. Tag can have multiple attributes
i. To create Radio button : type = "radio",
name attribute has to be same to
create
a group of options
j. To create a dropdown, <Select> tag is
used. <option> tag is used to create
dropdown options.
k. To create a checkbox -> type
="checkbox", name attribute value has
to be the same to create a group.
ie. <input type="checkbox"
value="football">
Day 1 <input type="checkbox"
value="cricket">
l. To set background :
style="background-color:yellow"

2) WebDriver, ChromDriver & FirefoxDriver


Explanation
a. WebDriver driver = new WebDriver()
b. WebDriver driver = new ChromeDriver()
c. ChromeDriver driver = new
ChromeDriver();

3) Browser command
a. void get(String url)
b. String getTitle()
c. String getCurrentUrl()
d. String getPageSource()
e. void close()
f. void quite()

4) WebElemet Command
a. void sendkeys(String input)
b. void click()
c. String getAttribute(String attribute) -->
This will return attribute value.

1) Navigation commnad
a. navigate().to(String url)
b. navigate().back()
c. navigate().forward()
d. navigate().refresh()
2) Locator Strategy
a. By.id()
b. By.name()
Day 2 c. By.linkText()
d. By.partialLinkText()
3) How to set chrome driver path
4) Exception we faced in java
a. IllegalStateException
b. NoSuchSessionException
c. NoSuchElementException
4) Maxximize winndow

1) Dropdown usig Select class


a. selectByVisibleText(String text)
b. selectByValue(String value)
c. SelectByIndex(int index)
2) Basic xpath for assignment
a. Absolute Xpath
b. Relative xpath
Day 3
Note:
// : Select current node.
Tagname: Tagname of the particular node.
@: Select attribute.
Attribute: Attribute name of the node.
Value: Value of the attribute.

1) Basic Xpath (in addition of yesterday's


session)
a. Absolute xpath
Day 4 b. Relative xpath
2) Difference between findElement and
findElements
3) Missing Link

1) Scrolling
2) Select class all methods
a. selectByVisibleText()
b. selectByIndex()
c. selectByValue()
d. deselectByVisibleText()
Day 5 e. deselectByIndex()
f. deselectByValue()
g. deselectAll()
h. List<WebElement> getOptions()
i. List<WebElement>
getAllSelectedOptions()
3) Handle Multi drop down

1) Types of Alert
a. Simple Alert
Day 6 b. Prompt Alert
c. Confirmation Alert

Day 7 1) WebTable

Day 8 1) Remaining WebTable

1) Explicite wait
a. visibilityOf(WebElement)
b. alertIsPresent()
c. visibilityOfAllElements(List)
d. visibilityOfElementLocated(By)
e. visibilityOfAllElementsLocatedBy()
Day 9 f. elementToBeClickable(By)
g. elementToBeClickable(WebElement)
h. presenceOfElementLocated(By)
i.presenceOfElementLocated(WebElement)
many more
2) Property File Reading

1) IFrame
a. By Index
Day 10 b. By Name or Id
c. By Web Element
2) Property File Refactoring

1) Actions class
a. Drag And Drop
b. Double click
Day 11 c. Mouse Hover
https://demos.telerik.com/kendo-
ui/dragdrop/index

1) Window handling
Day 12 a. Multi browser handle
b. Multi tab handle

1) TestNG Introduction
Day 13 2) Asertions
3) testng.xml file

1) TestNG annotations
Day 14 2) DataProvider

Day 15 1) Data Provider - Excel Reading

1) TestNG
Day 16 a. Groups
b. Parameters

1) TestNG
a. DependsOn
b. methods
c. groups
Day 17 2) Parallel Run
a. classes
b. methods
3) Run XML file from CMD

1) Relative xpath
a. Basic Xpath
b. text()
c. contains()
d. starts-with()
e. and, or

2) Xpath Axes methods


a. following
b. following-sibling
Day 18 c. parent
d. ancestor

Start looking at DOM structure at your


convenient time : https://editor.datatables.
net/examples/extensions/excel

DataTables example - AutoFill and KeyTable


together
https://editor.datatables.net

1) Xpath Axes methods continue...


a. ancestor-or-self
b. child
c. preceding
d. preceding-sibling
Day 19 e. self
f. descendant
g. position()
h. last()
i. node()
j. name()

1) Excel Operation
Day 20 a. Read data with headers
b. Adding data based on cell type

1) Auto-suggestion & Calendar


Day 21 a. How to add breakpoint
b. How to remove breakpoint

1) TestNG Include-Exclude
Day 22 a. group
b. methods

1) JavascriptExecutor
Selenium a. sendKeys
b. click
c. checkbox click
d. forward
d. back
Day 23 e. referesh
f. title
g. getCurrentURL
h. alert generate
j. getText
k. get(URL)
l. scrolling

1) Framework Day 1
a. Create new java project
b. create lib folder and place all jars into
that
c. build path add libs
d. Add TestNG jars
Day 24
2) Create 4 packages
a. testscripts
b. pages
c. base
d. utils

1) Framework Day 2
a. Singleton design pattern
b. locators will be from properties
i. Few changes will be required in
PredefinedActions
ii. Few changes will be required
Day 25 on pages as well
iii. Constructor
vi. Method calling
v. Read properties file code

c. PredefinedActions

1) Hybriddriver Framework Signup hover


Day 26 menu verification

Day 27 1) Framework screenshot

Day 28 1) Login Test

Day 29 1) Hybrid Datadriven DataProvider

1) Framework Login OPT1


Day 30 2) Framework Login OTP2

1) Setup Maven on machine


Day 31 2) Framework Maven Part 1
3) Framework Maven Part 2

1) Log4J File
a. Adding Log4j Dependency
Day 32 b. Understand log4j properties & perform
log4j operation

1) Log4j Continue
a. Logger at framework Level
b. Use of log level in framework
Day 33 c. Generate log file based on
requirement (for each Class, for test
Suite, for Test)

1) CSS Selector
a. id: #
b. class: .
c. exact child: >
d. child/subchild: white space/ blank space
e. choosing a specific match
i. :nth-of-type()
Day 34 ii. :nth-child()
f. sub-string matches
i. ^ match a Prefix (starts-with
value/latter)
ii. $ match a suffix (ending value/latter)
iii. * match a sub-string (Any value)
g. siblings: +
h. not() attribute: ":not()"

1) Framework Purchase product


Day 35 part-1 & part-2

1) Framework Purchase product


Day 36 part-3 & part-4

1) Framework Softassert Purcharse Product


Day 37 Part5

1) Maven
a. Create Maven Project
b. Select Maven project option from
eclipse
c. create simple project
d. GroupID : it means parent package.
e. ArtifactID : Project Name
f. Version : version of project
Day 38 2) Project Stucture
a. well defined structure.
b. src/main/java
c. src/main/resources
d. src/test/java
e. src/test/resources
f. POM.xml [Project Object Model]
g. Add Dependancies : Selenium & TestNG

1) Suirefire plugin
Day 39 2) Resource plugin
3) Maven Compiler plugin

1) Multi browser & Env pass from Maven


2) Run script on Diff browser
3) How to pass browser name and
Day 40 environment
4) Run test case from pom.xml to testng.xml
5) Run test cases from maven command
6) Run test case from xml file from maven

1) Maven Life Cycle


a. clean [3]
b. default [23]
Day 41 c. site [4]
2) Jenkins download
3) Jenkins plugin installation

1) Jenkin part -2
a. Setup Java on Jenkins
b. Setup Maven on Jenkins
c. Setup Git on Jenkins
d. Plugin Part
Day 42
2) Jenkin part -3
a. Create Maven Job Jenkins
b. Job Configuration
c. Parameterised project

1) Email Configuration
2) Report Sent via Jenkins
3) Jenkins & Git Configuration
Day 43 4) Cron Pattern(Jenkins Job Scheduler & Git
Poll)
4) Broken Link
5) File Upload (Robot Class)

1) Cucumber Part-1
a. BDD Overview
b. Diff between TDD & BDD
Day 44 c. Advantages of BDD
d. Setup Project for BDD
e. Plugin installation in eclipse

1) Cucumber Part-2
a. AutomationHooks
b. POM[Page Object Model]
Day 45 c. Writing feature files
d. Tagging
e. Writing Steps (From Snippet)

1) Cucumber Part-3
Day 46 a. Brief about Runner Class
b. Interview Question on Runner

1) Cucumber Part-4
Day 47 a. Completed 1 Cucumber TC E2E

1) Postgres SQL setup


Day 48 a. JDBC Connection - Part1
b. JDBC Connection - Part2

1) Cucumber Part-5
a. Details About Runner & Scenario
Outline
Day 49 b. Run Runner From CMD using maven

2) Cucumber Part-6
a. Datatable in Cucumber

You might also like