Selenium Interview Question 4 – Difference Between @FindBy and findElement() Method in Selenium WebDriver

We can locate web element/s on a webpage using both FindBy and findElement() or findElements(). Primary purpose of both ways is same but the way it is done, is different. Below are the differences between FindBy and findElement in Selenium WebDriver: FindBy is an annotation while findElement and findElements are methods. Remember FindBy is provided … Continue reading Selenium Interview Question 4 – Difference Between @FindBy and findElement() Method in Selenium WebDriver

Front End Automation Strategies 1 – Don’t Write Complex XPath/CSS – Ask For Static Locators Instead

I am starting a series of posts on best strategies to be followed in front end automation. Here is the first post. "Locators' are the backbone of front end automation. Your script does not see the actual UI/UX and perform the action. It depends on DOM where HTML tags and its attributes are defined. Maximum … Continue reading Front End Automation Strategies 1 – Don’t Write Complex XPath/CSS – Ask For Static Locators Instead

Frequently Asked Java Program 30: Java Program to Find Distinct Characters In Given String

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will see a java program to Find Distinct Characters In Given String. Problem Statement: User input: Make Selenium Easy Output: K L N I U Y Problem Solution:  Logic: Convert input string in to same case either upper … Continue reading Frequently Asked Java Program 30: Java Program to Find Distinct Characters In Given String

Selenium Interview Question 3 – Difference Between get() and navigate() Methods of Selenium WebDriver

This is the mostly asked interview question and confusing too for Selenium testers. People generally differentiate get() and navigate() methods as below: get() method holds or waits till page is loaded while navigate() does not. Above statement is NOT CORRECT. Referring official document of Selenium is always good to learn valid points. It says get() … Continue reading Selenium Interview Question 3 – Difference Between get() and navigate() Methods of Selenium WebDriver

Postman Tutorial Part 9 – DIfference Between Put and Patch HTTP Methods

Hello Guys, Whether you are an API developer or tester, you must understand the difference between PUT and PATCH http methods. It is also a frequently asked interview question. Let's understand PUT and PATCH in details.  PUT:- An HTTP PUT method is used to primarily update the resource information but  it also can be used … Continue reading Postman Tutorial Part 9 – DIfference Between Put and Patch HTTP Methods