Fig 01 - A component in TurnKey cFactory
cFactory enables you to create ‘components’, as seen in Figure 1, abstract pieces of UI interaction that can be reused by supplying them with varying sets of test data. In other words, they are data driven. Moreover, creating your components does not require any programming. To create a component, cFactory will inspect a page in your application, pick out the interactable elements, and ask you to specify which operation (if any) should apply to each element (for example, data entry, or validation), and from that information generate a component that performs those operations on that page. This can, of course, be repeated for many operations across all of the pages in your application. You can also constrain cFactory so that it only looks for elements of a particular type or in a specified area on the page. Lastly, cFactory will monitor your application for changes, perform change analysis, and automatically update your components when a change is detected.
Fig 02 - A process flow in TurnKey Rainier
dataDriver, on the other hand, allows you to pull (and optionally encrypt or mask) data directly from your backend datastores for use as test data. Oracle databases are supported natively, and a variety of connectors to other popular databases and data formats (for example, SQL Server and REST) are provided out of the box. Data held within dataDriver can be analysed, sorted, and ultimately used to generate sets of test data. It also provides automated change management for your test data, in the same way that cFactory does for your components.
Fig 03 - An autonomous job in TurnKey Rainier
Once you have created your components, you can export them to the Rainier test plan management platform. This allows you to search through and manage your components and other testing assets in a catalogue, as well as assemble components into process flows (in other words, test cases, as seen in Figure 2) and process flows into system flows (end to end tests). This approach allows both components and process flows to be easily reused. Test data is loaded in via dataDriver, and flows can be executed manually, on a schedule, or as part of an autonomous job (see Figure 3) that will run whenever specified conditions are met. Executing your flows will run them for all possible combinations of any associated test data.
If you would prefer not to use Rainier, you can instead export your test data and components to Micro Focus ALM and assemble and execute them there. In fact, if you would prefer to use both, you can even embed Rainier inside ALM (or, for that matter, Atlassian JIRA or Broadcom Agile Central). TurnKey will also integrate bi-directionally with Broadcom ARD and Broadcom TDM, either by leveraging them to generate a requirements model and test data for your existing TurnKey tests, or by using TurnKey to attach components to test cases generated by ARD and exported to Rainier or ALM.