Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-12 Thread RaiMan
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

RaiMan posted a new comment:
ok, come back when ready. 
Thanks for feedback.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-12 Thread Brian Cerny
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

Brian Cerny proposed the following answer:
Yeah, everything seems to be working now. I'll include an example script
that I'm using for manual testing.

Also, I noticed a todo for handling the drive letters in Windows. I'll be
running this as a service so I'll address that outstanding issue too.

The build docs were very helpful. Thanks for maintaining an awesome
project..




On Thu, Jan 12, 2017 at 2:43 AM, RaiMan  wrote:

> Question #300873 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/300873
>
> RaiMan proposed the following answer:
> Sorry, no. There is no automatic testing with 1.1.x and will not be for
> such special features.
>
> With Version 2 development  I am working  test driven to a high extent, so
> there will be automatic testing from beginning.
> The feature you added will be in the version 2 anyways.
>
> So just post a pull request and I will check. Did the change work for
> you?
>
> Thanks again.
>
> --
> You received this question notification because you are subscribed to
> the question.
>

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-11 Thread Brian Cerny
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

Brian Cerny posted a new comment:
Cool. I already made the code change and it passed the functional tests
when building the jars from the setup via Maven.

Are there any automated tests for the RunServer? I couldn't find any.

Was wondering if it would be possible to add a test that confirms that
the query string parameters are properly passed as arguments to the
Python script. Ruby isn't supported at all and the JS runner doesn't
appear to accept arguments.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-11 Thread RaiMan
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

RaiMan proposed the following answer:
of course I will accept it - great thanks.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-11 Thread Brian Cerny
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

Brian Cerny posted a new comment:
Thanks for the reply.

I created an issue on GitHub:
https://github.com/RaiMan/SikuliX-2014/issues/243

If I contributed some code for this enhancement, would it be included in
1.1.1?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-11 Thread RaiMan
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

RaiMan proposed the following answer:
Sorry no.
... and there will not be a fix for that in version 1.1.1+

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2017-01-10 Thread Brian Cerny
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

Brian Cerny posted a new comment:
Currently, is there anyway to pass parameters to a script that are not
global?

I noticed that user defined arguments can be used when starting the
server, but I was hoping query string parameters might be supported.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #300873]: Remote Execution via API

2016-07-22 Thread RaiMan
Question #300873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/300873

Status: Open => Answered

RaiMan proposed the following answer:
Currently there is not really a solid implementation for that: running
scripts on remote systems.

The general problem is, that the remote system must have the suitable
environment installed.

When this is the case, then with scripting (Python, Ruby, ...) and Java
programming it is rather easy to setup a client/server environment with
different types of communication: XML_RPC, sockets, http, ... and even
ssh, since for all these many modules/libraries are available.

SikuliX 1.1.1 has an experimental runserver implementation (not yet documented 
though, class org.sikuli.script.Runserver). It is accessible using any client, 
that is able to issue http get requests (RESTFul).
Some description is available here: http://sikulix.weebly.com/support.html 
(section: Experimental: Play with the RunServer) 

VNCScreen will not get any feature in this direction.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #300873]: Remote Execution via API

2016-07-22 Thread James Owens
New question #300873 on Sikuli:
https://answers.launchpad.net/sikuli/+question/300873

Hello Sikuli community.

I realize there have been many questions asked about remote execution/VNC 
connections.  I have read through many of them in hopes to gain an 
understanding of the capabilities and limitations of the Sikuli API/Sikuli IDE.

My question is regarding the execution of Sikuli scripts (either locally stored 
or remotely stored) from a test machine to a system under test via a VNC (or 
even another type of) connection.

An example would be: 
A Java application that utilizes the Sikuli Java API to execute a script via 
the Runner class on a VNCScreen object.

As far as I can tell, this is not possible.  

So far, the only thing that seemed as a remotely viable option (as provided in 
the API) was to set the primary screen's region to the VNCScreen's region.  
However, this did nothing as far as I can tell.

I am able to successfully execute the script on the local heads and I am able 
to execute individually coded actions on the VNC-connected machine.  What I am 
currently unable to do is execute the script on the VNC-connected machine.

If anyone has any ideas on how to achieve this, please let me know!


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp