Runtime.exec() returns a Process. Normally one manages the Process by
reading stdin and stdout from it and using waitFor() to wait for
completion. Not sure if it 'just works' if you don't do these things.
On Feb 3, 1:48 am, Mohammed Sikander <
sikander.qure...@gmail.com>
wrote:
> I compiled the AutoIT script and executed manually, it is working perfect.
>
> But, when i am calling the same script, it is not running.
>
> selenium.open(URL);
> String[] commands = new String[]{};
> commands = new String[]{"C:\\Assessor.au3"};
> Runtime.getRuntime().exec(commands);
>
> Is something blocking to execute this?
>
> On 3 February 2011 12:24, PIYUSH MAVANI <
piyush....@gmail.com> wrote:
>
>
>
> > Hi,
>
> > Do you see an icon of AutoIt in system tray when the autoit script is
> > invoked?
>
> > Most probably it won't appear. The reason is that .au3 is not an executable
> > file. You first need to compile it to an exe and then invoke the exe in you
> > selenium script.
>
> > To make an exe, open the AutoIt script in scite editor and press F7. It
> > will create the exe in same folder as your .au3 file.
>
> > Let me know if this helped....
>
> >>>>> On 2 February 2011 18:18, srinu vasu <
srinivas.a...@gmail.com> wrote:
>
> >>>>>> Hi,
>
> >>>>>> Can u try the attached file code....
>
> >>>>>> Regards,
> >>>>>> Srinivas
>
> >>>>>> On Wed, Feb 2, 2011 at 1:48 PM, Mohammed Sikander <
> >>>>>>
sikander.qure...@gmail.com> wrote:
>
> >>>>>>> Hi, Could any look into this??
>
> >>>>>>> On 1 February 2011 12:27, Mohammed Sikander <
> >>>>>>>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >>>>>>> .
> >>>>>>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >>>>>> .
> >>>>>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >>>>> .
> >>>>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >>>> .
> >>>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >>> .
> >>
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> >> .
> >
selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go
oglegroups.com>
> > .
> > For more options, visit this group at
> >
http://groups.google.com/group/selenium-users?hl=en.- Hide quoted text -
>
> - Show quoted text -