Thin clients

Asked by balakrishnan

Hi

We have a client-server architecture, (Client -Thin)....It supports 10 clients .....Now my task is to execute some operations in clients ....

1. Should i write the code and keep it in server .
2. Should i install the sikuli in all clients.
3. Sometimes same operations need to be executed simultaneously in all clients .

To implement this can i use sikuli ....If so please let me know how ?

Also please let me know if you need any more information on the same....

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

Usually (if not talking about VNC and similar techniques) the script has to be run on the machine, whose screen is to be acted on (in this case the client).

The minimum requirement on this machine to run a script:
- Java JRE 6
- sikuli-script.jar and the native libraries

Wnat system runs on the clients?

Revision history for this message
balakrishnan (abkblr) said :
#2

Instead of vnc we havesome other feature that helps us to connect from client to server .

So with this setup...please let me know how can i keep all my sikuli script in server...and run in multiple clients

Revision history for this message
balakrishnan (abkblr) said :
#3

Instead of vnc we havesome other feature that helps us to connect from client to server .

So with this setup...please let me know how can i keep all my sikuli script in server...and run in multiple clients

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Sikuli does not have such a feature.

You have to prepare the clients as mentioned above.

You might prepare the scripts on the sever, but then you have to have some "deploy and run" method, to get the scripts down to the clients and trigger their run (e.g. some RPC solution) .

A problem might be, that the images you need to search something on a client's screen cannot be captured on the server, so you have to do that on the client.

You did not say anything yet about the concrete system environment on server and client.

Revision history for this message
balakrishnan (abkblr) said :
#5

Environment - Thin client -server architecture
Description - All the processing activities are carried out in server ...Only an application screen appears in client from server..

Once i click an image in client..the processing will be carried out in server ...

Server -Windowsxp.

Clients - xp , win7 ,Mac0S etc

Please let me know if you need anymore information on the same.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

Since I do not have any experience with such environments, I cannot say definitely no - but chances are good, that it does not work.

You simply have to test, wether the Java AWT Robot class works in this context (screen capture, mouse and keyboard actions) and accesses the clients "screen buffer" on the server.

If you want to check this with Sikuli:

make a script like this:
# makes a screenshot and persistently saves the image
img = capture(SCREEN);
import shutil
shutil.move(img, "some-absolute-path-to-image-png") # have a look at it ;-)
# some mouse action
hover(SCREEN) # should move the mouse to screen center

Then you somehow have to trigger the run of this script in the client context.

Can you help with this problem?

Provide an answer of your own, or ask balakrishnan for more information if necessary.

To post a message you must log in.