by seetaram on April 29, 2012
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 [...]
by seetaram on January 15, 2012
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 [...]
by seetaram on January 14, 2012
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 [...]
by seetaram on January 9, 2012
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 [...]
by seetaram on January 8, 2012
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, [...]
by seetaram on December 21, 2011
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 [...]
by seetaram on December 17, 2011
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 [...]
by seetaram on November 26, 2011
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 [...]
by seetaram on October 27, 2011
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 [...]
by seetaram on October 17, 2011
A test automation suite might be containing lot of tests / actions. Hence, while executing the test cases in batch mode we might need to refer to the Iteration, name of the test, Results directory, etc. But how to get them? QTP provides global variables called Built-in Environment Variables through which we can access these [...]