Chapter 3. Testing XML and Database

In this chapter, we will cover the following recipes:

  • Establishing and closing a database connection
  • Using SQL queries programmatically
  • Using a database checkpoint
  • Using an XML checkpoint

Introduction

This chapter provides some basic recipes to handle Database (DB) and XML testing within UFT.

It provides essential support for data connectivity to both external databases and Extensible Markup Language (XML) file formats within the function library.

This chapter does not detail the API test functionality that was recently introduced within Unified Functional Tester Version 12 as part of the integration with the Service Test product line, which provides native support and additional functionality around DB and XML within ...

Get Advanced UFT 12 for Test Engineers Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.