To perform automation on image drawing by select shape on application and draw on image using sikuli

Asked by Damini Deokar

Need to do image automation by selecting and draw different shapes on canvas image.
Please provide me solution using sikuli

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Damini Deokar (damini27) said :
#2

Thank you for your reply.

Actually i want random shape on canvas image to do automation for it.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Please explain in more details what you want to do.

Revision history for this message
Damini Deokar (damini27) said :
#4

Actually we are working on canvas adilogist image and one test is like we need to automate canvas image and draw different shapes on canvas image while automating so by using sikuli can we do automate on canvas image different shapes.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

This still does not provide enough information.

What is "canvas adilogist image"? Google does not find anything.

Please explain what steps have to be automated, e.g. by giving a rough step-by-step description of the actions that have to be done when you execute the test manually, something like

open XY application
press ctrl-n for "new"
move the mouse to the center of the upper left quadrant of the screen
press the left mouse button and pull the mouse down half a screen, right half a screen, up half a screen, and back left to the initial point to draw a rectangle, and release the mouse button
compare the result with a stored image
etc.

Revision history for this message
Damini Deokar (damini27) said :
#6

1. Radiologist canvas image of brain scan image.
2. Open patient scan canvas image and select shape from image only and drawing to try to highlight patient issue on image.
3. So canvas image we are not able to inspect to locate webelement on image.
4. We want to do automation on canvas image to draw shape by select tool

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

I am sorry, but I do not understand your needs and it seems that you do not understand what we need for helping. I give up.

Revision history for this message
Damini Deokar (damini27) said :
#8

No issue dear, but Just wants to explain you in details:

1. Our application is web based.
2. And Existing application integrating with healthMye viewer and image opening in virtual machine of healthymine by using tools on canvas image we are trying to ligens and annotations.

so we need to automate 2nd step.

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

@Damini:
I fully understand the reaction of Manfred.

SikuliX can be used to simulate mouse actions on the screen and issue keyboard actions.
The most useful feature is the ability to find given images on a screen and by this define points on a screen to act on.

Using these features you can script a workflow that reproduces the actions you are doing manually.

So to get help, you have to list these manual steps (mouse and keyboard). The challenge with a SikuliX workflow is to identify the click locations either by locating given images or by absolute/relative screen coordinates.

So Manfred's advice from comment #5 is absolutely right.

But before you step further into details, make sure that the basic features of SikuliX (locating images, use mouse and keyboard) are useable in your environment. Just try some basic workflows and get a feeling about what SikuliX can do for you.

Revision history for this message
Damini Deokar (damini27) said :
#10

@Raiman

Thank you for the details. Will follow as per given by you.

Can you help with this problem?

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

To post a message you must log in.