Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to call a QC file in VAPI Test
#1
Not Solved
Hi All,
I have created VAPI-XP test and I called a local file and it worked fine.

now I am trying to call a file, which in QC\Resources(ex: batch file), but I am getting error message.

Code:
Code:
Dim shell
set shell=createobject("wscript.shell")
shell.run "C:\Server\backup.bat"
set shell=nothing

this works, but I would like get backup.bat file from QC Resorces
I tried this bute getting error

Code:
Code:
Dim shell
set shell=createobject("wscript.shell")
shell.run "[QualityCenter\Resources] Resources\backup.bat"
set shell=nothing

but it doesn't work.

Please help me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VAPI-XP-TEST sshukla12 0 3,644 12-07-2011, 01:43 PM
Last Post: sshukla12
  How can we call a function stored in another test ? akhilsoni776 2 3,771 08-25-2011, 10:47 PM
Last Post: akhilsoni776
  Link to a file in the test result window tennessee 0 1,999 01-24-2011, 07:31 PM
Last Post: tennessee
  Test Error Handling scenarios and create an Error Log file which document the step wh test123 0 2,684 04-10-2008, 12:50 PM
Last Post: test123

Forum Jump:


Users browsing this thread: 1 Guest(s)