Thursday, February 21, 2008

Automation Framework

Testing Framework is something like a frame work designed according to our requirement. For example. you want to test one application for UI, FUNCTIONAL and LOCALIZATION. for this requirement you can have your own frame work...1) for UI testing: identify what to test assume that font, size, color...2)Functional: whether the button is working properly example login.3)test for diff languages at a time.Frame Work:1)write all your functional library for UI at one place.2)write down all functional library methods in own file.3)have complete list of strings what are neccessary for localization at one place assume that a excel sheet.4)using the resources are XML now you can import them and write your script by record and play back or using descriptive programming.5)finally test your application.if any comments on this we ll be grateful to you.

Keyword Driven FrameworkIt's an application independent Automation FrameworkThis Framework will have following components:1) Data tables /Excel Sheets containing Keywords, Object Names and Object Values. This is the only component which is application dependent. Keywords are the words that we used to represent the test case. For example VerifyEditbox. This can be used to represent the test case: Verify whether the Edit box is accepting the entered text.2) Test Driver. This contains the scripts to drive the test. Usually it will contain the code for taking keywords one by one from the data table and call respective subroutines for each keyword using the Switch case statement.3) Common Function Library. This contains all the common functions that are needed to test any application.Data Driven FrameworkIt's an application specific Automation Framework. These scripts can be recorded or written manually and modify it by replacing input values with variables. Input values can be written in Data table / Excel sheet. Test Driver in this case contains the scripts to drive the application with external data written in Data tables / Excel Sheet.

Introduction to QuickTest

QuickTest Pro is Mercury Imperative’s functional enterprise testing tool.

QuickTest Professional is a fresh approach to automated software and application testing .It is designed to provide a robust application verification solution without the need for advanced technical or programming

QuickTest Pro is similar to Astra QuickTest. The key difference lies in the number of environments that QuickTest Professional supports (e.g. ERP/CRM, Java applets and applications, multiple multimedia environments, etc.).

QuickTest Professional enables you to test standard Windows applications, Web objects, ActiveX controls, Visual Basic applications, and multimedia objects on Web pages.

We Can Use QuickTest add-ins for a number of special environments (such as Java, Oracle, SAP solutions, .NET Windows and Web Forms, Siebel, PeopleSoft, Web services, and terminal emulator applications).

Q of QTP

This Blog is an effort to share my expereince on Quick Test Pro (QTP). QTP is a testing tool used for regression and functional testing of an application. QTP provided by Mercury Interactive is a "Record & Playback" automation tool.This Blog will help in giving more insight into some of the QTP features making them easy to understand and use, it will explore things that can be done with QTP and some of which not documented anywhere.This Blog is going to be an on-going work. Many more things to be explored..!!