getWindowHandle() and getWindowHandles() methods.

getWindowHandle() stores the reference of the currently active window. On the other hand, getWindowHandles() returns a list of all the opened windows associated with a particular driver instance. getWindowHandle() It basically returns an id(handle) pointing to the currently active window. The return type of this method is a String type. We can use this reference …

getWindowHandle() and getWindowHandles() methods. Read More »

Windows Handling | Multiple windows handling using JavascriptExecutor.

Traversing through multiple windows using ‘JavascriptExecutor’ and selecting user-defined tab window with ‘Title Partial Text’. This process is called multiple windows handling.                Some times we have to open multiple windows (tabs) as per the requirement and need to switch the control through various tabs to select user defined …

Windows Handling | Multiple windows handling using JavascriptExecutor. Read More »

Using HashSet in Java. (Collection -5)

HashSet actually uses the HashMap to create a collection of objects. But it doesn’t have any key concepts like HashMap. It creates a list of items ignoring duplicate entries. Class: HashSet Interface: Set Package: java.util Features of HashSet Duplicates elements are not allowed in Sets. Only one ‘null’ value is allowed as it doesn’t support duplicate values. Indexing of …

Using HashSet in Java. (Collection -5) Read More »

Use of ArrayList Class in Java. (Collection-2)

ArrayList Class implements List Interface. In the last chapter, we have read about all the classes and their features as well as limitations. Now, we will understand all these concepts at the code level. Class: ArrayList Interface: List Package: java.util Key points of ArrayList Stores objects as a list of elements and Any number of elements can …

Use of ArrayList Class in Java. (Collection-2) Read More »

Collection Types and features in Java. (Collection-1)

The Collection is a root Interface which contains other Interfaces like List, Queue, Map and Set. These Interfaces further contains Classes or sub-interfaces. Facts about Collection All these Classes and Interfaces make a framework structure to create a list of objects(like String, Integer, etc). It also provides common methods/features to handle and manipulate these under …

Collection Types and features in Java. (Collection-1) Read More »

   YouTube ChannelQuora

            Ashok Kumar is working in an IT Company as a QA Consultant. He has started his career as a Test Trainee in manual testing in August 2010. Then he moves towards the automation testing after 4 years. He started learning JAVA and Selenium by self to get the knowledge of automation.

       While learning these tools and working on multiple projects, he found that sometimes people get stuck in live scenarios in their project and they have to do lots of RnD to get out of it. So he decided to start blogging only for such scenarios, where anyone facing any problem in their project, can ask any question or give a solution or you can say an alternate solution to achieve the goal successfully.

Later on, he observed that some people want to learn Java but they have few questions in their mind like how to start Java, whether we should go for the online or offline course. So he started writing tutorials on Java, Jira, Selenium, Excel etc.