Category: UFT/QTP

VBScript Tutorial 9

VBScript Tutorial 9

VBScript Tutorial 9 (VBScript Excel Application Operations – 2, Database Operations and Dictionary Object) Excel Data Comparison Examples: 1) Read data from an Excel file and Compare 2 Columns (One to One Binary Comparison)....

VBScript Tutorial 8

VBScript Tutorial 8

VBScript Tutorial 8 (Excel Object Model in VBScript) Excel Application operations using Excel Application Object Excel Application Object: It is used to perform operations on Excel Application. Create Excel Application Object: Set Variable =...

VBScript Tutorial 7

VBScript Tutorial 7

VBScript Tutorial 7 (VBScript File System Operations Part-2) 6) Create a Text file Note: File System Object is only used for Drives, Folders and Flat files. We can create and delete other types of...

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 5

VBScript Tutorial 5

VBScript Tutorial 5 (VBScript Functions) I) VBScript User defined Functions i) Create a Sub Procedure with no Arguments Sub Login () SystemUtil.Run “C:\Program Files\HP\Unified Functional Testing\samples\flight\app\flight4a.exe” Dialog(“Login”).Activate Dialog(“Login”).WinEdit(“Agent Name:”).Set “asdf” Dialog(“Login”).WinEdit(“Password:”).SetSecure “5566695dab8b9f47c06f8ba443bdba84f0d5274e” Dialog(“Login”).WinButton(“OK”).Click End...

VBScript Tutorial 4

VBScript Tutorial 4

VBScript Tutorial 4: (VBScript Conditional and Loop Statements) I) VBScript Conditional Statements i) Execute a Statement when condition is True. Syntax: If Condition Then Statement Example: Dim myDate myDate = #10/10/2010# If myDate <...

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...

VBScript Tutorial 2

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...

VBScript Tutorial 1

VBScript Tutorial 1

VBScript Tutorial for UFT I) Introducing VBScript: > Visual Basic Scripting Edition, It is a light weight language from Microsoft. > VBScript derived from VB Programming language. > VBScript is not a case sensitive...

UFT Class 38

UFT Class 38

UFT Class 38 (UFT Test Planning) UFT Test Process Test Planning Generating Basic Tests Enhancing Tests Running and Debugging Tests Analyzing Test Results Reporting Defects Test Planning in UFT i) Get Environment (UI design...