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