Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : SilkTest @ OneStopTesting |
Topic: silktest with vbs function return |
|
Author | Message |
kajal
Newbie Joined: 24Apr2007 Online Status: Offline Posts: 21 |
Topic: silktest with vbs function return Posted: 24Apr2007 at 9:23pm |
Hello,
I am trying to use a vb script with Silktest. Here is my Silktest script: BOOLEAN bTest = SYS_Execute ("start c:\helper.vbs") Print(bTest) Here is the vbscript: BigFunction() Function BigFunction() BigFunction = CBool(1) msgbox(BigFunction) end Function Here is the issue. I am returning TRUE, the vbscript tells me im returning true, but Silktest says im returning false. Has anyone encountered this issue? Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
umesh
Newbie Joined: 25Apr2007 Online Status: Offline Posts: 1 |
Posted: 25Apr2007 at 1:37am |
How about:
script: LIST OF STRING lsOutput SYS_Execute("cscript c:\helper.vbs") ListPrint(lsOutput) vbscript: Function BigFunction() BigFunction = CBool(1) end Function WScript.StdOut.WriteLine BigFunction() |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.