Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use systemutil.run with two plus parameters
#1
Solved: 11 Years, 4 Months ago
I am using this:

Code:
systemutil.run (filename,[parameters],[path],[operation],[mode])

How do i send two parameters; TestName and strAttachment:
Code:
SystemUtil.Run "O:\QTP Tests\SendEmailMessage.vbs", strAttachment, TestName
Reply
#2
Solved: 11 Years, 4 Months ago
Create a batch file(.bat) and embed the vbs in it after parametrizing the required parameters in it.

Once done, search and read about a method Run under windows shell.

Clue:
Set objshell = Createobject(....)
objshell.run " " " " ""

Easier to learn and implement Smile
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 11 Years, 4 Months ago
Thx, I figured out my issues, finally.

thx for the great idea too.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,496 03-07-2019, 10:18 PM
Last Post: supputuri
  SystemUtil.Run is not getting recorded divyan 1 1,827 08-31-2017, 09:06 PM
Last Post: Ankur
  SystemUtil.Run method is not getting recorded pupuns2 5 8,177 05-12-2017, 01:20 PM
Last Post: Angeliks
  Part of parameters missing when passing between actions skumar007 1 3,012 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 3,180 08-28-2014, 06:39 PM
Last Post: dplank

Forum Jump:


Users browsing this thread: 1 Guest(s)