Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to call a QC file in VAPI Test
03-04-2010, 09:56 PM
Post: #1
How to call a QC file in VAPI Test

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:
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:
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.

Thanks
Rammy
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  QTP file compare - ignoring file structure Fede 3 525 02-17-2012 02:48 AM
Last Post: Parke
  VAPI-XP-TEST sshukla12 0 506 12-07-2011 01:43 PM
Last Post: sshukla12
  How can we call a function stored in another test ? akhilsoni776 2 850 08-25-2011 10:47 PM
Last Post: akhilsoni776
  Link to a file in the test result window tennessee 0 507 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 820 04-10-2008 12:50 PM
Last Post: test123

Forum Jump:


User(s) browsing this thread: 1 Guest(s)