All About the Apps
cancel

Create test data intelligently with Test Combinations Generator in UFT

Create test data intelligently with Test Combinations Generator in UFT

Michael ORourke

 

Nearly two years ago, we introduced the Test Combinations Generator (TCG) in Hewlett Packard Enterprise Business Process Testing (BPT). Because of its instant popularity, we made TCG available for GUI testing in HPE Unified Functional Testing 14.00. In this blog, we discuss the benefits of TCG and how to use GUI testing to generate large datasets intelligently.

Challenges of Test Data

One of the biggest challenges test engineers face with their automation efforts is creating, manipulating, and managing test data. According to market research, test engineers spend 30-60 percent of their time just creating and managing test data. To reduce their efforts, engineers need ways to:

  • Remove testing bottlenecks by creating the right data at the right time without cutting corners under pressure
  • Easily generate synthetic test data that is customized to meet the specific needs of individual test cases
  • Overcome test demands without having to use sensitive data

Test Combinations Generator in UFT

With the induction of TCG in UFT 14.00, engineers can now utilize UFT's Global Data Sheet to easily create the desired data coverage when working on GUI tests, thereby giving them the power to:

  • Generate multiple parameter values using built-in parameter data or regular expressions
  • Customize generated data values to meet specific requirements
  • Create dataset combinations using Happy / Error paths and algorithms (Linear, Pairwise, Triplewise)
  • Import newly-created data files into HPE Application Lifecycle Management (ALM) for various run sessions
  • Reuse data files in more than one test
  • Switch between test datasets easily

Test Combinations Generator.jpg

Parameter Values

TCG generates parameters for distinct parameter values, such as Date, City, Full Name, Password, URL, and more.

tcg311.jpg

In addition, TCG includes a number of options to generate English or Non-English values, filter by regular expressions (regex), and define the number of entries you want to create.

Parameter Values.jpg

Algorithms

TCG supports Pairwise, Triplewise, and Linear algorithms.

  • Pairwise: Generates values for parameter pairs
  • Triplewise: Generates values for parameter triples
  • Linear: Generates all possible combinations of parameters and values

TCG uses the pairwise algorithm by default, but any algorithm can be used.

Learn More

Watch our new TCG demo on YouTube to see how easy it is to create test data with intelligently-generated values.

To get a better understanding of how TCG can improve your automation needs, read our use-case scenario or browse our user guide for more details on how to use TCG.

Wrap Up

While this blog covers a subset of UFT’s functionality, we hope it was enough to convince you to give it a try. More details about this and other new features will be covered in upcoming blogs and webinars.

Download and try UFT free for 60-days from the following locations:

To learn more about UFT, visit us at:

Go UFT | Twitter | LinkedIn | Facebook

 

Product Manager
  • Future of Testing
About the Author

Michael ORourke