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 : Selenium WebDriver and
Locators
Assignment
Braince Education Solutions Pvt Ltd
Module : Selenium WebDriver and Locators
B r a i n 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
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 realtime 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 challengerequirement
Rediffmail.com website is having lots of web elements of the same property like on
the home page we are having multiple buttonstext boxeslinks This is making
scripts difficult to run and scripts will be failing because of multiple similar elements.
Considerations
JAVA is installed and running on the system.
Project setup has been created and validated as part of assignment
Key issues
Rediffmail.com website must be up and running.
Setup must be created on eclipseany 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
createmodify 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 : Selenium WebDriver and Locators
B r a i n 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
Approach to solve
Please launch the wwwrediff.com website and perform the belowmentioned
operation. Create package coedurekatraining and class with name Assignment
inside it and work on the belowmentioned tasks:
Inspect the Money element with the belowmentioned locators.
A Inspect with class locator
B Inspect with XPath locator
C Inspect with CSS locator
Inspect all the textboxes with the belowmentioned locators.
A Inspect with name locator
B Inspect with id locator
Inspect the belowmentioned 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
Inspect the sign in link and click on it Highlighted in red
Module : Selenium WebDriver and Locators
B r a i n 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
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
