contact contact

Visual Basic Scripting for TestComplete

VB Scripting for TestComplete

Introduction

During our many onsite and online TestComplete trainings we frequently encounter teams and individual's in need of VBScript training to enhance their test automation efforts. Falafel is proud to present a course focused on those individuals and customized to meet their specific needs. We've created the perfect mix of VBScript training coupled with TestComplete development to jump start you on your way to test automation success.

Course Outline

Day 1

  1. Overview of Scripting
    Lessons
    1. Scripting Technologies
    2. VBScript Features
    3. Script Editors
    4. TestComplete’s Script Editor
    Labs
    1. Getting to know TestComplete
    2. Create and Execute “Hello World” script
  2. Script Logic
    Lessons
    1. Working with Constants, Variables and Strings
    2. Loops, the Do…Loop
    3. Built-ins, Creating Subs and Functions
    Labs
    1. Do…Loop
    2. Call a Function from a Sub
  3. VBScript Objects and Object Models
    Lessons
    1. Creating and Manipulating Objects in VBScript
    2. Common Object Models
    3. Validating Forms and Registering for Events
    Labs
    1. Using the FileSystemObject
    2. Accessing Data Sources with ADO
  4. Handling Errors and Exceptions
    Lessons
    1. Types of Errors (S.R.L.)
    2. Run-time Errors
    3. Using the Err Object
    4. Setting Error Traps
    Labs
    1. Enabling Graceful Exits
    2. Logging Errors to the Event Log
    3. E-mail Error information

Day 2

  1. Debugging
    Lessons
    1. Script Processing Cycle
    2. Microsoft Script Debugger
    3. Debugging Techniques
    Labs
    1. Writing to the Windows Application Log
  2. Working with WMI and WMI Providers
    Lessons
    1. Overview of WMI
    2. WMI Services
    3. WMI Objects and Collections
    4. Scripting Tasks with WMI
    5. WQL
    6. WMI Providers
    Labs
    1. Connecting to a WMI Service
    2. Using the WMI Collection
    3. Working with the WMIPerfClass and WMIPerfInst (Vista Specific)
  3. VBScript Coding Conventions
    Lessons
    1. Create Script Templates
    2. Use Code Snippets
    Labs
    1. Create a Script based on a Template
arrow