Tagged: VBScript Tutorial

VBScript Excel Object Model Part-2

VBScript Excel Object Model Part-2

VBScript Excel Object Model Part-2 1) Read Test data from Excel file and perform Data driven testing for Login Functionality. And write/export Test Result and Error Message to the same file. Dim objExcel, objWorkbook,...

VBScript Database Objects

VBScript Database Objects

  VBScript Database Objects 1) Database Connection Object It is used to connect to Databases. (* Database Connection String only varies from One Database to another) Create Database Connection Object Set variable = CreateObject(“Adodb.Connection”)...

Error Handling and Debugging Tests in UFT

Error Handling and Debugging Tests in UFT

Error Handling and Debugging Tests in UFT 1) Error Handling using VBScript: Handling expected and unexpected errors. Expected Errors Whenever we use invalid input then we expect errors. Note: We use invalid input for...

 User Defined Functions in VBScript

 User Defined Functions in VBScript

 User Defined Functions in VBScript  VBScript Functions > In Structured Programming (Ex: C Language) we use Functions (Built-in and user defined). > In Object Oriented Programming (ex: Java) we use Methods (Built-in and user...

VBScript Built in Functions

VBScript Built in Functions

VBScript Built in Functions 1) Asc Function It returns ANSI character code for first letter of a string or number. ‘A to z (65 to 90) ‘a to z (97 to 122) ‘0 to...

VBScript FileSystemObject

VBScript FileSystemObject

VBScript FileSystemObject File System Operations i) What is Computer File System? It is a feature of Operating system used to work with Drives, Folders and Files. ii) Examples for File System Operations Create a...

VBScript Tutorial 6

VBScript Tutorial 6

VBScript Tutorial 6 (VBScript Built in Functions Part-2, File System Operations part-1) I) VBScript Built in Functions Part-2 20) LCase Function Converts Upper case values to lower case. Ex: Dim val val = “HYDERABAD”...

VBScript Tutorial 3:

VBScript Tutorial 3:

VBScript Tutorial 3: (VBScript Variables Part-2, Constants, VBScript Operators, Conditional Statements Part-1) iii) Variables 1) What is Variable? 2) Declaration of variables 3) Implicit and Explicit variables. 4) Assigning Values to Variables 5) Purpose...

UFT Class 29

UFT Class 29

UFT Class 29 (VBScript File System Operations) > What is Computer File System? It is a feature of Operating System, used to work with Drives, Folders and files. Computer understands things in terms of...

UFT Class 28

UFT Class 28

UFT Class 28 (VBScript Built in Functions part-2, Many to Many Comparisons Example) 28) CreateObject Function It creates an automation object in a specified class. Examples: Dim objFso ‘Create File System Object, It is...