List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


[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/fr/bibliotheque-standard.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/fr/bibliotheque-standard.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