Advanced WinRunner teaches delegates to use programming and troubleshooting techniques to enhance their automated test scripts to achieve greater test coverage for their applications.
Product version information: QBIT courses in Mercury products are taught using the latest available version. If you are using an earlier version please contact QBIT for advice.
Intended for: Quality assurance engineers; technical managers; software engineers; customer support engineers; anyone who needs to automate testing and verification processes
Pre-requisites: Using WinRunner course; programming background in C, C++ or Java.
Skills gained
- Apply TSL concepts with correct syntax
- Create toolbar buttons to simplify commonly used coding
- Debug scripts
- Use the Syntax checker
- Use the Function Generator
- Enhance functions to handle errors and return error codes
- Store functions in a function library
- Load functions from a start-up script
- Add functions to the Function Generator
- Use external functions
- Data-drive a test using queries, tables and plain text files
- Handle data driving exceptions
- Create custom checkpoints and user toolbars
- Use database record verification
- Create a custom database checkpoint
- Fix a data format conflict
- Restore the database
- Identify and manage custom GUI Map objects
- Create compound error recovery scenarios
Course content
Review of Using WinRunner
- Recording, synchronizing, verifying, and running scripts
- The GUI Map
- Data-driving
TSL Syntax and Usage
- Functions, variables, constants and operators
- Adding user interaction to a script
- Flow control
- Sending messages to the Test Results window
User Defined Functions and Libraries
- Creating functions and compiled modules (libraries)
- Return codes and error handling
- Adding functions to the Function Generator and startup script
Advanced Data Driving
- Reading from and writing to the Data table
- Writing to spreadsheets and to text files
Database Checkpoints
- Verifying database content, columns, and rows
- Performing runtime record checks
Managing Custom Objects in an Application
- Learning the properties of custom objects
- Mapping custom objects to standard classes
- Handling a custom object that cannot be mapped
Compound Recovery Scenario
- Use WinRunner Recovery Manager to create compound recovery scenarios
Related certifications
This course will introduce you to the skills required for the Mercury CPC in WinRunner. Candidates should also have at least six months experience of in-depth use of the product
All text © QBIT/Mercury. Software product names are trademarks of Mercury™. This information may not be reproduced in any form without written permission. QBIT has partnered with certified training providers CTI and SQS (for courses taking place in London) and Edgewords (for courses taking place in Telford) for all certified courses in using Mercury™ products