| || |
XML Checkpoints in QTP9.2
I am a newbie to QTP9.2.Currently i am involved in automating the web service calls to a WSDL using the Web-service plug-in from mercury for QTP.
Pls find attached the WSDL file.
I am able to create a
1.new project using the Web service wizard
2.Choose SetHeaderField_CURHead and Query operations
When i run the test i am able to send request to the web service operation Query and obtain the response.
I want to now create an XML checkpoint for this operation.
I followed the QTP web services guide to do the same.
All examples provided there show a simple data type as response of WSDL call.
In my case operation query has a complex data type as a return type and also the XML elements contain attributes.
When the run the script for the checkpoint, it fails.
Could you pls help to create a XML checkpoint for this example.
Thanks & Regards
Re: XML Checkpoints in QTP9.2
I am not familiar with QTP 9.2, with QTP 9.1 I would use XML Warehouse, see if your version has this feature, this would be a good starting point. It allows you to define your xml structure, using attributes and values it also gives you an opportunity to parameterize values.