Web Service Testing using QTP
Presentation By: NaveenKumar Namachivayam | Founder www.QAInsights.com
Agenda
•What is QTP?•Overview of Web Service Add-in•Demo Snapshots
What is QTP?
•QuickTest Pro is a flagship functional and regression testing tool from HP
•HP Unified Functional Testing = HP QTP + HP Service Test (ST)
•HP is a leading vendor for Software Quality tools
•Latest version is HP UFT 11.52
Magic Quadrant for Integrated Software Quality Suites
Source: Gartner Report
Overview of Web Services Add-in
•Web Service Object Model Diagram
Web Service Methods and PropertiesMethods
AddAttachment
AddHeader
AddMessageProtection
AddSecurityToken
Check
ClearClientConfiguration
ClearHeaders
ClearSecurityTokens
CompareWSDLs
GetAttachments
GetHeader
GetHeaders
GetLastError
GetTOProperties
GetTOProperty
Output
SendRequest
SetClientConfiguration
SetOperationTimeout
SetProxy
SetTOProperty
ToString
ValidateWSDL
Properties
Attachments
Configuration
headers
LastRequest
LastResponse
Security
Web Services Test Settings
Web Services Wizard
Web Services Wizard
Web Services Wizard
Web Services Wizard
Web Services Input/Output• ' StockQuote Web service object steps• GetQuote = WebService("StockQuoteService").GetQuote("string
(Autogenerated)")• MsgBox WebService("StockQuoteService").GetQuote("APPL")
Output
Web Services Data Parameterization• MsgBox
WebService("StockQuoteService").GetQuote(DataTable("StockCode",dtGlobalSheet))
Web Services Output Values• Insert > Output Value > XML Output Value from Resource
Web Services Output Values
Web Services Output Values
Web Services Object Repository