Page 1 of 1

Drag and Drop support

Posted: Mon Dec 14, 2009 9:54 am
by balajichandan
Hi,
Does Ranorex 2.1.3 and 1.5 versions support Drag and drop functionality in Outlook 2003 and Outlook 2007

Re: Drag and Drop support

Posted: Mon Dec 14, 2009 1:39 pm
by Support Team
Ranorex 2.X as well as Ranorex 1.5 support drag & drop operations in every application, consequently also in Outlook 2003/2007.

You can easily check that by recording a drag & drop operation with Ranorex Recorder. The recorder should replay the operation just fine and should also generated code for you.

Regards,
Alex
Ranorex Support Team

Re: Drag and Drop support

Posted: Mon Feb 21, 2011 7:08 am
by shrutibhambri
I'm trying to Drag and Drop an email from Outlook 2010 inbox , to another Outlook folder.
But the item is not getting moved to the destination.
Strangely , if I move the mouse a bit(manually) when the code is executing, the action completes successfully. :?
Even the recorder shows the same problem.

Below is the snippet

Code: Select all

FormMicrosoftOutlook.Element4704.Click("X;Y");
FormMicrosoftOutlook.Element4704.MoveTo("X;Y");
Mouse.ButtonDown(MouseButtons.Left);
Delay.Milliseconds(6430);
Mouse.MoveTo(trNode.Element);
Mouse.ButtonUp(MouseButtons.Left);

Re: Drag and Drop support

Posted: Mon Feb 21, 2011 2:27 pm
by Support Team
Hi,

you can try to automate your application using our GDI plug-in.
You can find more information about this plug-in on following link:
Automation of Legacy Applications with the GDI Capture Plug-In

Regards,
Tobias
Support Team

Re: Drag and Drop support

Posted: Tue Feb 22, 2011 11:54 am
by shrutibhambri
I have Ranorex 2.1.2 , but GDI capture works only with works with version 2.3.4 and higher.

Surely, I did try GDI first with 2.1.2 (just in case I get lucky) – Did not work :(

Then I downloaded Ranorex trial version 2.3.5 , added the GDI pluggin.
But Outlook 2010 crashes when I try to use Ranorex Spy or recorder on the same.

Re: Drag and Drop support

Posted: Wed Feb 23, 2011 11:29 am
by Support Team
Hi,

can you provide us a detailed error description?
What was the exact error message popping up?
Have a look at Microsoft Event Viewer to get more information about the crash and post it here.
Are there any error messages or warnings in your report?

Regards,
Tobias
Support Team