[Critical] Mouse-press and release-acttion are not working in a view [message #1712410] |
Fri, 23 October 2015 12:46  |
Eclipse User |
|
|
|
Hello Ulyana,
This problem is related to drag and drop (mouse actions). tests nevers ends until I stop them.
We had this test working perfectly until we had made a change in the UI. Insted of using a component, we started to use a different window. That´s all that we have changed. If I record the test again, it almost record the same with the adding of the "get-view Palette" action.
Test before change:
with [get-editor test1 {
with [get-palette | get-palette-entry "APIkit Console"] {
mouse-move 25 2 button1 -height 23 -width 186
mouse-press 25 2 button1 -height 23 -width 186
mouse-release 25 2 button1 524288 -height 23 -width 186
}
with [get-diagram | get-edit-part
-className MuleConfigurationEditPart] {
mouse-move 648 97 button1 -height 1174 -width 742
mouse-press 648 97 button1 -height 1174 -width 742
mouse-release 648 97 button1 524288 -height 1174 -width 742
}
try -times 3 -delay 1000 -command {
get-window "Select a version..." | get-button "Use newest" | click
} -catch {}
}
Test after change:
with [get-editor test1 {
with [get-view Palette | get-palette | get-palette-entry "APIkit Console"] {
mouse-move 25 2 button1 -height 23 -width 186
mouse-press 25 2 button1 -height 23 -width 186
mouse-release 25 2 button1 524288 -height 23 -width 186
}
with [get-diagram | get-edit-part
-className MuleConfigurationEditPart] {
mouse-move 648 97 button1 -height 1174 -width 742
mouse-press 648 97 button1 -height 1174 -width 742
mouse-release 648 97 button1 524288 -height 1174 -width 742
}
try -times 3 -delay 1000 -command {
get-window "Select a version..." | get-button "Use newest" | click
} -catch {}
}
However, when I try to run the test , it never ends. I have to stop it and a error is thrown. We dont know why it is going on.
I have a link to download the AUT to reproduce the issue. Windows (64 bits) and Mac.
http://mule-studio.s3.amazonaws.com/nightly/AnypointStudio-for-macosx-64bit-5.4.0-201510231204.zip
http://mule-studio.s3.amazonaws.com/nightly/AnypointStudio-for-win-64bit-5.4.0-201510231211.zip
Steps to reproduce:
1) Create a new mule project. (Screenshot 1)
2) Open the mule configuration file from the package explorer. (Screenshot 2)
3) Run the test.
ISSUE: Nothing appears to happen. You have to kill the test.
This bug is critical for us because it leaves more than 100 test unsuable.
If you need more information , feel free to contact me to make a Webex.
Mail: agustin.celentano@mulesoft.com.
Regards,
Agustín Celentano
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07423 seconds