Author: rsblogadmin

Java alert popups and prompt

1. Java alerts/popups handling using Selenium WD (getText(), accept() methods)2. Another example of JS Alert3. Example of JS Confirm4. Example of JS Prompt Java alerts/popups handling using Selenium WD (getText(), accept() methods) Launch Scroll at the page bottom. You will see ‘Display’ section having ‘Confirmation Alert’ button Click ‘Confirmation Alert’ button to popup a message […]

Identify elements using Xpath

Definition of xpath locator in Selenium webdriver  xpath syntax/example Simplified xpath syntax xpath regular expression to identify element (‘contains’ keyword) Parent-child xpath relation Difference between relative and absolute xpath Source code Definition of xpath locator in Selenium webdriverWe can identify elements using their xpath (which is simply an address of an element on the webpage). […]

Action class Mouse Hover operation in Selenium and keypress events

Perform Mouse Hover with the help of Actions class – Example 1 Example 2 of mouse hover Keypress events (Control+a) Keypress events (Control+c) TAB key Keypress events (Control+v) Source code (mouse hover) Source code (keypress)  Perform Mouse Hover with the help of Actions class – Example 1 Launch https://www.spicejet.com/  When we mouse hover ‘Add-ons’ menu, […]

Locate WebElements using LinkText and PartialLinkText methods in selenium

What you will Learn in this blog: linkText() method usage in selenium partialLinkText() method usage in selenium Source code linkText() method usage in selenium Let us now see the usage of ‘linkText()’ method in selenium. Launch https://www.bbc.com/  There are many links on the home page like News, Sport etc as can be seen below Let […]

How To setup Selenium Webdriver in Eclipse IDE

What you will Learn in this blog: Install Java runtime environment on Windows Set Java home path in System variables Go to the command prompt to check if java is set properly Install Eclipse IDE Create new Maven project in eclipse Give knowledge of ‘Selenium’ maven dependency in pom xml Give knowledge of ‘WebdriverManager’ dependency […]

Playwright Interview Questions

A curated set of commonly-asked conceptual Playwright interview questions, with elaborated explanations, syntax, and CLI commands — the same ones our students use to prep for QA automation interviews. 1. What is the difference between Browser, Context, and Page? Browser — a single running instance of Chromium/Firefox/WebKit. Launching a browser is expensive, so Playwright reuses […]

API Basics and Architecture

Table of Contents 1. Introduction to API/Webservices/Rest API 2. What you will Learn in this blog? 3. Quickly understand ‘Communication’ 4. What is API? 5. Practical usage of API 6. A very simple (raw) json 7. Client-Server Architecture 8. Difference between Webservice and API  1. Introduction to API/Webservices/Rest API  Welcome you all to the brand new […]

Perform validations and execute tests in a workfow

Table of Contents Perform validations and execute tests in a workflow 1. What you will Learn in this blog? 2. Perform ‘status code 200’ validation 3. Perform string validation 4. Execute all the tests in a collection as a single workflow Perform validations and execute tests in a workflow Welcome you all to the brand […]

Perform validations and execute tests in a workflow

Table of Contents Perform validations and execute tests in a workflow 1. What you will Learn in this blog? 2. Perform ‘status code 200’ validation 3. Perform string validation 4. Execute all the tests in a collection as a single workflow Perform validations and execute tests in a workflow Welcome you all to the brand […]

HittingPOSTRequests & ChainRequests using Postman

Table of Contents Hitting POST Requests and chain 2 requests using Postman 1. What you will Learn in this blog? 2.  Hit POST request without parameters 3. Hit POST request with parameters 4. Save the POST Request 5. Generate random unique IDs 6. Capture static id and use it in another POST request 7. Generate random id and use it […]