Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Author: admin

August 17, 2018 – Make Selenium Easy

Problem statement: Write a Java program to reverse position of words in given string i.e. word at first position in string should be at last position in string. Input String: You are awesome Output String: awesome are You Solution: It is a very easy program. You just need understanding of splitting a string, array and…

Read More “August 17, 2018 – Make Selenium Easy” »

Uncategorized

October 4, 2017 – Make Selenium Easy

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 Divisors Of Given Number. Problem: Write a JAVA program to find the divisors of a given number. Solution: Divisor is a number that divides  another number without a reminder or a number…

Read More “October 4, 2017 – Make Selenium Easy” »

Uncategorized

April 14, 2018 – Make Selenium Easy

Hello Folks, Recently this question was asked in interview to a candidate: We switch back to main window or default content after switching to a new window or frame, but not in case of Alert even we are switching to it. When we switch to a new window or frame, actually we jump to another…

Read More “April 14, 2018 – Make Selenium Easy” »

Uncategorized

July 18, 2018 – Make Selenium Easy

Hello Programmers, An interview candidate was asked to write java code to find the length of given string WITHOUT USING LENGTH METHOD in Capgemini. In this post, I will find length of string without using Length method but using some other method. :-p There is another method in String class called lastIndexOf(). LastIndexOf() method: As…

Read More “July 18, 2018 – Make Selenium Easy” »

Uncategorized

October 5, 2017 – Make Selenium Easy

Problem: Write a Java program to find if given two numbers are coprime. Solution: Definition of coprime: As per Wikipedia, In number theory, two integers a and b are said to be relatively prime, mutually prime, or coprime (also written co-prime) if the only positive integer (factor) that divides both of them is 1. Consequently, any prime number that divides one does not divide the other. This is equivalent…

Read More “October 5, 2017 – Make Selenium Easy” »

Uncategorized

March 2018 – Make Selenium Easy

Hello People, Some days ago, I was running my regression automation suite and found webdriver is not able to launch browser. I was getting some socket exception. Whenever I face such situation, I just try to update browser version, browser driver version and selenium jar file version. Versioning non-compatibility is major issue in Selenium for…

Read More “March 2018 – Make Selenium Easy” »

Uncategorized

March 19, 2018 – Make Selenium Easy

Hello Folks, When we capture screenshot using “TakesScreenshot” interface in selenium webdriver, it captures only visible area of webpage in browser, not entire web page. Sometimes, you need to capture entire web page for test result proof or for validation at later stage. In this post, I will explain how can we capture a web…

Read More “March 19, 2018 – Make Selenium Easy” »

Uncategorized

April 20, 2019 – Make Selenium Easy

As per official document of Protractor:- Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. Three major points about Protractor are:- Protractor is built on top of WebDriverJS, which uses native events and browser-specific drivers…

Read More “April 20, 2019 – Make Selenium Easy” »

Uncategorized

August 11, 2018 – Make Selenium Easy

Hello Folks, I was asked this question in an interview and I was like “Are there two terms “Parameters” and “parameter” in TestNG?“. Yes, There are two different terms, “Parameters” and “parameter“. We have used both termas many times but didn’t notice minor thing. “Parameters” is an annotation which allows us to create parameterized methods…

Read More “August 11, 2018 – Make Selenium Easy” »

Uncategorized

May 1, 2018 – Make Selenium Easy

Hello Folks, In last post, we have seen the requirements of TestNG in Selenium webdriver. We will learn how can we install TestNG in eclipse. TestNG is a jar file. Any JAR file stands for Java ARchive which is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution. We…

Read More “May 1, 2018 – Make Selenium Easy” »

Uncategorized

Posts pagination

Previous 1 … 128 129 130 … 155 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark