Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

VBScript

( Duration: 5 Days )

This VBScript training course provides the skills on the syntax, and the other functionality needed to perform web based or automation projects. You will learn the basics needed to code in VBScript including, Variables, Constants, Operators, Decisions, Arrays and much more. You will then go on to master some advanced concepts such as Procedures, Dialog Boxes and Error Handling. This course is aimed at helping you achieve mid-level expertise of the language and follows an experiential, easy to grasp format.

By attending VBScript workshop, delegates will learn to:

  • Gain VB Script syntax and its basic objective
  • Variable declaration, operators, conditional statements, functions, procedures, and loops
  • Using Dialog Boxes to communicate effectively with the user
  • Dealing with different types of errors

  • Basic programming knowledge, Basics of MySql / SQL queries

  • This VBScript class is intended for anyone interested in automation testing and Web Development.

COURSE AGENDA

1

Introduction

  • Introduction to VBScripting
  • VBScript version information
  • Windows Script Host (WSH)
  • Creating a script with Notepad
  • Declaring Variables
  • Naming Conventions
  • Comments
  • Variants subtypes
  • String and Numbers
  • Working with Data types in variables
  • Assigning values to variables
  • Scope and lifetime of variables
  • Constants
  • Message and Input Boxes
2

Operators in VBScript

  • Arithmetic
  • Comparison
  • Logical
  • Working with Strings
  • Operator Precedence
3

Control Structures

  • Decision making control structures
    • If-Then-Else
    • Select Case
  • Looping
    • Do...Loop
    • While...Wend
    • For...Next
    • For...Each
  • Exit Statement
  • Using VBScript help
4

Arrays

  • Single Dimensional and Multi-Dimensional arrays
  • Determining the size of the array
  • Changing contents of the array
  • Array functions
5

Subroutine and Function Procedures

  • Subroutine Procedures
    • Declaring, Calling
  • Function Procedures
    • Declaring, Calling
  • Getting data in and out of procedures
    • Arguments ByVal and ByRef
6

VBScript Built in functions - Part 1

  • VBScript Some important functions
  • VBScript string manipulation
  • BScript numeric
  • VBScript date manipulation
  • VBScript Formatting Strings
7

VBScript Built in functions - Part 2

  • Conversion functions
    • OS Conversions
      • Asc, Char
    • Data Types conversions
      • CBool, CByte, CCur, CDate, CDbl, Char, CInt, Clng, CSng, CStr
    • Base Conversions
      • Hex, Oct
  • Variables subtypes verification
  • IsArray, IsDate, IsEmpty, IsNull, Is Numeric, IsObjectConstant naming conventions
8

An Introduction to Objects

  • Why Objects are Needed
  • Object Definition
  • Object Attributes
  • Object Parameters
  • Some commonly used VBScript Objects
    • Class Object
    • File Object
    • Folder Object
    • Dictionary Object
9

Working with External Data Sources - Part 1

  • Working with Flat Files
  • Working with Word Docs
  • Working with Excel Sheets
  • Working with XML files
10

Working with External Data Sources - Part 2

  • Connecting to a Database
  • Data driven testing by fetching data from a Database
  • Comparing data
11

Working with Regular Expressions

  • Understanding RE
  • Using RE
  • RegExp object
12

VBScript coding conventions

  • Constant naming conventions
  • Variable naming conventions
  • Descriptive variable and procedure names
  • Object naming conventions
  • Code commenting conventions
  • Functions header conventions

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X