Skip to main content

Posts

All Locators for finding WebElements in Selenium/PlayWright

Selenium is an open source library/toolset for automating web browser interactions within a web application.  Now these interactions can be created using Locators. These locators are used to identify webElements within a web page. These elements can vary from images, buttons, dropDowns, calendars, input fields etc.  Now, What are different types of locators in Selenium? ID - A webElement having a unique ID attribute, then it can be used to identify it.  Example - driver.findElement(By.id("depart-from"));  NAME - A webElement having a unique NAME attribute, but in most cases multiple elements can have the same name, so it’s less reliable.  Example - driver.findElement(By.name("signInButton"));  LinkText : Accessing links using their exact link text, This makes it easy to create such locators, but these are flaky because they can fail when text changes for links used. Example: driver.findElement(By.linkText("click here")).click(); Partial LinkText : Accessin

Postman Mock Server Tutorial and Uses

  Setup and Use Postman for API Testing Image by: Freepik Postman is one of the most versatile tools for API testing and its automation. In this tutorial we are going to understand the implementation of API testing using Postman as a beginner. Then in upcoming blogs, I’ll be posting blogs for “How I am using Postman for API testing, mocking, documenting, performance, interception and automation” So subscribe for email notification.  Let’s start with first downloading and installing the Postman tool in our machines: Postman is available for Windows, Linux, and Mac as a standalone application. You can install the application in two ways. Windows machine download link: https://dl-agent.pstmn.io/download/latest/win64 (64 bit) Mac OS machine download link: https://dl-agent.pstmn.io/download/latest/osx_arm64 (Apple Chip) Now follow the below steps :  Click on the exe file to install it on the system. First, it will install the Postman application There are no further steps for installin

Links for my courses, E-Books and lot more

Links for my E-Books:  AI & Prompt Engineering E-Book :  Link QA, Automation, API Testing & Interview Prep E-Book :  Link Complete JAVA E-Book prepared for QA Automation Engineers Interviews :  Link Strategies for How to get jobs in 2024 using AI and my resume with templates, profile optimization techniques :  Link Improve and Strategize your Personal Finance & Growth :  Link Links for my Courses:  Full Stack QA with Automation, API, DB testing, CI/CD and my E-Books for Interview Prep :  Link QA, UI and API Test Automation Course :  Link Links For my E-Books Packages:  All E-Books and CheatSheets package :  Link JAVA & QA Automation, API Testing & Interview Prep E-Books Package :  Link 1:1 Calls and Counselling Sessions Booking Links:  Career Guidance :  Link Mock Interview :  Link Looking for Motivation & Dedication? :  Link If you want to contact me with some of your queries, then use Contact Me page and fill out the details. I'll reach out to you! FAQ'

My YouTube Videos

My LinkedIn Posts