Test automation
Day 1: Exploring Selenium Today i decided to explore selenium in a different way. will post my learning and script so that i can get suggestions and another different way to do the task. Lets's start with Locators Locators are used to identify and interact with web elements on a webpage. Types of Locators ID Name Class Name Tag Name Link Text Partial Link Text CSS Selector XPath we can use any as per our need and understanding. Steps for Signin page: * invoke the browser using System.Setproperty and create an object of WebDriver Interface * Open : https://lnkd.in/dEuRnBKy using get method * Inspect the element and suitable locator from developer screen * Enter username using "id" locator "abc@gmail.com" * Enter password using "name" locator "1234" * Click on "signin" using classname locator * we will get message-- incorrect username or password (if testing with invalid credentials) CSS Selector and XPath are special l...