Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing Web Services
#9
Not Solved
Hi,

1. Just verify giving the path for WS-I validation location as
C:\<Test Folder>

2. Use the WS- I validation tool to test the web services and its interoperability basically. Interoperability Testing Tools 1.1, is a third-party application and is not provided with QTP.


I could think of the following alternate solution:

You can use XML DOM, WinHttp and templates for verifying the web services XML.



Code:
strXMLTempFile = "c:\test\ws\Templates.xml"
strTemplate = "Template"
Msgbox getXMLTemplate (strXMLTempFile, strTemplate)
Function getXMLTemplate (strXMLTempFile, strTemplate)

Set xmlDoc = CreateObject("Msxml2.DOMDocument")

'load XML file

xmlDoc.load(strXMLTemplateFile)

'Check XML syntax

If (xmlDoc.parseError.errorCode <> 0) Then
' Parse XML to verify the tags

Set myErr = xmlDoc.parseError

Msgbox "ERROR: " & myErr.reason
End If
' Same way verify the template

Set xmlDoc = Nothing

let us know if this helps.
Reply


Messages In This Thread
Testing Web Services - by sohalshah - 08-19-2009, 09:53 PM
RE: Testing Web Services - by Ankur - 08-20-2009, 02:03 PM
RE: Testing Web Services - by Tarik Sheth - 08-20-2009, 06:34 PM
RE: Testing Web Services - by sohalshah - 08-20-2009, 08:18 PM
RE: Testing Web Services - by Tarik Sheth - 08-20-2009, 08:43 PM
RE: Testing Web Services - by sohalshah - 08-21-2009, 12:42 AM
RE: Testing Web Services - by Tarik Sheth - 08-21-2009, 05:25 PM
RE: Testing Web Services - by sohalshah - 08-21-2009, 07:55 PM
RE: Testing Web Services - by Tarik Sheth - 08-22-2009, 02:44 PM
RE: Testing Web Services - by iagarab - 01-08-2010, 06:09 PM
RE: Testing Web Services - by Tp123 - 04-17-2014, 01:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Testing and Unexpected Server Errors zunebuggy 0 1,529 01-24-2018, 11:41 PM
Last Post: zunebuggy
Smile Very Complex Web Testing zunebuggy 1 1,872 11-22-2017, 02:26 PM
Last Post: supputuri
  QTP Automation testing steps for .net web applications? Ramadas 0 2,927 10-30-2013, 12:54 PM
Last Post: Ramadas
  Query on Web services:web services using QTP VVKumar 0 1,984 10-03-2013, 10:42 AM
Last Post: VVKumar
  Web Services Testing using QTP VVKumar 0 2,225 10-01-2013, 01:13 PM
Last Post: VVKumar

Forum Jump:


Users browsing this thread: 1 Guest(s)