Copy with drag & drop

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Copy with drag & drop

Postby Steffen8708 » Mon Mar 09, 2009 2:50 am

Hi,

i'm trying to copy via drag & drop in a tree. I used the following line:
Code: Select all
ui.dragTo(new TreeItemLocator(toItem, treeLocatorTo), WT.CTRL);


Unfortunately, this does not work. The items that should be copied are just moved to the target item.

Is this the correct code for copying via drag & drop?

Best regards,
Steffen
Steffen8708
 
Posts: 29
Joined: Tue Nov 04, 2008 7:11 am

Re: Copy with drag & drop

Postby Phil Quitslund » Mon Mar 09, 2009 9:31 am

Hello Steffen,

This sounds like a bug. Could you please open a ticket by sending a mail to support?

wintest-support@instantiations.com

In the meantime, would a work around using Edit menu actions be a sufficient work-around?

Thanks!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: Copy with drag & drop

Postby Steffen8708 » Tue Mar 10, 2009 12:36 am

No, I want to test the copy drag & drop behavior.

Steffen
Steffen8708
 
Posts: 29
Joined: Tue Nov 04, 2008 7:11 am

Re: Copy with drag & drop

Postby Phil Quitslund » Wed Mar 11, 2009 1:40 pm

Fair enough. This is good to know. Thanks.
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest