Test few instances of application

Ask general questions here.
FelixK90
Posts: 5
Joined: Fri Nov 27, 2015 3:16 am

Test few instances of application

Post by FelixK90 » Wed Dec 02, 2015 5:24 am

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Test few instances of application

Post by odklizec » Thu Dec 03, 2015 9:01 am

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".
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration