Drag and Drop support : Automation API

Drag and Drop support

Class library usage, coding and language questions.

Drag and Drop support

Postby balajichandan » Mon Dec 14, 2009 10:54 am

Hi,
Does Ranorex 2.1.3 and 1.5 versions support Drag and drop functionality in Outlook 2003 and Outlook 2007
balajichandan
 
Posts: 24
Joined: Tue Apr 14, 2009 1:29 pm

Re: Drag and Drop support

Postby Support Team » Mon Dec 14, 2009 2:39 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Drag and Drop support

Postby shrutibhambri » Mon Feb 21, 2011 8:08 am

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);
shrutibhambri
 
Posts: 2
Joined: Fri Feb 18, 2011 11:27 am

Re: Drag and Drop support

Postby Support Team » Mon Feb 21, 2011 3:27 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Drag and Drop support

Postby shrutibhambri » Tue Feb 22, 2011 12:54 pm

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.
shrutibhambri
 
Posts: 2
Joined: Fri Feb 18, 2011 11:27 am

Re: Drag and Drop support

Postby Support Team » Wed Feb 23, 2011 12:29 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests