Selenium Real-time Project Framework #3 Configure Project

Infotek Solutions
2 min readSep 21, 2023

Welcome to the Selenium Real-time Project framework series. This is the third tutorial in which we will configure the project framework. We recommend you to read our last 2 tutorials before jumping to this one.

  1. Selenium Real-time Project Framework — #1 (Maven Project)
  2. Selenium Real-time Project Framework #2 Framework Structure

Alright, let’s move ahead…

Why do we need to create config.properties?

We are trying to save some properties to the outside of the framework code, so we don’t have to modify the code every time. So following folders & files, we will create inside the framework structure:

  1. Configuration
  2. Drivers

The configuration folder is where we will save configuration properties that are outside of the framework code, so we don’t have to modify the framework code, and it will be treated like a generic. So the following properties will be saved inside the config.properties file under the configuration folder.

  1. Browser: Like which browser, you want to use to test e-learning project or e-commerce project.
  2. testurl: It is your project URL that you want to open at the starting of framework execution.

Apart from this, we have to create one more folder named of Drivers to save the browser driver executable file, so the framework can find the browser driver executable file based on Browser Property.

To watch the full video:

https://youtu.be/bwRuAPrkMzA

--

--

Infotek Solutions

We are one of the premier IT company in USA specialized in Software Testing, BA Training, QA certifications such as ISTQB and QAI, automation testing tools