Android – A Revolutionary Mobile OS

This is an era of smartphones. People have access to 3G, 4G technologies. Most of the things we can do online can be done on mobile phones whether it is to transfer money, pay bills or shopping. Mobile handset is no more a device just used for communication. This serves as an entertainment system. We …

Some Thoughts on Learning Test Automation

Among software testing professionals, a big chunk of people are into manual functional testing. I heard many of them saying "Manual testing is a boring job", "I am not paid well compared to a Performance Testing professional or Automation Testing professional", "I want to learn Test Automation / Performance Testing", etc. Many of them fail …

TestNG – Test Automation with Selenium

TestNG framework can be used for automation testing with Selenium (web application automation testing tool). Then, definitely a question will popup in our mind “why this framework is needed?” Is it possible to execute Selenium tests without frameworks like JUnit or TestNG. Answer is “Yes”, it is possible to execute Selenium tests without using these …

TestNG (Next Generation Testing Framework) – Understanding Annotations

Annotation: Annotation defines a type and it can be applied to several Java elements such as Java methods, classes, etc.  Annotation adds meta-data facility to Java elements.  Some examples of Java built-in annotations are: @Override @Deprecated @SuppressWarnings Each annotation will instruct the compiler to do something. For example, @Override tells the compiler to check whether …

Setting up TestNG with Eclipse

This post will explain about installation of TestNG plug-in with Eclipse (Indigo) There is no need to download any Jar file or exe file for installation.  We need to just utilize the “Install New Software” option available in the Eclipse. Steps for installation: 1. Click Help –> Install New Software 2. Type “http://beust.com/eclipse” in the …

TestNG – Next Generation Testing Framework

TestNG is a testing framework that is used for unit testing and also with Selenium for Test Automation. What is the need for a testing framework? How it facilitates unit / automated UI testing? What are the functionalities that a framework like JUnit / TestNG provides? If I am new to Selenium, TestNG / JUnit, …

QTP – Extract Runtime Object Property

A “Test Engineer” need to validate many values on the application during runtime against a set of test data. To facilitate this, the test automation tools provide functionalities such as checkpoints. Apart from the eight different checkpoints, the QTP also provides a function called “GetROProperty”. You might wonder why GetROProperty needs to be used while …

QTP – Create a Simple Script without Recording

If the QTP’s recording engine is used to record a test scenario, then the script will have following issues: Script will have hardcoded values No proper naming convention No modularity No reusability Maintenance is difficult Difficult to accommodate frequent changes Difficult to debug How to overcome these problems? Simple!! Create your own script… do not …

Selenium – Access Database using JDBC

There might be some test scenarios in which the Application Under Test (AUT) will be sending SMS to a mobile.  Then, how do you validate whether the SMS sent or not? In some other test scenario such as “Forgot Password”, the password that is newly generated might have sent to user’s email address. In both …

QTP – Object Identification

Every test automation tool is GUI (graphical user interface)sensitive. Test automation tool has to identify the objects on the application, then only it can do the intended operations. QuickTest Professional has its own mechanism to identify the objects on the Application Under Test. QTP has various  add-ins available for different applications.  Let us have a …