Monday 30 July 2012

QTP Add ins Information

This document provides QuickTest Professional add ins information like Activex, web, visual basic, SAP, Java, .NET, People soft, TE, Web services and Oracle environments.



I) ActiveX Environment



Object                     Description

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

ActiveX                   An ActiveX control.

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

AcxButton               An ActiveX button.

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

AcxCalendar           An ActiveX calendar object.

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

AcxCheckBox        An ActiveX check box.

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

AcxComboBox       An ActiveX combo box object.

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



AcxEdit                   An ActiveX edit box.

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

AcxRadioButton      An ActiveX radio button.

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



AcxTable                 An ActiveX table.

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

AcxUtil                    An object that enables you to work with objects returned by performing an operation (usually via the Object property) on an ActiveX test object.

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

II) Delphi Environment



Object                     Description

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

DelphiButton                A Delphi button.

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

DelphiCheckBox            A Delphi check box. 

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

DelphiComboBox           A Delphi combo box.

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

DelphiEdit                    A Delphi edit box. 

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

DelphiEditor                 A Delphi multi-line editor. 

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

DelphiList                    A Delphi list. 

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

DelphiListView             A Delphi list-view control. 

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

DelphiNavigator           A Delphi navigator control. 

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

DelphiObject               A Delphi object.

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

DelphiRadioButton        A Delphi radio button.

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

DelphiScrollBar             A Delphi scroll bar. 

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

DelphiSpin                  A Delphi spin box. 

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

DelphiStatic               A Delphi static control. 

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

DelphiStatusBar          A Delphi status bar.

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

DelphiTable                 A Delphi table. 

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

DelphiTabStrip              A Delphi tab strip. 

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

DelphiTreeView             A Delphi tree-view control. 

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

DelphiWindow               A Delphi window or dialog box.

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



III) Java Environment



Object              Description

JavaApplet           Java applet.

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

JavaButtonA          Java button.

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

JavaCalendar        A Java calendar.

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

JavaCheckBox         A Java check box.


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

JavaDialog            A Java dialog box.
--------------------------------------------

JavaEdit                A Java edit box.
-------------------------------------------

JavaExpandBar     A Java control that contains labeled bar items, which can be expanded or collapsed by the user.

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

JavaInternalFrame     An internal frame that can be activated from the Java applet.

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

JavaLink               A Java control that displays text with links.

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

JavaList              A Java list box with single or multiple selection.

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

JavaMenu           A Java menu item.

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

JavaObject         A generic Java object.

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

JavaRadioButton  A Java radio button.

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

JavaSlider          A Java slider.

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

JavaSpin           A Java spin object.

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

JavaStaticText   A Java static text object.

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

JavaTab           A Java tabstrip control containing tabbed panels.

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

JavaTable         A Java table.

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

JavaToolbar       A Java toolbar.

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

JavaTree          A Java tree.

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

JavaWindow         A Java window.

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

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

IV) .NET Web Forms Environment



Object                     Description
--------------------------------------

WbfCalendar          A .NET Web Forms calendar control.

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

WbfGrid                A .NET Web Forms DataGrid object.

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

WbfTabStrip          A .NET Web Forms tabstrip control.

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

WbfToolbar          A .NET Web Forms toolbar control.

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

WbfTreeView        A .NET Web Forms tree view object.

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

WbfUltraGrid         A .NET Web Forms UltraGrid object.


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



V) .NET Windows Forms Environment



Object            Description
---------------------------------

SwfButton

A .NET Windows Forms button object.

SwfCalendar

A DateTimePicker or a Month Calendar .NET Windows Forms calendar object.

SwfCheckBox

A .NET Windows Forms check box.

SwfComboBox

A .NET Windows Forms combo box.

SwfEdit

A .NET Windows Forms edit box.

SwfEditor

A .NET Windows Forms multi-line edit box.

SwfLabel

A .NET Windows Forms static text object.

SwfList

A .NET Windows Forms list.

SwfListView

A .NET Windows Forms ListView control.

SwfObject

A standard .NET Windows Forms object.

SwfPropertyGrid

A property grid control based on the .NET Windows Forms library.

SwfRadioButton

A .NET Windows Forms radio button.

SwfScrollBar

A .NET Windows Forms scroll bar.

SwfSpin

A .NET Windows Forms spin object.

SwfStatusBar

A .NET Windows Forms status bar control.

SwfTab

A .NET Windows Forms tab control.

SwfTable

A grid control based on the .NET Windows Forms library.

SwfToolBar

A .NET Windows Forms toolbar.

SwfTreeView

A .NET Windows Forms TreeView control.

SwfWindow

