Sunday, 15 November 2026

How Does Payroll Work in India? A Step-by-Step Guide

 

How Does Payroll Work in India? Step-by-Step Guide 

Summary: Understand how payroll works in India, including salary structure, attendance, PF, ESI, Professional Tax, TDS, payslips and payroll processing.


 

Payroll is an essential business function that ensures employees receive their salaries accurately and on time. In India, payroll processing involves not only calculating employee salaries but also managing attendance, leave, deductions, taxes, statutory compliance and salary records.

For aspiring HR and payroll professionals, understanding the complete payroll cycle is an important career skill.

Step 1: Create Employee Master Data

Every payroll process begins with accurate employee information. This may include employee ID, joining date, designation, department, bank details, PAN, applicable statutory information and salary structure.

Step 2: Define the Salary Structure

A salary structure may include:

  • Basic Salary

  • House Rent Allowance

  • Special Allowance

  • Conveyance or other applicable allowances

  • Incentives

  • Bonus

  • Other earnings

     


     

The structure should be designed according to the organisation's compensation policies and applicable legal requirements.

Step 3: Process Attendance and Leave

Monthly attendance is an important payroll input. The payroll team reviews:

  • Days worked

  • Paid leave

  • Unpaid leave

  • Loss of Pay

  • Overtime

  • Holidays

Incorrect attendance data can directly affect salary calculations.

Step 4: Calculate Gross Earnings

All applicable earnings for the payroll period are calculated to determine the employee's gross earnings.

Step 5: Calculate Applicable Deductions

Depending on eligibility and applicable rules, deductions may include:

  • PF

  • ESI

  • Professional Tax

  • TDS

  • Loan recovery

  • Other authorised deductions

Step 6: Calculate Net Salary

A basic payroll formula is:

Net Salary = Gross Earnings – Applicable Deductions

Step 7: Generate Payslips and Reports

Once payroll is processed and verified, payslips and payroll reports can be generated. These reports may be used by employees, HR, finance and management.

Why Payroll Knowledge Is Important for HR Professionals

Modern HR professionals are increasingly expected to understand HR operations, payroll coordination, statutory compliance, HRMS and employee data management.

Practical payroll knowledge can create opportunities in roles such as:

  • HR Executive

  • Payroll Executive

  • HR & Payroll Executive

  • HR Operations Executive

  • Payroll Coordinator

Learn Practical HR & Payroll at Palium Skills

Palium Skills offers practical training covering:

  • Payroll processing

  • Salary structure

  • PF, ESI, PT & TDS

  • Advanced Excel for HR

  • HR MIS

  • HRMS/payroll software

  • Full & Final Settlement

  • HR analytics

  • AI for HR

  • Practical payroll projects

Contact Palium Skills

South Kolkata Center
1st Floor, Sheeba Bhavan, 1/22 Poddar Nagar
Near South City Mall, Kolkata – 700068

Salt Lake Center
5th Floor, RDB Boulevard, Block GP
Salt Lake Electronic Complex, Kolkata – 700091

Call: +91 8420594969
WhatsApp: +91 9903130500
Website: Palium Skills
Email: info@paliumskills.com

Thursday, 5 November 2026

TDS on Salary: A Practical Guide for HR and Payroll Professionals

 

TDS on Salary: A Complete Guide for HR and Payroll Professionals

Learn how TDS on salary works in India, the role of employers, employee declarations, tax calculations and payroll processing.




TDS, or Tax Deducted at Source, is an important part of salary payroll processing. HR and payroll professionals need to understand how employee salary, declarations, eligible tax considerations and deductions affect monthly payroll.

What Is TDS on Salary?

TDS on salary refers to income tax deducted by an employer from an employee's salary, where applicable, based on the relevant tax provisions and the employee's taxable income.

The employer plays an important role in estimating taxable income, considering applicable declarations and deductions, deducting tax as required and completing the relevant reporting processes.

How Is TDS on Salary Processed?

A practical payroll process may involve:

  1. Collecting employee PAN and tax-related information.

  2. Understanding the applicable tax regime selected or applicable to the employee.

  3. Collecting employee declarations and supporting documents where required.

  4. Estimating annual taxable income.

  5. Considering eligible exemptions or deductions according to applicable provisions.

  6. Calculating the estimated annual tax liability.

  7. Distributing applicable tax deductions across the payroll period.

  8. Reviewing changes in salary, incentives, bonuses or declarations.

  9. Completing required tax reporting and documentation.

Why Is TDS Knowledge Important for Payroll Professionals?

A payroll professional may need to coordinate employee declarations, maintain payroll records, calculate monthly deductions and work with finance or tax teams.

Because income-tax rules, slabs, exemptions and compliance requirements may change, payroll professionals should always verify the current provisions before processing payroll.

Skills Required for TDS Payroll Processing

Important skills include:

  • Salary structure knowledge

  • Payroll calculations

  • Excel

  • Employee data management

  • Tax documentation

  • Payroll reporting

  • Attention to detail

