PowerBuilder Testing Support

AscentialTest provides testing support for PowerBuilder applications from PB v6.x right up to the most current version of Appeon PowerBuilder.

The Datawindow is recognized regardless of its presentation style: Form, Grid, Group, Tabular. The image below displays a Datawindow in the form of what we call a PbTable. It has rows and columns that can contain any number of control types (checkbox, popuplist, textfield, etc.).

PowerBuilder Table Support:

AscentialTest provides a special feature called a ‘selector’, which makes it easy to locate a row in a table based on a target value. In the example below, the selector has located the third row in the table because it contains the test value ‘Table Management’:

PowerBuilder Form Support:

AscentialTest also recognizes the Datawindow in the form of what we call ‘PbForm’. Notice that the PbForm displayed below contains many different types of application objects including PbText, PbTextField, PbRadioGroup and PbCheckBox. These are only some of the control types that can be included on a form.

Other control types include:

PbCheckBox
PbComboList
PbComboTable
PbCompute
PbDataWindow
PbPopupList
PbPopupTable
PbRadioGroup
PbText
PbTextField

PowerBuilder Toolbar Support:

Most PowerBuilder applications include tool bars with icons that represent application tasks. AscentialTest provides special recognition for those tool bar icons to make it easy to select them:

Step 1 : Describe Application Objects

The objects and attributes are identified through the data acquired by the snapshots which is captured with just one click. These objects are then defined using drag & drop feature to its repository.

  • Analyzes objects using a rich array of descriptors
  • Visually confirm object definitions
  • Reduce ‘noise’ by filtering out unwanted levels in the application hierarchy
  • Identifies Text and images as application objects
  • Identifies Complex objects like tables and grids effectively
  • Web Table objects are defined using Table wizard
  • ‘Selectors’ are provided easy interaction with objects in tables and lists
  • Acquire list of values from dropdowns, listboxes and other list-based controls
  • Apprehend and compare image-based application components
  • Refactor project automatically when renaming objects
  • Locate object references throughout the project
  • Build Snapshot series to storyboard test transactions
  • Create object classes to define objects that display on multiple pages
  • Appropriate object recognition for PowerBuilder, dotNet (Windforms and WPF) and PDF
  • Unique object recognition for Java and Terminals (5250 and 3270)

Step 2 : Create Steps

AscentialTest marries the usability of a recorder with the strength of script-based testing. Reusable steps are created by point and click. Actions are automatically generated by interacting with Snapshots.

  • Visually build steps in drag and drop interface
  • Achieve input and verification actions
  • Specify steps to make them reusable
  • Drag flow control and conditional statements from the ‘Actions Explorer’
  • Test data objects & data types are automatically generated by AscemtialTest
  • Permit entry to DLLs, database, xml and the operating system
  • Powerful scripting language available for users with scripting experience
  • Run individual steps out of context to aid in debugging
  • Build steps from Snapshots even when offline to the target application
  • Steps are organized in a library that can be organized by user-defined groups
  • Project is updated automatically when renaming steps or step parameters

Step 3 : Build Tests

Reusable tests are built by dragging and dropping steps. Data tables are generated automatically and bind  to the data fields of the test. Subsequent growth of the library steps results in flashing test cycles. The significance of the Step-Based approach is not realized until the target application changes over time. When the target application changes, only the impacted steps need to be modified. All the tests that use those steps are automatically updated. This not only saves time and resources, it assures that tests are ready when you need them.

  • Create tests by dragging and dropping re-usable steps
  • Data tables generated with fields in the correct data type
  • Pass parameters between steps or access shared parameters
  • Build cross-browser tests without need for modifications
  • Access built-in startup and error recovery
  • Refactor project automatically when renaming tests or test parameters
  • Tests kept up to date automatically as reusable steps are modified
  • Tests can be ported to multiple languages at a fraction of the time required with other tools

Step 4 : Input Test Data

Data tables are automatically generated by AscentialTest based on test input fields. Data tables offer significant advantages over spreadsheets for maintaining test data. Instead of storing only strings, AscentialTest data tables store data in the type that is required by test actions including complex lists and records. Users can automatically generate data tables from tests or build them visually using a specialized editor. All the user has to do is provide the test data.

  • Data fields are generated in the type expected by the test
  • Pick lists reduce input errors and save time inputting test data
  • Data tables can contain complex data structures including lists and records
  • Import test data from .csv
  • Special encrypted data parameters available for passwords and other sensitive data
  • Data can be designed to be reused by multiple tests
  • Standalone applet available for editing test data
  • Random data generation available
  • Easy access to ODBC databases, ASCII, XML and INI files