Florian_Hofmann
11 years agoContributor
Drag&dropping Items reverses their order (organize tests view)
Hi everyone,
I hope I didn't miss any articles or discussions about it, as I encountered some behaviour I'd like to understand.
I'm new to TestComplete, so I always find new views, buttons, and other stuff that helps me a lot at organizing my tests better. One such view is "organize tests" (which can also be reached by Ctrl-Alt-T). There I encountered st. I don't understand:
I create 5 items, lets call them 1, 2, 3, 4 5, in this order.
Now if I select Item 1-3 and drag&drop them below item 5, they end up in the "reversed" order, so the order of all items is now 4,5,3,2,1.
The same happens if I put them into a folder: In some (almost) real example, I decided that items 1-3 together actually build some coherent sequence of steps, so I create a folder "initial steps" and want to put them in there. However, selecting all three items and drag&dropping them into the folder (i.e. moving them where a blue triangle shows up) puts them there in the wrong order...."wrong" as far as I'm concerned, since quite obviously I want to keep the order.
Now I have two questions:
1) Is this behaviour intended, and for which cases?
2) How can I keep the order when moving around multiple items?
Thx in advance,
Florian Hofmann
PS: When I move the items up the list, I seem to be somehow able to control the order...if, at same initial ordering 1-5, I select items 3-5 and drag&drop them above item 1 by clicking item 4, they end up in the same order (resulting in 3,4,5,1,2). When moving them by clicking item 3 or 5, the order will be reversed. And this seems to be only true for moving items up in a list, moving them down always seems to reverse the order.
Maybe I'll find out more details by trying around...and of course I might fin a "solution" in moving them around one by one...but I'm still curious in what's going on.
I hope I didn't miss any articles or discussions about it, as I encountered some behaviour I'd like to understand.
I'm new to TestComplete, so I always find new views, buttons, and other stuff that helps me a lot at organizing my tests better. One such view is "organize tests" (which can also be reached by Ctrl-Alt-T). There I encountered st. I don't understand:
I create 5 items, lets call them 1, 2, 3, 4 5, in this order.
Now if I select Item 1-3 and drag&drop them below item 5, they end up in the "reversed" order, so the order of all items is now 4,5,3,2,1.
The same happens if I put them into a folder: In some (almost) real example, I decided that items 1-3 together actually build some coherent sequence of steps, so I create a folder "initial steps" and want to put them in there. However, selecting all three items and drag&dropping them into the folder (i.e. moving them where a blue triangle shows up) puts them there in the wrong order...."wrong" as far as I'm concerned, since quite obviously I want to keep the order.
Now I have two questions:
1) Is this behaviour intended, and for which cases?
2) How can I keep the order when moving around multiple items?
Thx in advance,
Florian Hofmann
PS: When I move the items up the list, I seem to be somehow able to control the order...if, at same initial ordering 1-5, I select items 3-5 and drag&drop them above item 1 by clicking item 4, they end up in the same order (resulting in 3,4,5,1,2). When moving them by clicking item 3 or 5, the order will be reversed. And this seems to be only true for moving items up in a list, moving them down always seems to reverse the order.
Maybe I'll find out more details by trying around...and of course I might fin a "solution" in moving them around one by one...but I'm still curious in what's going on.