Tuesday, November 11, 2008

how to call Library Files(.vbs) in the Test Script

method 1 :
ExecuteFile <>
method 2:
u can add library file to ur script through Test-----------
-->Resources tab here u find option called add file there u
can add ur files manually before running the script then
save it so when ever u open that script attached lib files
also opened with that script.

Method 3:

path1="C:/Lib1"
path2="C:/Lib2"
set qtApp1 = CreateObject("QuickTest.Application")

Set qtLibraries = qtApp1.Test.Settings.Resources.Libraries ' Get the libraries collection object
qtLibraries.Add path1 ,1
qtLibraries.Add path2 ,2

Regards,

Pavankumar nandagiri..........

Google Search

Google