fbpx

Back To The Course

Module 1: OOPS Concept

Module 2: Conditional and Loop statements

Module 3: Array

Module 4: String

Module 5 : Programming on String

Module 7: Exceptional handling

Module 8: Collection

Module 9: Asynchronised Collection

  • ConcurrentHashMap, ConcurrentLinkedQueue, and ConcurrentSkipListSet

Module 10: Java 8 Concepts

  • Lambda expressions
  • Stream API
  • Date and time API

Module 11: Interview Practice based on Programming Question

Module 12: Selenium Architecture

Module 13: Different types of Locator

Module 14: Xpath and CSS deep dive

Module 15: Selenium inbuilt methods

Module 16: Selenium Advanced

Module 17: Coding with Selenium

Module 18: Building a project with Selenium and Java

Module 19: Basic Concepts of TestNG

Module 20: Basic Concepts of Cucumber

Module 21: Basics of Maven

Module 22: Basics of Git

Module 23: Basics of Jenkins

Module 24: Overview of Postman

Module 25: CRUD Operations

Module 26: Configuring Requests

Module 27: Testing Response

Module 28: Schema Validation

Module 29: Path and Query Parameters

Module 30: Collections in Postman

Module 31: Different Types of Variables

Module 32: Scripting in Postman

Module 33: Newman and Jenkins Integration

In this lesson, students will focus specifically on using different types of locators to identify elements on a webpage using Selenium. The following topics will be covered:

Overview of locators: An introduction to the different types of locators in Selenium, including ID, name, class name, tag name, link text, partial link text, CSS selector, and XPath.

Using ID locator: A demonstration of how to use the ID locator to identify elements on a webpage, including the advantages and limitations of using this locator.

Using name locator: A demonstration of how to use the name locator to identify elements on a webpage, including the advantages and limitations of using this locator.

Using class name locator: A demonstration of how to use the class name locator to identify elements on a webpage, including the advantages and limitations of using this locator.

Using tag name locator: A demonstration of how to use the tag name locator to identify elements on a webpage, including the advantages and limitations of using this locator.

Using link text and partial link text locators: A demonstration of how to use the link text and partial link text locators to identify elements on a webpage, including the advantages and limitations of using these locators.

Using CSS selector locator: A demonstration of how to use the CSS selector locator to identify elements on a webpage, including the advantages and limitations of using this locator.

Using XPath locator: A demonstration of how to use the XPath locator to identify elements on a webpage, including the advantages and limitations of using this locator.

By the end of this lesson, students will have a solid understanding of how to use each of the different types of locators in Selenium, including ID, name, class name, tag name, link text, partial link text, CSS selector, and XPath. They will also have a good understanding of the advantages and limitations of each locator, and will be able to choose the best locator for a given situation.