Simple REST API Testing Framework

Even though there are several REST API Testing Frameworks available in the market today, they may not always suite your application, or may need modifications based on your requirements. This may call for the creation of your own rest testing framework.
We will be creating a simple Rest Testing Framework in Java and JUnit that could be used for any testing scenarios.


Continue reading

Tellurium gonna be New Era of Test Automation?

I know this gonna be one of the controversial articles, but still this is just my notion or you call it as Apprehension. 
Many professionals here have asked me about this ‘Tellurium‘ though I was novice and left dogmatic. To be honest, I’m one of the lovers of Selenium but still we should all agree that it’s a tedious process to design a Framework. So, I just wanted to put a Grin on Tester’s face whoever reads this article. 

People who haven’t heard ‘Tellurium‘, take a look at my article here. This is an  open source too.

We all knew, in order to automate any web based application, Pragmatically we need to adopt or design a good framework. And we have many frameworks out there. I could name Page Object Model, Data Driven, Modular Driven, TestNG blah blah. Moreover to reduce manual effort we’ve started using CI for scheduling. You know, all these frameworks putting together makes you to achieve Automation. I can say that Tellurium has inbuilt frameworks

Continue reading

Integration of Selenium with Saucelabs

What is Saucelabs?
Sauce Labs is a cloud platform for executing automated and manual mobile and web tests. Sauce Labs supports running automated tests with Selenium WebDriver (for web applications) and Appium (for native and mobile web applications).

Why do we need Saucelabs?
Straight forward answer : Browser Compatibility. We need to test all our testcases in various versions of browsers and various platforms too. We can’t install all those stuff in our local box. Now this Saucelabs plays a major role.

Continue reading

How to zip your Test Automation Reports using Java

We can use this Class in Selenium to Zip your Test Automation Reports and mail them to anyone.We can use this for adding a file or a folder to the archive list.This Class is based on Java util & io Packages.In general we use Jenkins or some CI tool by adding plugins for auto mailing.

Here i am sharing the snippet.

Continue reading

Performance Monitoring And System Memory Usage While Running Selenium Test Scripts


Here I am trying to monitor system usage and the performance with different browsers which we use in selenium (Firefox,Chrome,Headless Browser).Just to know how it works.Generally we never use this method.

Continue reading

How to use Firefox Profile preferences in Selenium Webdriver


There are many advantages by using FirefoxProfile preferences in selenium. You have to update the preferences within Firefox. We can do this by instantiating a Firefox Profile object and then update the settings.We will then need to pass this object into FirefoxDriver which will load the profile with your defined settings.

1. How to setup the startup page in Firefox browser

Continue reading

How to use Dataprovider Annotation in Selenium TestNG

If you want to provide the test data, the DataProvider way, then we need to declare a method that returns the data set in the form of two dimensional object array Object[][]. The first array represents a data set whereas the second array contains the parameter values.
The @Test method that wants to receive data from this DataProvider needs to use a dataProvider name equals to the name of this annotation.
Continue reading