Re: [wtr-general] Running bat files in command prompt

2010-08-13 Thread Željko Filipin
On Fri, Aug 13, 2010 at 7:11 AM, cyril.gonsal...@mastek.com 
cyril.gonsal...@mastek.com wrote:
 But i need to keep open all 4 command prompts with bat files running
 in it.

How is this related to Watir?

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


RE: [wtr-general] Running bat files in command prompt

2010-08-13 Thread Cyril A. Gonsalves
Once I run all bat files, I need to test a web application i.e. In order to run 
the web application I need to keep alive batch services.

Hence I want to automate the test case where I can run these bat file 
automatically (thru Script).

Is there any way to run multiple bat file at the same time and keep running 
unless closed manually


From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On 
Behalf Of Željko Filipin
Sent: Friday, August 13, 2010 1:04 PM
To: watir-general@googlegroups.com
Subject: Re: [wtr-general] Running bat files in command prompt

On Fri, Aug 13, 2010 at 7:11 AM, 
cyril.gonsal...@mastek.commailto:cyril.gonsal...@mastek.com 
cyril.gonsal...@mastek.commailto:cyril.gonsal...@mastek.com wrote:
 But i need to keep open all 4 command prompts with bat files running
 in it.

How is this related to Watir?

Željko
--
watir.comhttp://watir.com - community manager
watirpodcast.comhttp://watirpodcast.com - host
testingpodcast.comhttp://testingpodcast.com - audio podcasts on software 
testing. all of them
vidipodkast.comhttp://vidipodkast.com - pričamo o hardveru, softveru i 
časopisu Vidi
--
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com



MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
desktop and server.
~~

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Running bat files in command prompt

2010-08-13 Thread Željko Filipin
2010/8/13 Cyril A. Gonsalves cyril.gonsal...@mastek.com
 Is there any way to run multiple bat file at the same time and keep
running unless closed manually

You could use threads. I think you will get more replies at a Ruby list,
because this is not Watir specific.

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


RE: [wtr-general] Running bat files in command prompt

2010-08-13 Thread Cyril A. Gonsalves
Thanks for the update bro… ☺
MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
desktop and server.
~~

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


RE: [wtr-general] Running bat files in command prompt

2010-08-13 Thread chethan sarathy
You can run all the scripts form a bat file, to run multiple bat files one by 
one you can usefollowing command in bat file
start /SEPARATE bat1.filestart /SEPARATE bat2.file
This will make sure a independent command prompt will be running,  from this 
you can run other ruby scripts or Watir Suite .
Thanks,Chethan

--- On Fri, 13/8/10, Cyril A. Gonsalves cyril.gonsal...@mastek.com wrote:

From: Cyril A. Gonsalves cyril.gonsal...@mastek.com
Subject: RE: [wtr-general] Running bat files in command prompt
To: watir-general@googlegroups.com watir-general@googlegroups.com
Date: Friday, 13 August, 2010, 1:33 PM




 
 






 



Thanks for the update bro… J 






MASTEK LTD.

In the US, we're called MAJESCOMASTEK



~~

Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete t
his e-mail from desktop and server.

~~

 





-- 

Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

 

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general

To post: watir-general@googlegroups.com

To unsubscribe: watir-general+unsubscr...@googlegroups.com



-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Running bat files in command prompt

2010-08-12 Thread cyril.gonsal...@mastek.com
Hi,

I want to run four bat file namely,

a.bat
b.bat
c.bat and d.bat in  command prompt.

(all files are located in D:\myprog\)

Also i want to keep opened command prompts i.e. I want a.bat, b.bat
etc to keep running at the same time in differenct command prompts.

i used

cmd_NamSer = D:\myprog\a.bat
cmd_NamSer1 = D:\myprog\b.bat
cmd_NamSer2= D:\myprog\c.bat
cmd_NamSer3 = D:\myprog\d.bat

system(cmd_NamSer)
system(cmd_NamSer1)
system(cmd_NamSer2)
system(cmd_NamSer3)

but while executing, it opens(executes) only 1st bat file i.e. a.bat

To open another one, i have to close 1st command prompt.

But i need to keep open all 4 command prompts with bat files running
in it.

Please help !!!

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com