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] QFTest for flash based applications


  • Subject: Re: [QF-Test] QFTest for flash based applications
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Wed, 20 May 2015 22:30:28 +0200


Hello Soumya,

you are right, QF-Test does recognize only the embedded OBJECT element
but none of the Flash components. So you are restricted to using hard
mouse events relative to the OBJECT element. Instead of working with
fixed mouse coordinates, you may prefer an image based approach as shown
in the qfs.qft package 'qfs.autoscreen.screen'.

Regarding text input and key events, please try out the following:

- Play back a hard mouse click on the OBJECT element to set the keyboard
focus

- Play back hard key events by using a 'Server script' node like so:


from de.qfs.apps.qftest.shared.system import Native
from java.awt.event import KeyEvent

native = Native.instance()
# Text
native.textInput("Abc")
# Tab and new line
native.textInput("\t\n")
# Ctrl-A
native.charInput("A", 0, KeyEvent.CTRL_MASK)
# Single keyboard events
native.keybdEvent(KeyEvent.VK_CONTROL, native.KEYDOWN)
native.keybdEvent(KeyEvent.VK_HOME, native.KEYDOWN)
native.keybdEvent(KeyEvent.VK_HOME, native.KEYUP)
native.keybdEvent(KeyEvent.VK_CONTROL, native.KEYUP)



Best regards,
    Robert



Am 19.05.2015 08:48, schrieb Bhat, Soumya (Nokia - IN/Bangalore):
Hi,
We are using qftest 4.0.5 version. QFtest right now supports only click
at image option for flash based applications. Do you have any plans to
include more procedures, atleast Text Input and Key Event? If yes, by
when it will be available?
Regards
Soumya


_______________________________________________
qftest-list mailing list
qftest-list@?.de
http://www.qfs.de/mailman/listinfo/qftest-list

--
_______________________________________________________________

Get the most out of QF-Test - Support directly from the authors
* Training & consulting: www.qfs.de/en/qftest/training.html
* Phone & email support: www.qfs.de/en/qftest/support.html
_______________________________________________________________

Robert Lahmer
Development & Support

E: support@?.de
T: +49 (0)8171 38648-20
F: +49 (0)8171 38648-16

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