Print Page | Close Window

SYS_Execute() method gets Failed.

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: SilkTest @ OneStopTesting
Forum Discription: SilkTest is an automation tool for testing the functionality of enterprise applications in most versions of Windows, Sun Solaris 9 & 10, and Red Hat Enterprise Linux WS 2.1 & 3.0.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=2798
Printed Date: 30Jun2024 at 3:52pm


Topic: SYS_Execute() method gets Failed.
Posted By: tanushree
Subject: SYS_Execute() method gets Failed.
Date Posted: 12Oct2007 at 6:01am
Using SYS_Execute is just like typing something in the command line. when you have spaces in the path you need to add a double quote at each end of the line. Your command may look some thing like:


SYS_Execute("start "+ chr(34)+"C:\ProgramFiles\Internet Explorer\IEXPLORE.EXE"+chr(34))

chr(34) is ASCII for "

we have to use this alot and we have created a constant for it that looks like:
const _QT = chr(34)

this may also be used to handle "/"



Print Page | Close Window