Question: Selenium Certification Training Course Module 4 : Selenium WebDriver and Locators Assignment Brain 4 ce Education Solutions Pvt . Ltd . Module 4 : Selenium

Selenium Certification Training Course
Module 4: Selenium WebDriver and
Locators
Assignment
Brain4ce Education Solutions Pvt. Ltd.
Module 4: Selenium WebDriver and Locators
B r a i n 4 c e E d u c a t i o n S o l u t i o n s P v t . L t d . Page 1
Case Study
Rediffmail.com is a leading news and entertainment website. They provide email
domains to customers. They need to develop a framework so that real-time results
can be achieved on testing. As part of framework preparation, they need to create an
element repository. The team is starting from home page locator validation and
element repository by using unique locators so that whatever test cases will be
created by the team will be working for a long time and it wont change position
frequently. Whenever any changes on elements can be done at a single place instead
of changing at multiple locations.
Business challenge/requirement
Rediffmail.com website is having lots of web elements of the same property like on
the home page we are having multiple buttons/text boxes/links. This is making
scripts difficult to run and scripts will be failing because of multiple similar elements.
Considerations
JAVA 8 is installed and running on the system.
Project setup has been created and validated as part of assignment 1.
Key issues
Rediffmail.com website must be up and running.
Setup must be created on eclipse/any suggested IDE.
Please comment on all the find element method which is of no use.
Additional information
Business benefits:
We are creating an element repository so that whenever we need to
create/modify any test case, we need not do changes on that test case directly
but we can perform changes only on the locator value. Which helps with test case
preparation.
If any element is getting changed then we need not find in what all locations
we have used this element but we can simply change in one location and
changes will be applicable everywhere.
Tracking of an element will be easier for all the elements.
If we have to create any new test case and the application is down in that case
also our work will not be impacted, and we can simply create the cases just by
picking the locator value in whichever class they are stored
Module 4: Selenium WebDriver and Locators
B r a i n 4 c e E d u c a t i o n S o l u t i o n s P v t . L t d . Page 2
Approach to solve
Please launch the www.rediff.com website and perform the below-mentioned
operation. Create package co.edurekatraining and class with name Assignment2
inside it and work on the below-mentioned tasks:
1. Inspect the Money element with the below-mentioned locators.
A) Inspect with class locator
B) Inspect with XPath locator
C) Inspect with CSS locator
2. Inspect all the textboxes with the below-mentioned locators.
A) Inspect with name locator
B) Inspect with id locator
3. Inspect the below-mentioned elements.
A) Rediffmail.com, enterprise email, videos, business email, shopping, sign in,
and create an account
B) Inspect all the links present on Rediff.com
4. Inspect the sign in link and click on it (Highlighted in red).
Module 4: Selenium WebDriver and Locators
B r a i n 4 c e E d u c a t i o n S o l u t i o n s P v t . L t d . Page 3
Enhancements for code
Please follow the Java naming convention.
Please follow coding standards learned during the training.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!