A .NET Windows Forms window.





VI) Windows Presentation Foundation Environment



Object    Description

WpfButton

A button control in a Windows Presentation Foundation application.

WpfCheckBox

A check box control in a Windows Presentation Foundation application.

WpfComboBox

A combo box control in a Windows Presentation Foundation application.

WpfEdit

A document, rich text box, or text control in a Windows Presentation Foundation application.

WpfGrid

A grid control in a Windows Presentation Foundation application.

WpfImage

An image control in a Windows Presentation Foundation application.

WpfLink

A hyperlink control in a Windows Presentation Foundation application.

WpfList

A list control in a Windows Presentation Foundation application.

WpfMenu

A menu control in a Windows Presentation Foundation application.

WpfObject

An object control in a Windows Presentation Foundation application.

WpfProgressBar

A progress bar control in a Windows Presentation Foundation application.

WpfRadioButton

A radio button control in a Windows Presentation Foundation application.

WpfScrollBar

A scroll bar control in a Windows Presentation Foundation application.

WpfSlider

A slider control in a Windows Presentation Foundation application.

WpfStatusBar

A status bar control in a Windows Presentation Foundation application.

WpfTabStrip

A tab control in a Windows Presentation Foundation application.

WpfToolbar

A toolbar control in a Windows Presentation Foundation application.

WpfTreeView

A tree control in a Windows Presentation Foundation application.

WpfWindow

A window control in a Windows Presentation Foundation application.







VII) Oracle Environment



Object    Description

OracleApplications

An Oracle Applications session window.

OracleButton

An Oracle button.

OracleCalendar

An Oracle calendar.

OracleCheckbox

A check box Oracle field.

OracleFlexWindow

An Oracle flexfield window.

OracleFormWindow

An Oracle Form window.

OracleList

An Oracle poplist (combo box) or list.

OracleListOfValues

An Oracle window containing a list of values for selection.

OracleLogon

An Oracle Applications sign-on window.

OracleNavigator

An Oracle Navigator window.

OracleNotification

An Oracle error or message window.

OracleRadioGroup

An Oracle option (radio button) group.

OracleStatusLine

The status line and message line at the bottom of an Oracle Applications window.

OracleTabbedRegion

An Oracle tabbed region.

OracleTable

An Oracle block of records.

OracleTextField

An Oracle text field.

OracleTree

An Oracle tree.



VIII) PeopleSoft Environment



Object    Description

PSFrame

A frame object within a PeopleSoft application.



IX) PowerBuilder Environment



Object    Description

PbButton

A PowerBuilder button.

PbCheckBox

A PowerBuilder check box.

PbComboBox

A PowerBuilder combo box.

PbDataWindow

A PowerBuilder DataWindow control.

PbEdit

A PowerBuilder edit box.

PbList

A PowerBuilder list.

PbListView

A PowerBuilder listview control.

PbObject

A standard PowerBuilder object.

PbRadioButton

A PowerBuilder radio button.

PbScrollBar

A PowerBuilder scroll bar.

PbTabStrip

A PowerBuilder tab strip control

PbTreeView

A PowerBuilder tree-view control.

PbWindow

A PowerBuilder window.



X) SAP Web Environment



Object    Description

SAPButton

An SAP Gui for HTML application button, including icons, toolbar buttons, regular buttons, buttons with text, and buttons with text and image.

SAPCalendar

A calendar in a Web-based SAP application.

SAPCheckBox

An SAP Gui for HTML application toggle button, including check boxes and toggle images.

SAPDropDownMenu

A menu that is opened by clicking a menu icon within an SAP Gui for HTML application.

SAPEdit

An SAP Gui for HTML application edit box, including single-line edit boxes and multi-line edit boxes (text area).

SAPFrame

An SAP Gui for HTML application frame.

SAPiView

An SAP Enterprise Portal application iView frame.

SAPList

A drop-down or single/multiple selection list in an SAP Gui for HTML application.

SAPMenu

An SAP Gui for HTML application top-level menu.

SAPNavigationBar

A navigation bar in a Web-based SAP application.

SAPOKCode

An OK Code box in an SAP Gui for HTML application.

SAPPortal

An SAP Enterprise Portal desktop.

SAPRadioGroup

An SAP Gui for HTML application radio button group.

SAPStatusBar

An SAP Gui for HTML application status bar.

SAPTable

An SAP Gui for HTML application table or grid.

SAPTabStrip

An SAP Gui for HTML application tab strip object (an object that enables switching between multiple tabs).

SAPTreeView

An SAP Gui for HTML application tree object.



XI) SAP GUI for Windows Environment



Object    Description

SAPGuiAPOGrid

