2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2016


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] QF-Test drag&drop from Windows


  • Subject: Re: [QF-Test] QF-Test drag&drop from Windows
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 08 Apr 2016 06:46:01 +0200

Hi Justyna,

there is a procedure in the standard test-suite library qfs.qft to do
just that: qfs.utils.dragAndDrop:

https://www.qfs.de/include/qfs_pkgdoc/qfs_pkgdoc.html#qfs.utils.dragAndDrop

As you can see, both source and target can be either a component or
screen coordinates.

This requires consistent setup of the testing environment, of course,
so that screen and SUT are laid out so that the SUT windows don't hide
the source icon and you can actually perform the operation.

To locate an image on the screen precisely you may want to use the
procedure qfs.autoscreen.screen.getPositionOfImage

https://www.qfs.de/include/qfs_pkgdoc/qfs_pkgdoc.html#qfs.autoscreen.screen.getPositionOfImage

Best regards,
    Greg


"LISOWSKA, Justyna" <Justyna.LISOWSKA@?.com> writes:

> Hi,
>
> hello once more  J I have another question: is there any possibility to test drag and drop operation from Windows
> system to our tested system? It is just putting file from Windows for example Desktop to our tested application. Or is
> there any other way, how this situation could be simulated?
>
> Thanks a lot for your help !
>
> Z wyrazami szacunku / Best Regards
>
> Justyna Lisowska
> MTU Aero Engines Polska Sp. z o. o.
> Tajęcina 108
> 36 - 002 Jasionka
> Polen
>
> Tel +48 17 7710 311
> mailto:justyna.lisowska@?.com
> http://www.mtu.de

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 8171 38648-11
F: +49 8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833