Learn Practical Payroll at Palium Skills

The HR & Payroll program at Palium Skills helps learners build practical skills in payroll processing, PF, ESI, PT, TDS, Advanced Excel, HR MIS, HRMS/payroll software, Full & Final Settlement, HR analytics and AI for HR.

Contact Palium Skills

South Kolkata Center
1st Floor, Sheeba Bhavan, 1/22 Poddar Nagar
Near South City Mall, Kolkata – 700068

Salt Lake Center
5th Floor, RDB Boulevard, Block GP
Salt Lake Electronic Complex, Kolkata – 700091

Call: +91 8420594969
WhatsApp: +91 9903130500
Email: info@paliumskills.com
Website: https://paliumskills.com

Sunday, 1 November 2026

Selenium WebDriver Tutorial with Java – A Step-by-Step Guide

 

Selenium WebDriver with Java Tutorial | Palium Skills

Learn Selenium WebDriver with Java through a step-by-step tutorial covering installation, browser automation, locators, test execution and practical examples. Join Palium Skills Kolkata or live online training.

 


 


Introduction

Automation testing has become an essential part of modern software development. Organisations release software updates frequently and need efficient ways to validate application functionality without repeating every test manually.

Selenium WebDriver is one of the most popular tools for automating web applications. When combined with Java, it provides a powerful platform for developing reusable automation scripts and scalable testing frameworks.

Java is widely used in enterprise application development, making Selenium with Java a valuable skill for aspiring Automation Test Engineers and Software Development Engineers in Test (SDETs).

This tutorial explains how to get started with Selenium WebDriver using Java, configure the development environment and write your first browser automation script.

1. What is Selenium WebDriver?

Selenium WebDriver is a browser automation interface that allows testers to control web browsers programmatically.

It enables automation scripts to perform activities such as:

  • Opening websites.

  • Entering information into web forms.

  • Clicking buttons and hyperlinks.

  • Selecting dropdown values.

  • Handling alerts and browser windows.

  • Validating application responses.

  • Executing cross-browser tests.

Unlike simple record-and-playback tools, Selenium WebDriver allows testers to develop customised automation scripts using programming languages.

2. Prerequisites for Learning Selenium with Java

Before starting Selenium WebDriver, learners should understand a few basic concepts.

Java Programming: Knowledge of variables, data types, conditional statements, loops, methods, classes and objects.

Object-Oriented Programming: Understanding inheritance, encapsulation, polymorphism and abstraction.

HTML and CSS: Basic knowledge of web page structure and HTML elements helps testers identify web elements.

Software Testing Fundamentals: Familiarity with test cases, test scenarios, functional testing and regression testing is beneficial.

Beginners can learn these concepts alongside their Selenium training.

3. Tools Required for Selenium Java Automation

The following tools are commonly used:

  1. Java Development Kit (JDK).

  2. Eclipse IDE or IntelliJ IDEA.

  3. Selenium WebDriver.

  4. Google Chrome or another supported browser.

  5. Maven for dependency management.

  6. TestNG or JUnit for test execution.

Using a suitable IDE makes it easier to write, execute and debug automation scripts.

4. Installing and Configuring Selenium WebDriver with Java

Follow these steps to configure your Selenium Java environment.

Step 1: Install Java

Download and install a supported JDK version.

Configure the JAVA_HOME environment variable if required and verify the installation using:

java -version

Step 2: Install Eclipse IDE

Download Eclipse IDE and create a Java project or Maven project.

Step 3: Create a Maven Project

Create a Maven project and open its pom.xml file.

Add the Selenium dependency:

<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>4.38.0</version>
</dependency>

Use a compatible Selenium release and update the dependency version when necessary.

Maven automatically downloads the required libraries.

Step 4: Configure the Browser

Install Google Chrome or another supported browser.

Modern Selenium versions include Selenium Manager, which can automatically manage compatible browser drivers in supported configurations.

5. Writing Your First Selenium WebDriver Program

Now let us create a simple Selenium automation script using Java.

The following program opens Google Chrome, navigates to a website and retrieves the page title.

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class FirstSeleniumProgram {

    public static void main(String[] args) {

        WebDriver driver = new ChromeDriver();

        driver.get("https://www.google.com");

        String title = driver.getTitle();

        System.out.println("Page Title: " + title);

        driver.quit();
    }
}

Understanding the code:

  • WebDriver is the Selenium interface used to control the browser.

  • ChromeDriver creates a Chrome browser session.

  • get() navigates to the specified URL.

  • getTitle() retrieves the current page title.

  • quit() closes the browser session and ends the WebDriver session.

This is the foundation of browser automation using Selenium.

6. Understanding Selenium Locators

Locators are used to identify elements on a web page.

Selenium provides several locator strategies:

LocatorPurpose
IDIdentifies an element using its ID
NameIdentifies an element using its name
Class NameLocates elements using CSS class
Tag NameLocates elements using HTML tags
Link TextIdentifies links using visible text
Partial Link TextMatches part of a link's text
CSS SelectorLocates elements using CSS expressions
XPathLocates elements using XML path expressions

