Page 1 of 1

Test few instances of application

Posted: Wed Dec 02, 2015 5:24 am
by FelixK90
Hi Everyone,

I am testing desktop application which can have few instances running same time. I need to test drag and drop of object from some instance of application to another one.
The difference between two instances as follow:

Code: Select all

// First form instance
'/form[@title~$FormTitle and @instance='0']'
// Second form instance
'/form[@title~$FormTitle and @instance='1']'
I need to perform drag-and-drop operation between two instances of application.
Can somebody give suggestion to how handle it? Pls.

Thanks,
Felix.

Re: Test few instances of application

Posted: Thu Dec 03, 2015 9:01 am
by odklizec
Hi Felix,

In Ranorex, the Drag&Drop operation can be achieved by the sequence of Mouse Down -> MoveTo -> Mouse Up actions. Drag&Drop operation is better to create manually as recording may not catch the individual steps properly.

Here are couple of posts about creating Drag&Drop actions...
http://www.ranorex.com/forum/drag-and-d ... t8565.html
http://www.ranorex.com/forum/how-to-per ... -t856.html
http://www.ranorex.com/forum/not-record ... tml#p15099
http://www.ranorex.com/forum/drag-and-d ... t1137.html
These should give you an impression how to handle D&D operation in your test. I'm sure you can find some more via "search".