Scroll to top

Search Results for:

Posted by JBT
October 23, 2019

Java method parameter and argument

In this article, we will talk about the method parameter and method argument. Please make...

Read More
Posted by Chandana Chaitanya
May 30, 2019

15. Form input bindings

Welcome to a binding discussion! Now that we know all about this superstar, v-model, which...

Read More
Posted by Chandana Chaitanya
May 23, 2019

10l. Advanced WebDriver – Using Log4j Part 2

This is a continuation of the article, ‘Using Log4j Part 1’ and hence, I suggest that you read part 1 before proceeding any further to get a grip on what’s happening. Scenario

  1. Configure file,
    • Log level – DEBUG
    • Loggers – rootLogger and SeleniumTestLogger
    • Appender – RollingFileAppender
    • Layout – PatternLayout
  2. Write a JUnit4 test case, ‘’,
    • Open Chrome browser.
    • Navigate to the demo site
    • Create an instance for the Logger class
    • Log "opening selenium-practice-site" to test.log
    • Locate ‘Bicycle’ checkbox by name and click on it
    • Log "Bicycle checkbox selected"
    • Locate ‘Magazines’ radio button using cssSelector and select it
    • Log "Magazines radio button clicked"
    • Log "Log4jTest executed successfully"
  3. Verify,
    • Eclipse IDE console output screen
    • JUnit pane for success result
    • log and test.log files and check if logs are updated as expected

Read More
Posted by Chandana Chaitanya
May 19, 2019

10k. Advanced WebDriver – Using Log4j Part 1

Let me take a stab at explaining logging for Selenium with Apache Log4j today! So, without further ado, let’s dive in!!

Why do we need logging in the first place?

As an automation tester, we deal with troubleshooting, debugging and so on. Logging makes this entire process so much easier! It gives us these magical “eyes” that let us see a number of things such as,

Read More
Posted by JBT
April 27, 2019

Java 8 Functional Interfaces

Introduction to functional interfaces

A functional interface is an interface that has a single abstract method.  Functional interfaces can have multiple static and default methods, but they should have only one abstract method to qualify as a functional interface. Functional interfaces were introduced in Java 8 in order to implement lambda expressions.

Read More
Posted by Chandana Chaitanya
April 3, 2019

18. Class bindings

Welcome to yet another binding discussion. Today, I will be schooling you on class bindings....

Read More
Posted by Chandana Chaitanya
December 28, 2018

9ab. WebDriver – Using Actions Class

Lights, camera, action! Yes, today its all about Actions. Oh, I am not talking about those fight sequences you watch in movies but about the keyboard and mouse actions. :P Selenium WebDriver provides a user-facing API for performing complex user gestures. We want automation everywhere! So, instead of using keyboard and mouse directly, we can use Actions Class for performing both basic viz., click, sendKeys and complex actions such as dragAndDrop etc.

Read More
Posted by Chandana Chaitanya
December 21, 2018

14. Two-way data binding with v-model

Finally, the day has come, to understand the missing piece of the puzzle, data binding....

Read More
Posted by JBT
December 20, 2018

React Lifecycle Hooks

In this article, we are going look through a few of the most common lifecycle hooks we can use with React components, and we will discuss why they are useful to your React components.

Read More
Posted by JBT
December 17, 2018

Hibernate bootstrapping

In this article, I will introduce you the new native bootstrapping API of Hibernate 5.

Read More