Home » Add-ins, Web Services

Important points – working with the Web Services Add-in

5 November 2009 3,475 views No Comment
  • QTP supports keyword-driven testing on your Web services. This means that in QTP; after you add a WebService test object to your object repository, you can access all of the operations that the Web service supports from the Operation column of the Keyword View, the Operation box in the Step Generator, or by using IntelliSense in the Expert View.
  • You can add a WebService test object using the Web Service Add Object Wizard or the Web Service Testing Wizard.
    • The Web Service Add Object Wizard enables you to automatically create a WebService test object. You can then add steps manually.
    • When working with tests, you can use the Web Service Testing Wizard to automatically create a WebService test object and to generate steps to test the operations that your Web service supports based on a supplied WSDL file. The Web Service Testing Wizard also enables you to automatically generate checkpoints for these steps.
  • You can enhance your test manually by entering operations in the Expert View.
  • When working with components, QTP provides commonly used Web service functions in the Web_Services.txt function library. You can use these functions if the function library is associated with your component’s application area or your test.
  • You (or an Automation Engineer) can wrap additional Web service-specific functionality in other function libraries associated with the component’s application area.
  • When working with multiple toolkits, it is recommended to create a separate test or component for use with each required toolkit.
  • If your Web service is protected by a firewall, or your Web service requests are routed via a proxy server, you may need to insert a SetProxy statement to set the required proxy information for the service before the first step containing an operation on the corresponding WebService test object. If you are working with components, you or an Automation Engineer may need to wrap this functionality in a user-defined function and associate the function library with your application area.
  • The Web Services Add-in of QTP is compliant with namespace and XPath standards.

Popularity: 56% [?]

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.