Embed
Email

an-overview-on-test-automation

Document Sample

Categories
Tags
Stats
views:
0
posted:
10/31/2011
language:
English
pages:
5
An overview on Test Automation



Test Automation

Basically Software Testing is 2 types



1) Manual Testing

2) Test Automation



Manual Testing:

Testing software manually is called Manual Testing. we can test all accepts

of software manually.



Below Testing Types can be tested manually



Test Types:

a) Functional Testing

b) Regression Testing

c) GUI Testing

d) Usability Testing

e) Security Testing

f) Compatibility Testing

g) Recovery Testing

h) Reliability testing

Etc…



Drawbacks of Manual Testing



(i)Time consuming.

(ii) More resources required.

(iii)Human Errors

(iv)Repetition of the Task is not much

(v)Tiredness

(vi)Simultaneous auctions are not possible (Parallel)



Test Automation:



Testing Software using any Automation tools is called Test Automation



Advantages of Test Automation:



a) Fast: Tools are faster in execution than human users



b) Reliable: Tools are reliable in complex calculations and tasks

c) Reusable: we can reuse Automated Tests at any number of times



d) Repeatable: we can repeat same operations for required number of times



e) Programmable:we can use flow control statements for appalying logic



f) Comprehensive: we can execute test batches without human interaction

also



Test Automation can be used in below areas of Testing:



a) Functional & Regression Testing



b) Load/Stress/Performance Testing



c) Security Testing



d) Unit Testing



Drawbacks of Automation Testing

1)It is expensive

2)We cannot automate all areas.

3)Lack of expertisation.

4)It has some limitations (It cannot test every thing)



Which Software Testing should be automated?



Tests that need to be execute of every build of the application (Sanity

Testing)



Tests that use multiple data values (Retesting / Data Drives Testing)



Tests that required data from application intimates (G.U.I. Attributes) Load

and Stress Testing



Which Software Testing should not be automated?





Usability Testing One time testing



Quick look Tests or A.S.A.P (As soon as possible) Testing Ad-hoc testing /

Random Testing

Customers requirement are frequently changing.



QTP Basic Features



• QTP Launched in 2002 (Nov). By Mercury Interactive. Later taken over

by HP, in 2007.



• QTP is an Object Based Testing Tool.



(Object based means; QTP Follows Test Object Model for Performing Testing

operations. Based on either Test Objects or Automation Objects or Utility

Objects only, we can automate test operations)



(LoadRunner is a Protocol based Test Tool)

• QTP is for Functional and Regression Testing.



(Basically QTP is a Functional and Regression Test tool but we can use it for

little bit Compatibility Testing and Performance Testing)

• It follows Keyword Driven Approach.



(Keyword Driven Approach means; Keywords, example: Commands,

functions, methods, statements etc.. are used for creating Test scripts)

• It supports Windows Operating Environment only.



(QTP basically depends on User Interface to automate test operations and it

is not depends on server side interactions, where as LoadRunner depends on

server side Operations, so HP developed LoadRunner for Windows as well as

UNIX versions)



• It supports GUI based (Graphical user interface) and Web based

Applications Automation, does not support CUI (Command user interface)

Applications.



• It has multilingual support. (It supports English, Chinese, Japanese,

Korean, etc languages with respect to license.)



• It has adapted Microsoft Visual Basic Scripting edition for programming

and Excel like spread sheet for Data driven testing.



Tools support for QTP:

------------------------------

• VB Script for Scripting (for implementing programming logic)



• VB Script engine integrated in QTP, so apart from scripting features we

can use File system, Excel, word, Adodb etc. Object models from QTP.



• SQL (Structured query language) engine integrated in QTP, so we can

use SQL Statements in QTP to perform Database Operations



• Excel like spread sheet integrated in QTP for performing Data driven

Testing



• We can install MS Script Debugger with QTP for Debugging Test scripts.



• QTP uses XML format for Test results, Environment variables and for

exporting object repositories.

-------------------------------------------------------



• QTP can be integrated with other Tools like WinRunner and Quality

Center.



• QTP can be used for user interface (UI) test case automation and some

limited (Non UI) Test case automation like File system operations and Data

base operations.



• It was derived from Astra QuickTest (mother tool of QTP).



• It supports IE (Internet Explorer) only for recording tests, for execution

it supports other browsers like Mozilla and AOL, opera Etc apart from IE.



• QTP is a Desktop Application (I-Tier/Stand alone).



• QTP developed in .NET Technology.



QTP has two types of License;



• Seat or Node locked License,



• Concurrent or float license.



• Seat license for one system and Concurrent License, we can use for any

system but one user at any time. If we want multiple concurrent licenses we

can purchase.



• QTP has UNI code support.



Version History of QuickTest Professional



• Astra QuickTest (Mother tool of QTP) 1.0 to 5.0

Quick Test Professional



• 5.6 – Nov 2002



• 6.5 – 2003



• 8.0 – 2004



• 8.2, 8.3 –2005



• 9.0,9.1-2006



• 9.2- 2007 Mercury Interactive



• 9.5 –2008 H.P



• 10.00 –2009 January



********************************************



Related docs
Other docs by Stariya Js @ B...
sk-tricky-trust-issues
Views: 2  |  Downloads: 0
SOTELIA - Gold Packages
Views: 0  |  Downloads: 0
Johnny_Xiong
Views: 0  |  Downloads: 0
2009evsapp
Views: 0  |  Downloads: 0
rp-marlenedit21
Views: 0  |  Downloads: 0
spring 2011 tourism syllabus
Views: 1  |  Downloads: 0
se_03-04
Views: 0  |  Downloads: 0
1996EventTranscript
Views: 1  |  Downloads: 0
DADIN00129E04
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!