VBScript Tutorial

VBScript Tutorial

VBScript Tutorial, Environment, VBScript Syllabus, Variables, Control Flow, Functions, Automation Objects, and Write & Run VBScript Programs. VBScript began as part of the Microsoft Windows Script Technologies, launched in 1996. VBScript (“Microsoft Visual Basic Scripting Edition”) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic VBScript stands for Visual Basic … Read more

VBScript Interview Questions on Variables

VBScript Interview Questions on Variables

VBScript Interview Questions on Variables, What a variable, how to declare variables in VBScript?, assign values to variables, and check data type. VBScript Variables Questions 1) What is a Variable? Variable is a named memory location to store data 2) Where variables store, in Primary Memory (RAM) or in Secondary Memory (HDD /CD-Rom, etc..)? Variables … Read more

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 of Variables 6) Naming Restrictions ———————– i) Variable names should start with Alfa bytes Ex: Dim abc ‘Correct Dim a12 ‘Correct … Read more

VBScript Tutorial 2

VBScript Tutorial 2 (Comments, Data Types and Variables Part-1) i) VBScript Comments Comments are English words; we use comments for Code documentation. Purpose: To make the code readable To make the code disable from execution Syntax: ————- Use ‘ symbol before the statement Use Rem command followed by space ‘Dialog(“Login”).WinEdit(“Agent Name:”).Set “asdf” Dialog(“Login”).WinEdit(“Password:”).SetSecure “555d2f3be286cd5dc51229cfb136d5bf41a13691” Dialog(“Login”).WinButton(“OK”).Click … Read more

UFT Class 23

UFT Class 23 (VBScript variables, Operators-1) III) VBScript Variables 1) What is Variable? A named memory location to store the data. Two types of Memory in Computer Environment: i) Primary Memory – RAM ii) Secondary Memory – HDD, DVD, USB drives etc… 2) Declaration of Variables Variables can be declared using either Public or Private … Read more

UFT Class 22

UFT Class 22 (VBScript Comments, Data Types) I) Comments in VBScript Comments are English words, we write comments for Code documentation. > Purpose of Comments: To make the code readable To make the code disable from execution > Syntax: Use Rem command before the statement followed by space. Use ‘ symbol before the statement Ex: … Read more