Service Offerings

Explore tailored services designed to solve business challenges and support growth

Industries

Discover industry-focused expertise built to meet unique business needs

Partners

Meet our service partners who strengthen delivery and support client success

Learn how to modernize data foundations to enable trusted, scalable AI.

Global supply chain leader in apparel embarks on unified analytics strategy with Microsoft Fabric

See how a unified data strategy built faster insights and scaled analytics.

Microsoft solutions partner for Data & AI

Products

Explore our digital products built to streamline work and drive growth every day

Partners

Meet our product partners who enhance our solutions and expand client value

AI-powered automated
 regression testing: Your
kickstart for 2026

Explore a better way to speed up testing and improve release quality.

Resources

Access blogs, case studies, events, and insights that support smarter decisions.

Latest Resources

CASE STUDY

HamiltonJet transforms regression testing on Infor CloudSuite with Fortest

NEWS

Fortude earns Microsoft Azure Infrastructure Solutions designation

Our People

Discover a culture where you can grow and shape what’s next

Everyone can grow at Fortude

We believe in creating a global workplace where everyone can grow. This is amplified by our teams, who say the best thing about Fortude is our culture, one that is brought to life by a diverse team that spans across continents.

Latest

Fortude builds momentum for women in tech with all-female Ignite 2.0 tech internship

Aug 22, 2025

Pioneering innovation and inculcating learning in the age of AI

Aug 01, 2024

About us

Learn who we are, what we do, and the values that drive our growth

News & events

Stay updated with Fortude news, events, stories, and company highlights.

Contact us

Get in touch with our team to ask questions or start a conversation

Your nearest office- Sri Lanka

Fortude (Pvt) Ltd
146 Kynsey Road, Colombo 7, Sri Lanka

Email – talk-to-us@fortude.co
Phone – +94 11 453 1531

What defines us goes beyond what we do

Every day, we bring together diverse perspectives, strong leadership and responsible thinking to build a business that creates lasting value for our clients, people and communities.

Fortude secures major Solutions Partner achievement with Analytics on Microsoft Azure Specialization

Office locations

Automated regression testing tool

Selenium Test Automation With C# For Beginners

2 MIN READ

January 19, 2017

Share

What is selenium?

Selenium is a widely used test automation framework. There are 3 selenium tools; Selenium RC, Selenium IDE and Selenium Webdriver, out of which the Selenium Webdriver is the most commonly used industry tool. Using the Selenium Wedriver the test cases can be automated with C#.

To learn more about selenium, follow the link below:

https://www.seleniumhq.org/docs/01_introducing_selenium.jsp#introducing-selenium

Environment Setup

First, the Visual Studio IDE needs to be installed on to the PC. Next the Selenium Webdriver for C# must be downloaded .

Follow the link below:

https://www.seleniumhq.org/download/

Example

Step 1: Create a new project through Microsoft Visual Studio

Open Visual Studio and go on to the File tab and click on New Project.

Step 2: Add Selenium to the project

Right click on Project Name in Solution, click on Explore and add reference. Then select all DLL files and follow the steps in the image below.

Step 3

Ensure the following code is used for the required resources in the test.

using System;

using System.Text;

using System.Collections.Generic;

using System.Linq;

using OpenQA.Selenium;

using OpenQA.Selenium.Firefox;

using OpenQA.Selenium.Support.UI;

using Microsoft.VisualStudio.TestTools.UnitTesting;

Step 4

The test can then be written inside the test method, and the test can be run. For example, the following test will direct you to the brandixi3 website.

Click here to download our Software Testing brochure for more information

Click here to read more about Brandix i3’s Software Testing and QA Solution

Author:
Thimali Wijayathilake

“ Charlie’s agentic capabilities are specifically designed to address the volatility inherent in fashion and retail planning.”

– John Doe

Global supply chain leader in apparel
embarks on unified analytics

In production, AI agents optimize processes for waste reduction and improved sustainability.

CONTENTS

What is selenium?
Environment Setup

Receive the latest
Fortude Newsletter
updates.

Share

Receive the latest
Fortude Newsletter
updates.

Share