All About the Apps
cancel

Create data intelligently with Test Combinations Generator in UFT

Create data intelligently with Test Combinations Generator in UFT

Michael ORourke

 

Nearly two years ago, we introduced Test Combinations Generator (TCG). Because of its widespead popularity, we made TCG available for GUI testing in Hewlett Packard Enterprise Unified Functional Testing (UFT) 14.00. For this blog, we will drill down into the benefits of TCG and how to use GUI testing to generate large data sets intelligently.

Challenges of Test Data

One of the biggest challenges engineers face with their automation efforts is creating, manipulating, and managing test data. According to market research, engineers spend 30-60 percent of their time just tinkering with data. To reduce these 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 its IDE'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 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

Each of the three algorithms TCG offers creates test data differently.

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

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 information.

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
  • Application Lifecycle Management
  • Future of Testing
About the Author

Michael ORourke