An APO grid control in an SAP GUI for Windows application.

SAPGuiButton

A button in an SAP GUI for Windows application.

SAPGuiCalendar

A calendar object in an SAP GUI for Windows application.

SAPGuiCheckBox

A check box in an SAP GUI for Windows application.

SAPGuiComboBox

A combo box in an SAP GUI for Windows application.

SAPGuiEdit

An edit box in an SAP GUI for Windows application.

SAPGuiElement

Any object in an SAP GUI for Windows application.

SAPGuiGrid

A grid control in an SAP GUI for Windows application.

SAPGuiLabel

A static text label in an SAP GUI for Windows application.

SAPGuiMenubar

A menu bar in an SAP GUI for Windows application.

SAPGuiOKCode

An OK Code box in an SAP GUI for Windows application.

SAPGuiRadioButton

A radio button in an SAP GUI for Windows application.

SAPGuiSession

Represents the SAP GUI for Windows session on which an operation is performed.

SAPGuiStatusBar

A status bar in an SAP GUI for Windows application.

SAPGuiTable

A table control in an SAP GUI for Windows application.

SAPGuiTabStrip

A tab strip in an SAP GUI for Windows application.

SAPGuiTextArea

A text area in an SAP GUI for Windows application.

SAPGuiToolbar

A toolbar in an SAP GUI for Windows application.

SAPGuiTree

A column tree, list tree, or simple tree control in an SAP GUI for Windows application.

SAPGuiUtil

A utility object in an SAP GUI for Windows application.

SAPGuiWindow

A window or dialog box containing objects in an SAP GUI for Windows application.



XII) Siebel Environment



Object    Description

SblAdvancedEdit

An edit box whose value can be set by a dynamic object that opens after clicking on a button inside the edit box

SblButton

A Siebel button.

SblCheckBox

A check box with an ON and OFF state.

SblEdit

An edit box.

SblPickList

A drop-down pick list.

SblTable

A Siebel table containing a variable number of rows and columns.

SblTabStrip

A number of tabs and four arrows that move its visible range to the left and to the right.

SblTreeView

A tree view of specific screen data.

SiebApplet

An applet in a Siebel test automation environment.

SiebApplication

An application in a Siebel test automation environment.

SiebButton

A button control in a Siebel test automation environment.

SiebCalculator

A calculator control in a Siebel test automation environment.

SiebCalendar

A calendar control in a Siebel test automation environment.

SiebCheckbox

A checkbox in a Siebel test automation environment.

SiebCommunicationsToolbar

The communications toolbar in a Siebel test automation environment.

SiebCurrency

A currency calculator in a Siebel test automation environment.

SiebList

A list object in a Siebel test automation environment.

SiebMenu

A menu or menu item in a Siebel test automation environment.

SiebPageTabs

A page tab in a Siebel test automation environment.

SiebPDQ

A predefined query in a Siebel test automation environment.

SiebPicklist

A pick list in a Siebel test automation environment.

SiebRichText

A rich text control in a Siebel test automation environment.

SiebScreen

A screen object in a Siebel test automation environment.

SiebScreenViews

A screen view in a Siebel test automation environment.

SiebTaskAssistant

The Task Assistant in a Siebel test automation environment.

SiebTaskUIPane

The task UI pane in a Siebel test automation environment.

SiebText

A text box in a Siebel test automation environment.

SiebTextArea

A text area in a Siebel test automation environment.

SiebThreadbar

A threadbar in a Siebel test automation environment.

SiebToolbar

A toolbar in a Siebel test automation environment.

SiebTree

A tree view object in a Siebel test automation environment.

SiebView

A view object in a Siebel test automation environment.

SiebViewApplets

A view applet in a Siebel test automation environment.



XIII) Standard Windows Environment



Object    Description

Desktop

An object that enables you to access top-level items on your desktop.

Dialog

A Windows dialog box.

Static

A static text object.

SystemUtil

An object used to control applications and processes during a run session.

WinButton

A Windows button.

WinCalendar

A Windows calendar.

WinCheckBox

A Windows check box.

WinComboBox

A Windows combo box.

Window

A standard window.

WinEdit

A Windows edit box.

WinEditor

A Windows multi-line editor.

WinList

A Windows list.

WinListView

A Windows list-view control.

WinMenu

A Windows menu.

WinObject

A standard (Windows) object.

WinRadioButton

A Windows radio button.

WinScrollBar

A Windows scroll bar.

WinSpin

A Windows spin box.

WinStatusBar

A Windows status bar.

WinTab

A Windows tab strip in a dialog box.

WinToolbar

A Windows toolbar.

WinTreeView