Example:

driver.findElement(
    By.id("username")
).sendKeys("testuser");

This command identifies an element with the ID username and enters the supplied text.

Understanding XPath and CSS selectors is particularly important when automating complex web applications.

7. Performing Common Browser Interactions

Selenium WebDriver supports various browser interactions.

Entering Text:

driver.findElement(
    By.id("email")
).sendKeys("test@example.com");

Clicking a Button:

driver.findElement(
    By.id("login")
).click();

Clearing a Text Field:

driver.findElement(
    By.id("username")
).clear();

Retrieving Text:

String message = driver.findElement(
    By.id("message")
).getText();

System.out.println(message);

These operations form the foundation of most web application automation scenarios.

8. Understanding Waits in Selenium

Modern web applications frequently load content dynamically. Therefore, automation scripts must wait for elements to become available before interacting with them.

Selenium supports:

An explicit wait example:

WebDriverWait wait = new WebDriverWait(
    driver, Duration.ofSeconds(10)
);

WebElement element = wait.until(
    ExpectedConditions.visibilityOfElementLocated(
        By.id("username")
    )
);

Explicit waits are particularly useful when handling dynamically loaded web elements.

9. Integrating Selenium with TestNG

TestNG is a popular testing framework used with Selenium Java.

It provides:

  • Test annotations.

  • Assertions.

  • Test grouping.

  • Parameterisation.

  • Parallel execution.

  • Test reporting.

A basic TestNG test looks like this:

import org.testng.annotations.Test;

public class LoginTest {

    @Test
    public void verifyLoginPage() {

        System.out.println(
            "Executing Selenium Test"
        );
    }
}

In a practical automation project, TestNG can be used to organise test cases and generate execution reports.

10. Developing a Selenium Automation Framework

After learning individual Selenium commands, the next step is to understand framework development.

A professional automation framework may include:

  • Page Object Model (POM).

  • TestNG.

  • Maven.

  • Reusable utility methods.

  • Configuration management.

  • Logging.

  • Test data management.

  • Screenshot capture.

  • Reporting.

  • Git integration.

  • Jenkins-based execution.

Framework development helps testers organise automation code and maintain large test suites efficiently.

11. Career Opportunities After Selenium Java Training

Selenium with Java can help learners prepare for several software testing roles:

  • Selenium Automation Tester.

  • QA Automation Engineer.

  • Software Test Engineer.

  • Automation Framework Developer.

  • SDET.

  • Quality Assurance Analyst.

Candidates should complement Selenium knowledge with programming, API testing, SQL, Git, CI/CD and practical project experience.

Learn Selenium WebDriver with Java at Palium Skills

Palium Skills offers practical Automation Testing Training for students, freshers, working professionals and experienced manual testers.

The Selenium Java programme focuses on developing practical automation skills through structured instruction and project-based learning.

Programme highlights:

  • Java programming fundamentals for automation testing.

  • Selenium WebDriver from beginner to advanced level.

  • XPath and CSS selectors.

  • TestNG and Maven integration.

  • Page Object Model framework.

  • Real-time automation exercises.

  • Interview preparation and project guidance.

Training modes:

  • Classroom sessions at South Kolkata and Salt Lake, Kolkata.

  • Instructor-led live online sessions for learners across India.

Contact Palium Skills

Website: www.paliumskills.com

Call: 8420594969 / 7044871915

WhatsApp: 9903130500

Email: info@paliumskills.com

Frequently Asked Questions

1. Is Java necessary for Selenium WebDriver?

No. Selenium supports several programming languages, including Java and Python. However, Java is widely used in enterprise automation projects.

2. Is Selenium WebDriver difficult to learn?

Beginners can learn Selenium progressively by understanding Java fundamentals, web elements, locators and browser interactions.

3. Which IDE is suitable for Selenium Java?

Eclipse and IntelliJ IDEA are commonly used development environments.

4. What is the role of TestNG in Selenium?

TestNG helps organise and execute automation test cases through annotations, assertions, grouping and reporting.

5. Can Selenium automate Chrome and Firefox?

Yes. Selenium WebDriver supports multiple browsers, including Chrome, Firefox, Edge and Safari, subject to compatible environments.

6. Where can I learn Selenium Java in Kolkata?

Palium Skills offers Selenium Java Automation Testing training through classroom sessions in Kolkata and live online instructor-led sessions.

Conclusion

Selenium WebDriver with Java is a valuable technology for anyone interested in software quality assurance and automation testing. By learning browser interactions, locators, waits, TestNG and framework development, learners can build a strong foundation in automation engineering.

Join Palium Skills to develop practical Selenium automation skills through classroom or live online training.

How Does Payroll Work in India? A Step-by-Step Guide

  How Does Payroll Work in India? Step-by-Step Guide   Summary: Understand how payroll works in India, including salary structure , attenda...