|
 |
VBS |
 |
Course Outline:
-
Introduction to Program / Program Logic / Pseudo code / Programming
- Introduction to Interpreted vs Compiled Language
- The Language
- Origin
- Differences among VB, VBA and VB Script
- Fundamentals to VB Script
- Syntax and Conventions
- Case Sensitivity
- White Space
- Strings and Quotation Marks
- Comments
- Variable And Function Names
- VB Script Keywords
- VB Script Statements
VB Script Programming Constructs
-
Supported Data Types
- Variables in VB Script
- Constants in VB Script
- VB Script Operators
VB Script Control Structures
-
The do while , do until Loop
- The For…Next Loop
- The For Each …..Next Loop
- The While …..Wend Loop
- The if statement
- The switch statement
Functions
-
VB Script built in functions
- User defined functions
- Arguments and its application
- Calling a subroutine
- Function……End Function
Objects in VB Script
-
Introduction to Objects
- Objects and Collections
- Class Object
- Err Object
- Methods / Events
- An introduction to Document Object Model ( DOM )
File handling in VB Script
-
Working with the Excel Objects
- Use the Connection and RecordSet objects to query a database using VBScript ADO.
- Read and output information to text files
using VB script FSO.
Error Handling
-
Identify when to handle run errors programmatically.
- Use the VBScript ON ERROR RESUME NEXT statement.
- Use recovery scenarios for run errors that may occur anywhere in a script.
Regular Expression
-
Introduction to Regular Expression
- Building a regular expression
- Order of Precedence
Assessment
Course Objective
-
Knowledge of VBScript
- Capable of creating VBS Scripts
- Capable of Handling Exception
- Applying Regular Expressions
- Knowledge of Predefined VBS Functions
- File, Excel and Database Handling using VBS
Intended Audience
The course is intended for beginners or intermediate testers, who need to implement VBScripting. |
|
|
|
|
|