Micro Focus QTP (UFT) Forums
HI, i'm having a run time error ,please help? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: HI, i'm having a run time error ,please help? (/Thread-HI-i-m-having-a-run-time-error-please-help)



HI, i'm having a run time error ,please help? - Awzar - 01-24-2015

please help
error: Invalid procedure call or argument
C:\Unified Functional Testing\11-25-2014\My task\My_task.qfl
Line (4): " systemutil.Run MyBrow, MyURL".


Code:
Function Open_Browser(MyBrow,MyURL)
    systemutil.CloseProcessByName MyBrow
    systemutil.Run MyBrow, MyURL
End Function