Posts

Showing posts from April, 2017

How Volatile in Java works ? Example of volatile keyword in Java

Image
How to use  Volatile  keyword in Java What  is  Volatile  variable in Java    and   when to use  Volatile  variable in Java   is famous   multi-threading interview question  in  Java interviews . Though many  programmer  knows what is a  volatile  variable but they fail on second part i.e. where to use  volatile  variable in Java as its not common to have clear understanding and hands-on on  volatile  in Java. In this tutorial we will address this gap by providing simple example of  volatile  variable in Java and discussing some when to use  Volatile  variable in Java. Any way    Volatile  keyword in Java  is used as an indicator to Java compiler and    Thread  t hat do not cache value of this variable and always read it from  main memory . So if you want to share any variable in which read and write operation i...

HOW ANSIBLE WORKS

Ansible is a radically simple IT automation engine that automates  cloud provisioning ,  configuration management ,  application deployment ,  intra-service orchestration , and many other IT needs. Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time. It uses no agents and no additional custom security infrastructure, so it's easy to deploy - and most importantly, it uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to describe your automation jobs in a way that approaches plain English. On this page, we'll give you a really quick overview so you can see things in context. For more detail, hop over to  docs.ansible.com . EFFICIENT ARCHITECTURE Ansible works by connecting to your nodes and pushing out small programs, called "Ansible modules" to them. These programs are written to be...

What is Selenium

Image
Selenium automates browsers . That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well. Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks. Which part of Selenium is appropriate for me? Selenium WebDriver If you want to create robust, browser-based regression automation suites and tests scale and distribute scripts across many environments Then you want to use  Selenium WebDriver ; a collection of language specific bindings to drive a browser -- the way it is meant to be driven. Selenium WebDriver is the successor of  Selenium Remote Control  which has been offici...

Headless Browsers

A list of (almost) all headless web browsers in existence A web browser without a graphical user interface, controlled programmatically. Used for automation, testing, and other purposes. Browser engines These browser engines fully render web pages or run JavaScript in a virtual DOM Name About Supported Languages License Chromium Embedded Framework CEF is a open source project based on the Google Chromium project. JavaScript BSD Erik Headless browser on top of Kanna and WebKit. Swift MIT jBrowserDriver A Selenium-compatible headless browser which is written in pure Java. WebKit-based. Works with any of the Selenium Server bindings. Java Not specified PhantomJS PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. JavaScript, Python, Ruby, Java, C#, Haskell, Objective-C, Perl, PHP, R(via  Selenium ) BSD-3 Clause Splash Splash is a javascript rendering...