Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rcptt-users] Dragging SVG

Hello


Problem circumvented. I made a separate mouse handler with Java and call it with proc-exec whenever a more native mouse behaviour is required - a simple Java class which takes the regular String... args as an input. The first argument is the type of the command ("press", "release", "move", "drag") while the rest are the required parameters (button, coordinates) for the given command.


Coordinates are handled in the Java class as screen coordinates, therefore a conversion is required to be done in the RCPTT end of the rope from the canvas coordinate system to the screen coordinate system.


BR,

Ilkka



Lähettäjä: rcptt-users-bounces@xxxxxxxxxxx <rcptt-users-bounces@xxxxxxxxxxx> käyttäjän Ilkka Nieminen <ilkka_n@xxxxxxxxxxx> puolesta
Lähetetty: 23. helmikuuta 2018 9:22
Vastaanottaja: rcptt-users@xxxxxxxxxxx
Aihe: [rcptt-users] Dragging SVG
 
Hi everyone!

I have an SVG image on a map which needs a drag and drop test. Is that possible with RCPTT?

I've tried pretty much every mouse related command combination inside

with [get-canvas]{
    ...
}

block.

These include at least mouse-press, mouse-move, mouse-drag, mouse-release, drag-start, drag-action, drag-end, mouse -event down, mouse -event move, mouse -event up.

If not possible with RCPTT, do you have any recommendations how to perform these drag operations in conjunction with RCPTT?

I would not like to add another tool to test automation stack if avoidable but can do it if necessary. Any recommendations to replace RCPTT?

BR,
Ilkka

Back to the top