A Windows tree-view control.



XIV) Stingray Environment



Object    Description

WinTab

A Windows tab strip in a dialog box.

WinTable

A Stingray grid.

WinToolbar

A Windows toolbar.

WinTreeView

A Stingray tree control.





XV) Terminal Emulators Environment



Object    Description

TeField

A terminal emulator field that fully supports HLLAPI.

TeScreen

A terminal emulator screen that fully supports HLLAPI.

TeTextScreen

A terminal emulator screen that uses text-only HLLAPI or does not support HLLAPI.

TeWindow

A terminal emulator window.



XVI) Visual Basic Environment



Object    Description

VbButton

A Visual Basic button.

VbCheckBox

A Visual Basic check box.

VbComboBox

A Visual Basic combo box.

VbEdit

A Visual Basic edit box.

VbEditor

A Visual Basic multi-line editor.

VbFrame

A Visual Basic frame.

VbLabel

A static text object.

VbList

A Visual Basic list.

VbListView

A Visual Basic list-view control.

VbRadioButton

A Visual Basic radio button.

VbScrollBar

A Visual Basic scroll bar.

VbToolbar

A Visual Basic toolbar.

VbTreeView

A Visual Basic tree-view control.

VbWindow

A Visual Basic window.



XVII) VisualAge Smalltalk Environment



Object    Description

WinButton

A button in the VisualAge Smalltalk application.

WinEdit

An edit box in the VisualAge Smalltalk application.

WinList

A list in the VisualAge Smalltalk application.

WinObject

An object in the VisualAge Smalltalk application.

WinTab

A tab strip in the VisualAge Smalltalk application.

WinTable

A table in the VisualAge Smalltalk application.

WinTreeView

A tree-view control in the VisualAge Smalltalk application.



XVIII) Web Environment



Object    Description

Browser    A Web browser (or browser tab).

Frame       An HTML frame.

Image     An image with or without a target URL link.

Link         A hypertext link.

Page        An HTML page.

ViewLink    A Viewlink object.

WebArea    A section of an image (usually a section of a client-side image map).

WebButton   An HTML button.

WebCheckBox   A check box with an ON and OFF state.

WebEdit         An edit box, usually contained inside a form.

WebElement   A general Web object that can represent any Web object.

WebFile         An edit box with a browse button attached, used to select a file from the File dialog box.

WebList       A drop-down box or multiple selection list.

WebRadioGroup       A set of radio buttons belonging to the same group.

WebTable          A table containing a variable number of rows and columns.

WebXML          An XML document contained in a Web page.



XIX) Web Services Environment



Object                    Description

Attachments          An object that supports attachment-related operations 

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

Configuration        An object that supports configuration-related operations

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

headers

An object that supports header-related test object operations.

Security

An object that supports security-related test object operations.

WebService

A test object representing a Web service.

WSUtil

A utility object used to check WSDL files.


Sunday 29 July 2012

QTP Tool Features





•    QTP was 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.
•    Since it is Stand-alone Application, It doesn't have Database, It stores resources as files (Internal and External). We can't share qtp services from one machine to another, but we can share resources(Ex: Object Repository files, Function Libraries, Environment variable files, Recovery scenario files etc...)

QTP has two types of License;

•    Seat or Node locked License,

•    Concurrent or float license.

•    We have to use Seat license from fixed system/machine and Concurrent License, we can use from any system but one user at a time. If we want multiple concurrent licenses that we can purchase.

•    QTP has UNI code support.

Version History of QuickTest Professional

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

* QTP derived from Astra QuickTest and influenced by WinRunner. 

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
11.00 –2010** (It is Latest Version)

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 applying 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 expertization.
4) It has some limitations (It cannot test everything)

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.

-------------------------------------------
Types of Test tool:
-------------------

    Business:
-----------------
    a) Vendor tools
   
    Ex: HP- WinRunner, LoadRunner, QTP, QC
        IBM-Rational Robot, ,RFT, RPT, QA Director
        Borland-SilkTest, Silk Performer etc..
   
    b) Open Source Tools:
        Ex: Selenium, Jmeter, QAWebLoad, Bugzilla etc...

    c) In-house tools:

    Technical:
-----------------
    a) Functional & Regression Test Tools:
        Ex:WinRunner, QTP, Rational Robot, ,RFT, SilkTest,Selenium etc..
   
    b) Performence/load/stress test tools

        Ex: LoadRunner, RPT, Silk Performer,Jmeter, QAWebLoad etc...
   
    c) Test Management Tools:
        Ex: QC, QA Director Etc...
   
    d) Defect Management tools

    e) Unit Test tools (Ex: JUnit)