0% found this document useful (0 votes)
13 views1 page

Java Hybrid Framework with Selenium & TestNG

The document outlines a testing framework built using Java, incorporating a hybrid framework with Selenium, TestNG, Maven, and Page Object Model (POM). It details the structure for managing web pages, common functions, and utilities, as well as features like parallel testing, version control with Git, and report generation using Extent Reports. Key components include a properties file for configuration, utility classes for repetitive tasks, and listeners for customizing test reports.

Uploaded by

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

Java Hybrid Framework with Selenium & TestNG

The document outlines a testing framework built using Java, incorporating a hybrid framework with Selenium, TestNG, Maven, and Page Object Model (POM). It details the structure for managing web pages, common functions, and utilities, as well as features like parallel testing, version control with Git, and report generation using Extent Reports. Key components include a properties file for configuration, utility classes for repetitive tasks, and listeners for customizing test reports.

Uploaded by

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

1.

language- we used java lang

[Link] of framework- we used hybrid faramework which is the combination of


selenium, testNG,
maven , POM with page factory

[Link]- it provide simple folder structure and used for build ,execution,and
dependency purpose
We integrated selenium, TestNG and Apache Poi dependencies

[Link]- we maintained the Page object Model, and in this model we created separate
class for every
web page and this class holds the functionality and memebers of that web
page

Trick(P T P U L)

[Link]- different packages for web pages and tests.

[Link] class - in that we have maintatined common functions like intializing


WebDriver,
implicit wait

[Link] file - in this all the static information is stored (i.e


[Link])
throughout framework , beacuse of this it becomes simple to
maintain

[Link] class- this class stores and handles function which are repetation in
natures
eg- waits, taking screenshot ,accessing data from excel, sending emails

[Link] class- for customizing reports or testlogs according to requirement. we


maintained
with iTestListner, IReporter,WebDeiverEventListners.

[Link]- all the ss are captured and stored in the ss folder and is attached
to the report

[Link] Data - by using apache poi we are extracting or accessing data from excel.

[Link]- with the help of testNG we achieve Parallel testing, grouping, priotrize
execution,
assertion, action classes, we get xml files which reduces space

[Link] control- we used Git as a repository

[Link] Reports- it generates HTML report and also maintains log and ss of failed
test

You might also like