Welcome to MyTestPartner

A Series of Articles on Software Test Automation Tools, scripts and utilities

Reading XML in Excel

Posted by Abhijeet Bhagat Saturday, August 20, 2011 0 comments










QTP vs CodedUI

Posted by Abhijeet Bhagat Monday, August 1, 2011 0 comments



No.



Tool Feature



VSTS Coded UI



QTP 10.0


1


Coding
Languages supported


VB.Net, C#


Only VBS is
officially supported


2


Object
Identification Technique


Coded UI
used MSAA and UIA technologies to identify the object


QTP 10.0
uses coded injection approach


3


Add ins for
supported environments


Addition Add
ins are not required to support the environment under test


Licences Add
ins are required to support the environment under test


4


Integrated
Development Environment


Excellent
Integrated Development Environment where application life cycle management can
be implemented


Stable
Integrated Development Environment where only the automation testing can be
carried out


5


Object
Repository


Complex
UIMap.


Object
Repository is fairly simple to manage. The UI is provided to manage object
repository


 


 


Modification of large UIMap takes a
lot additional effort


 


6


Object Spy


Coded UI
builder has a utility to spy the objects. But the objects are spied with limited
set of properties those are supported by MSAA and UIA technology


In built Spy
utility displays Test object as well as run time properties.


7


Checkpoints


Assert
methods are available but it provides access to limited set of properties


Rich set of
checkpoints including Bitmap, XML , Standard are available for verifications


8


Recovery
scenario


Recovery has to handle through
coding


Recovery
Scenario manager provides simple way to recover out of unexpected application
behaviour


9


Source
Controlling


Excellent
Source controlling features are available


Limited set
of Source controlling is available when connected with Quality Centre


10


Connection
with Test Management tool


Can be
connected with TFS


Can be
connected with QC


11


Active
screen


AUT 
screen is not captured automatically


If active
screens are captured then functionalities like checkpoints can be implemented


12


Output value


Can be
achieved through code


Exclusive
output value feature is available to capture the values from application


13


Step
Generator


Step
Generator not available


Using this
feature, steps can be generated in QTP.


14


Function
Generator


Method
Generator is available


Using this
feature, functions can be generated in QTP.


15


Record and
Run


Basic Record
and Run is available


Basic Record
and Run is available


16


Shared
object repository


UIMap can be
shared across tests


Object
Repository can be shared across tests


17


Record
actions only desired application


 No such
setting is available


Done in
Record and Run Settings


18



Customization of properties needed for object identification


No such
setting is available.


 Done in
Object Identification Settings


 


 


It can be achieved by writing a
extension


 


19


Virtual
Object Concept


 No such
feature is available


 Virtual
objects can be created using Virtual Object Manager


20


Save test
with Resources


Resources
can be saved with the Coded UI test


Only
resources like library files can be saved with the Coded UI test


21


Analog
Recording


No such
recoding mode is available


 Analog
recording mode e
nables to
record the exact mouse and keyboard operations performed in relation to either
the screen or the application window.


22


Low Level
Recording


No such
recoding mode is available


Low Level
recording mode e
nables to record on any object in application, whether or not
QTP recognizes the specific object or the specific operation


23


Intellisense


 Excellent
Intellisense



 Intellisense is good but not as good as Coded UI


24


Code
Analysis


Coded
Analysis can detect possible flaws in the code


No such
feature available in QTP


25


Generate Architectural Diagram of
the code


 It is
possible to generate Architectural Diagram of the code.


No such
feature available in QTP


26


Generate
code coverage report


 It is
possible to generate code coverage report


No such
feature available in QTP


27


Calculation
of Code Metrics


Code is
calculated against parameters like Maintainability, Complexity etc


No such
feature available in QTP


28


Map the test
against the Requirement, Manual test case


 Possible to
map the test against the Requirement, Manual test case


No such
feature available in QTP


29


List of
impacted test when the code is changed


List of
impacted test case can be generated when the  code change occur


No such
feature available in QTP


30


Smart
Identification


VSTS has
inbuilt mechanism to identify the objects even if there is small change in the
object properties


Smart
Identification can be used to identify the objects 


31


Support for
unsupported platforms Extension


VSTS has
open architecture so that the Extension can be written to support the
environment under test


No such
feature available in QTP


32


Built in
Configuration file



Configuration files can be used to store the global data


Only
Environment variables, output parameters can be used to share data across the
test


33


package used
for performance testing, web testing


Coded UI
test be used for performance, web, load testing


No such
feature available in QTP


34


Help Library


MSDN library
is available


In built
Help library is available





Eclectic Colors!

Google Videos - Test Automation

HP QTP FAQ and interview questions

Followers