2. WHO AM
I?
• Over 16 years of experience in software testing, both manual and
automated
• SmartBear TestComplete user from before it was called TestComplete
• Community Hero on SmartBear Community forums 2016 and 2017
• Register and Visit at https://community.smartbear.com/
4. THE EVER PRESENT
HOPE
• Test automation projects move away from simple
record/playback implementation
• Movement toward coded frameworks and modularized
maintainable code
• Most projects fall somewhere in the middle
5. NEW PROBLEMS TO
SOLVE
• Modularized code implemented across multiple
projects
• USEUNIT, import
• Shared script units between projects
• Maintaining dependencies
• Teams with diverse skill levels
• Experienced script code writers
• Test writers with minimal coding experience
• Various degrees in between
6. NEW PROBLEMS TO
SOLVE
• Need for rapid test development
• Need “building blocks” to create tests
• Centralized repository for such building
blocks
• Securing Critical Code
• Move code out of TestComplete IDE
• Prevent changes for low level procedures
8. SCRIPT EXTENSIONS -
DEFINED
• SCRIPT – Uses script code language (JScript and VBScript)
• EXTENSION – Extends the functionality of TestComplete
• A technological tool that allows script coders the ability to
extend and enhance the functionality of TestComplete
9. SCRIPT EXTENSIONS – WHAT THEY
CAN DO
• Custom Record Time Actions
• Create a custom checkpoint type
• Pre-Installed: Clipboard and Manual Checkpoints
• https://github.com/smartbear-
testcomplete/HTMLTableCheckpoint
• Custom Design Time Actions
• Checkpoints again
• Can be used to generate script code for standard tasks
10. SCRIPT EXTENSIONS – WHAT THEY
CAN DO
• Custom Keyword Test Operations
• Special operations to use in keyword tests
• Pre-Installed: LogAttributes
• Custom Test Results Operations
• Interfaces to process log results to external
tools
• Pre-Installed: Bugzilla, Jira, QAComplete
11. SCRIPT EXTENSIONS – WHAT THEY
CAN DO
• Custom Script Objects
• What I use most often
• Take script code and turn it into objects
• Some examples available
• Compare Excel or Word documents
• Calling functions with “out” parameters in
JavaScript/JScript
• Pre-Installed: WMI objects
12. SCRIPT EXTENSIONS – SOLVING
PROBLEMS
• Remove the need for USEUNIT or import for universal
code
• Encapsulates complex code functions for ease of use
• Easily accessible libraries of “building block” code
segments
• Secures critical code to prevent accidental alteration
14. SCRIPT EXTENSION
AVAILABILITY
• Community Members write script extensions for
universal use
• Central location to download extensions
• https://github.com/smartbear-testcomplete
• Available Extensions from me
• sqlUtils
• ogre-utilities
• ??? -> What do you need?