Tagged: VBScript Tutorial for UFT

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