July 2017 – Make Selenium Easy

Hello folks, In this post, we will learn how to replace a sub string in a given string. Detailed description of problem is given below: Problem: You have an input string and you need to replace sub string from new sub string in given input string. Example: Input: This bike is my bike. Action: Replace […]

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 Printing Words In Circular Order From Given Index. Problem: Suppose you have below string: “Make Selenium Easy” Where -“Make” is at position zero. -“Selenium” is at first position . -“Easy” is at […]

Hello Guys, In this post we will learn how to handle a listbox/dropdown. What is dropdown/listbox? Suppose there is a form. This form consists below fields: Title Name Gender DOB: Day, Month, Year Country If you notice, some of fields can accept value from some definite set of values. For example: Title can be  any […]

Hello Folks, In this post we will learn below topics: What is getText() method? Why we use getText() method? How we use getText() method? [Interview Question] Print all languages supported by Google. What are differences between getText() and getAttribute() methods? Let’s start: What is getText() method? getText() is a method which gets you the visible […]

Hello Folks, In this post we will learn: 1. What is a web table? 2. Types of web tables. 2. Creating a demo web table using html. 3. Print all headers of a web table. 4. Retrieve and print number of rows in a web table. 5. Retrieve number of columns for each row. 6. […]

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will learn to develop a java program to find out occurrence of individual characters in a given string. Logic: To get input from user, we will use Scanner class. We will use Map interface concept here which […]

Hello Folks, In last post we have seen the behavior of webdriver when mixing sleep with other waits. In this post, we will learn behavior of webdriver when we mix implicit wait and explicit wait. I hope, you will have good idea about implicit wait and explicit wait from my old posts. We know when […]