Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

The Open University of Sri Lanka

Department of Electrical and Computer


Engineering
Bachelor of Software Engineering Honors
Academic Year - 2023/2024

Software Testing and Quality Assurance


Level 4
EEI5467
Section C

Name : Vinod Warnakulasooriya


Registration No : 622515242
S No : S22010554
Web IDE Selenium
Testing Exercise

Page 2|7
Introduction

This report outlines the process of creating and executing automated test
cases using Selenium IDE for the website CaringUp. accessible at
https://www.caretotranslate.com/. The primary objective is to navigate
through the site and interact with various elements and validate their
functionality to ensure the website behaves as expected. By leveraging
Selenium IDE so we can automate the testing process and making it more
efficient and reliable. This report will detail each step and from setting up
the test environment to executing the tests and analyzing the results.
providing a comprehensive overview of the automated testing workflow.

The following tasks are prioritized for the automated testing process

 Opening the website in a browser - This involves launching the


CaringUp website (https://www.caretotranslate.com/) in a web
browser using Selenium IDE.

 Navigating to different pages or sections of the website - This


includes automating the process of moving through various parts of
the website to ensure that navigation works correctly.

 Interacting with various elements on the pages - This task involves


performing actions such as clicking buttons, filling out forms, and
verifying displayed text to simulate user interactions.

 Performing basic validation of elements - This includes checking the


presence of specific elements on the page, verifying their attributes
(such as class or id) and ensuring that the text content is correct.

Page 3|7
Test Case Documentation
Test Suite 1: Opening the website

Test Case

Open Home Page

Steps

Open the URL https://www.caretotranslate.com/

Expected Outcome

The home page loads successfully and displaying the main content of the
caretotranslate website.

Test Suite 2: Navigation

Test Case 1: Navigate to ‘About Us’ Page

Steps

Open the URL https://www.caretotranslate.com/about-us

Click on the ‘About Us’ link

Expected Outcome

The 'About Us' page loads successfully and displaying the relevant
content about CaringUp.

Test Case 2: Navigate to ‘Our solution’ Page

Steps

Open the URL https://www.caretotranslate.com/our-solutions/for-clinics


Click on the ‘Our solution’ link
Page 4|7
Expected Outcome

The Our solution page loads successfully displaying the relevant content
and UI elements for government related information on CaringUp.

Test Case 3: Navigate to ‘Medical translations’ Page

Steps

Open the URL https://www.caretotranslate.com/our-solutions/medical-


translations

Click on the ‘Medical translations’ link

Expected Outcome

The Medical translations page loads successfully and displaying the


relevant content and UI elements for healthcare-related information on
CaringUp.

Test Suite 3: Interacting with elements


Test Case: Fill the ‘Contact us’ form
Steps
Open https://www.caretotranslate.com
Click on ‘Company’
Click on ‘Contact Us’
Fill the form
Click on ‘Submit’
Expected Outcome
Get the Success message.
Receive a copy of details to the provided email.

Page 5|7
Testing Process

Setup

Before starting the testing process, I installed Selenium IDE for Chrome,
ensuring that I have the necessary tools for automated testing in place.

Test Case Creation

I meticulously developed test cases for various scenarios involving


navigation, interaction, and validation on the website. Each test case was
carefully crafted to cover different aspects of the website's functionality,
ensuring comprehensive test coverage.

Execution

With the test cases ready, I proceeded to run them using Selenium IDE.
This step allowed me to observe the behavior of the website and verify
that it performs as expected. Running the tests on Selenium IDE provided
a quick and efficient way to validate the website's performance.

Challenges Encountered

Selenium IDE Interface

As a first-time user of Selenium IDE, I encountered challenges in


navigating the interface of the tool. Understanding the different features
and functionalities took some time, but I was able to overcome this
hurdle through exploration and experimentation.

Internet Connection

During one of the test runs, I faced an issue with an unstable internet
connection, which disrupted the execution of Selenium IDE. This
highlighted the importance of maintaining a stable internet connection for
seamless test execution.

Page 6|7
Lessons Learned

Internet Connection

I learned the critical role of a stable internet connection in the testing


process. A reliable connection ensures uninterrupted test execution,
minimizing disruptions and errors during testing.

Test Cases

Developing effective test cases requires a deep understanding of the


functionalities and requirements of the website. Through this experience I
gained insights into the importance of clarity and precision in test case
development.

Test Results

Automation of testing with Selenium IDE proved to be highly efficient


and allowing for quick and accurate execution of tests. This automation
significantly reduced the risk of human errors and ensured consistent test
results across different test runs.

Page 7|7

You might also like