import data from one application to another using sikuli

Asked by Srujan

Hi,

I'm new to Sikuli, i'm trying to get text box data from one application and paste into text box of another application. Is it posible to copy from one application and paste same data into different application. Please help me.

Thanking you.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene S
Solved:
Last query:
Last reply:
Revision history for this message
Eugene S (shragovich) said :
#1

Everything that you could do yourself with a keyboard and mouse can be replicated with Sikuli as long as you can describe the procedure in a consistent way using visual patterns on your screen.

For example in your case:

1. Locate (directly or relative to another object on the screen) textbox on the screen
2. Select text in textbox
3. Copy the text
4. Locate the second element that you want to paste your text int
5. Click into it
6. Paste

Revision history for this message
Srujan (srujanrao594) said :
#2

Hi,

Actually my problem is, we have used 5280 tool for submitting the web service request it will response with 4 variables, in second request we fill those 4 varibles matching values and resubmit it. it is working fine but now our requirment is to replace 5280 tool with sikuli. I'm new to sikuli dont know how to call web service(https://www.xxxx.com/axisServices/xxxx?wsdl) from sikuli. please let me know anything required

Revision history for this message
Best Eugene S (shragovich) said :
#3

I think you have some misconception about how Sikuli works..

What it really does, is just simulating user PHYSICAL behavior. So tasks like moving/clicking mouse or using your keyboard.
So you have to think about the scenario you wish to automate as a sequence of user actions. Now, the way Sikuli finds the objects on the screen is via visual recognition.

So to focus on your specific case, you have to ask yourself, what are the the actions that have to undertake to send this web service call? If that's typing a text into a field or maybe clicking a button that's one thing that Sikuli can help you with. But if you are talking about web service API, Sikuli won't offer you much.

Does that make sense?

Revision history for this message
Srujan (srujanrao594) said :
#4

Thanks Eugene S, that solved my question.