First Step in Automation Testing; Writing Robust Web Locator
write robust web locators to write test automation scripts that are likely not to break. Learn Ids, Classname, XPath
Software Testing,Development,Xpath
Lectures -15
Duration -1 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
Web locators are very important in web automation, whether for test or any other purpose. Because everything in web development go for Automation now, including integration in CI/CD pipelines and nightly regression tests, so web locators are nowadays more important than ever.
To write a web locator, there's a selections of methods available. Engineers have developed many ways to write web locators. Because in different situations, one or the other web locator may be fit for a specific case. Web locators can depend on Id, a classname, a type, a name or some other property. In other cases, we may be obliged to use XPath. Don't worry, the definition of each of these as well as examples and use cases are covered within this course.
We learn in this course what a robust web locator means. How we can write robust web locators. We also learn how to choose the best locator between the different types available for use.
To learn more about me and my work background, please visit my personal page. There's other courses on this subject, but I give you the reasons why mine is best for you. First, I come from technical background and have applied the principles in this course many times. Second, I give you complete examples while we learn so that you can see how to actually use the material and excel it. Third, I am always available to answer your questions or inquiries. Please write me and I will always reply to you.
I made the course classified into small sections so you can in the future revisit only parts you need to review your knowledge about.
It's a fun course, so let's get started right away.
Goals
- why to write unbreakable web locators for web automation
- selecting the best identification method to use
- identifying elements on web page using Id, classname, other identifiers
- identifying elements on web page using XPath
Prerequisites
- basic knowledge about web and HTML
- willing to learn
![First Step in Automation Testing; Writing Robust Web Locator First Step in Automation Testing; Writing Robust Web Locator](https://d3mxt5v3yxgcsr.cloudfront.net/courses/14218/course_14218_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
5 Lectures
-
What are web locators 08:11 08:11
-
The DOM 03:36 03:36
-
The Console; testing tool 02:37 02:37
-
Why we need web locators 01:37 01:37
-
Properties of a good web locator 07:01 07:01
IDs, the most basic web locators, is defined here. Examples of good and bad IDs and how we can use them.
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Identifying web elements by classname
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Other ways to identify web locators
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Identifying web locators by XPath
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Mohamed Soliman](https://www.tutorialspoint.com/assets/profiles/217983/profile/200_1780694-1693475697.jpg)
Mohamed Soliman
Hello,
My name is Mohamed Soliman. I work as a QA and Test Automation Consultant. I live in Germany and have worked for many national/international clients in Europe/UK.
My main focus is to help software enthusiasts write better software. I faced of course many challenges during my career. I think, it will be for the benefit of everyone to share knowledge.
My courses will be first published free as I want them to be accessible for everyone. I am looking for your feedback and comments.
I will always make courses in English. I can teach also in German. If you like it, please let me know in a comment and I will organize courses in German then.
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)