04-16-2008, 04:37 PM
Tried using SystemUtil.Run, but my problem is not solved.
For the next one,
It pops up an error message as Windows Script Host as dialog box name and with the following contents.
Script: C:\Docume~1\User Name\LOCALS~1\Temp\LibraryName.vbs
Line:9694
Char:2048
Error:Unterminated string constant
Code:800A0409
Source:Microsoft VBScript Compilation error
I removed Environment variables from the library and tried to execute thru' library. But the same problem (error message) persists only thing is the line no., character no. changes and in Error section it says Object required:'Environment'. Nothing else changes in the above dialog box.
I tried the same with the Utility file, it works fine when i add messagebox and execute thru' QTP.
I've no idea as to how to go about, is this a problem with the built .exe file from .vbs or is it some other problem?
Can u help me out?
Thanks.
For the next one,
It pops up an error message as Windows Script Host as dialog box name and with the following contents.
Script: C:\Docume~1\User Name\LOCALS~1\Temp\LibraryName.vbs
Line:9694
Char:2048
Error:Unterminated string constant
Code:800A0409
Source:Microsoft VBScript Compilation error
I removed Environment variables from the library and tried to execute thru' library. But the same problem (error message) persists only thing is the line no., character no. changes and in Error section it says Object required:'Environment'. Nothing else changes in the above dialog box.
I tried the same with the Utility file, it works fine when i add messagebox and execute thru' QTP.
I've no idea as to how to go about, is this a problem with the built .exe file from .vbs or is it some other problem?
Can u help me out?
Thanks.