Explore tailored services designed to solve business challenges and support growth
Discover industry-focused expertise built to meet unique business needs
Meet our service partners who strengthen delivery and support client success
Meet our service partners who enhance our capabilities, strengthen service delivery, and help drive successful outcomes for our clients.
Learn how to modernize data foundations to enable trusted, scalable AI.
See how a unified data strategy built faster insights and scaled analytics.
Explore our digital products built to streamline work and drive growth every day
Meet our product partners who enhance our solutions and expand client value
Explore a better way to speed up testing and improve release quality.
Access blogs, case studies, events, and insights that support smarter decisions.
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.
Learn who we are, what we do, and the values that drive our growth
Stay updated with Fortude news, events, stories, and company highlights.
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
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.
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
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
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
