Skip to main content

Data Type in Java - Easy Selenium Java Tutorials

Selenium is an open-source tool that is used for test automation. It is licensed under Apache License 2.0. Selenium is a suite of tools that helps in automating only web applications. This tutorial will give you an in-depth understanding of Data Types in Java with example.
Here we go;
What is Data Type?
data type, in programming, is a classification that specifies which type of value a variable has and what type of mathematical, relational or logical operations can be applied to it without causing an error. A string, for example, is a data type that is used to classify text and an integer is a data type used to classify whole numbers.
Lets dig a little deeper;
What is Data Type in Java?
Data type specifies the size and type of values that can be stored in an identifier. The Java language is rich in its data types. Different data types allow you to select the type appropriate to the needs of the application.
Data types in Java are classified into two types:
1.     Primitive—which include Integer, Character, Boolean, and Floating Point.
2.     Non-primitive—which include Classes, Interfaces, and Arrays.

Referring the link of the article which I found useful for


Popular posts from this blog

Complete Selenium Topics to be a Professional Selenium Tester

Complete Topics in Selenium to be a Professional Tester Free PDF Below

•        What is automation testing? •        When Automation Testing is needed? •        When Automation Testing is not needed? •        What is the use of automation testing? •        Different Automation Tools available in the Market. •        What is the difference between Selenium and QTP?
•        What is Selenium? •        Advantages of Selenium
•        IDE Overview •        RC Overview •        Selenium-Grid •        Selenium Web Driver/Selenium 3.0
•        Installing IDE •        IDE icons •        Recording your first test with IDE •        IDE Context Menu •        Assert •        Verify •        Adding IDE comments •        Synchronization commands •        Working on pages with AJAX •        Storing elements •        Creating test suites •        Tools  to identify elements/objects •        …

Choosing Software Testing as a Career -- Complete Guide

Top 5 Selenium Webdriver Coding Tips to Improve Quality

SeleniumWebdriver is a powerful automation tool for testing web applications. It’s an open source library bundled with a rich set of features. Using it for testing a website is just like simulating the actions of a real user.
All these abilities together make it a perfect tool for automation. But you need proper guidance to get the best out of it. In this blog post, we’ve assembled some of the best and Top 5 Selenium Webdriver coding tips for software testers.

Tip-1: Best Method To Create Webdriver Instance.
It’s one of the most common Selenium Webdriver coding tips which you can’t avoid to use.
1.1- Use the <Factory> design pattern to create objects based on browser type.
1.2- Extend the below code or use it as is in your projects.
public class DriverFactory {
private WebDriver driver = null;
    public static WebDriver getBrowser(String browserType) {         if (driver == null) {             if (browserType.equals("Firefox"))
            {                 driver = new …