VBScript Tutorial

Microsoft VBScript (Visual Basic Script) is a general-purpose, lightweight and active scripting language developed by Microsoft that is modeled on Visual Basic. Nowadays, VBScript is the primary scripting language for Quick Test Professional (QTP), which is a test automation tool.

This tutorial will teach you how to use VbScript scripting language in your day-2-day life of any Web based or Automation project development.

Audience

This tutorial has been prepared for the beginners to help them understand basic-to-advanced functionality of VBScript. After completing, this tutorial you will find yourself at a moderate level of expertise in using Microsoft VBScript from where you can take yourself to next levels.

Prerequisites

We assume you have a little knowledge of any computer programming and understand concepts like variables, constants, expression, statements, etc. If you have done programming in any client side language like Javascript, then it will be very much beneficial and learning VBScript will be like a fun for you.

Try VBScript Online

For most of the examples given in this tutorial you will find Try it option, so just make use of it and enjoy your learning.

So if you are using Internet Explorer then try following example using Try it option available at the top right corner of the below sample code box: