List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


[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/standardbibliothek.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/standardbibliothek.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