Thursday, July 1, 2010

How do we associate a library file with in the test


  • ·         The file can contain function, sub procedure, classes etc.... You can also invoke the file using the following command like….
          (Eg) : ExecuteFile "MyFunctions.vbs"


  • ·         To associate a library file with your script File->Test Settings

How can i check if a parameter exists in DataTable

On Error Resume next
Dim Myval
Myval=DataTable("ParamName",dtGlobalSheet)
            if err.number<> 0 then
                        Msgbox “Parameter doesn’t Exist”
            else
                        Msgbox “Parameter Exist”
            end if