← Back to team overview

sikuli-driver team mailing list archive

[Question #668061]: Handle multiple windows, each as an object

 

New question #668061 on Sikuli:
https://answers.launchpad.net/sikuli/+question/668061

I'm using the latest Sikuli .

I have a java based app that when a specific action is clicked, it will open a new child window that emulates an SSH terminal.   

I want to be able to do 2 things:
1. supply a flat file set of commands to the SSH terminal.   
If I was using command line SSH, I would simply do: cat myFlatFile | ssh -i  <key> user@127.0.0.5 

This will simulate the user typing in set of commands into the SSH terminal.


2. I need to open multiples of the SSH terminal windows and do the action in #1 above for each one.


Higher priority is #2 
how can I
a. launch the ssh terminal (done), 
b. grab a hold of the whole window as its own object, then 
c. pass in commands to the terminal


Thanks in advance.

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