List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


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

Re: [QF-Test] File upload with Uploadify


  • Subject: Re: [QF-Test] File upload with Uploadify
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Tue, 12 Jul 2016 16:50:32 +0200


Hello Nadia,

thank you for the log files. It seems we have to deal with the usual
Windows Open dialog. To select a file you can use a 'Server script' like
the following one:


import autowin

titleRe = ".*ffnen|Open"
btnTitleRe = ".*ffnen|Open"
fileName = "c:\\temp\\test.txt"

wnd = autowin.waitForWindow(5000, titleRe, True)
if not wnd:
    raise UserException('The window "%s" did not appear' %titleRe)
edits = autowin.findChildWindows(wnd, clazz="Edit")
if len(edits) == 0:
    raise UserException("No edit")
edit = edits[0]
autowin.setWindowText(edit, fileName)
btns = autowin.findChildWindows(wnd, btnTitleRe, True, "Button")
if len(btns) == 0:
    raise UserException('Button "%s" not found' %btnTitleRe)
autowin.doClick(btns[0], 10, 10)


The variable fileName must be adapted, of course. If needed, the regular
expressions for the titles too.


Best regards,
    Robert



Am 08.07.2016 14:55, schrieb Robert Lahmer, QFS support:

Hello Nadia,

that dialog is most likely a native one which is not handled by the
QF-Test web engine. Please send a run-log file (.qrz or .qzp) from the
sequence


   +... // open and wait for the dialog
   +Call procedure: qfs.autowin.logChildWindows
       titleRe: <a regular expression for the dialog title>
   +SUT script: make a screenshot
       Code: rc.logError("dummy")


to the QF-Test support address (not to the mailing list). We'll see what
can be done.


Best regards,
     Robert



Am 07.07.2016 10:11, schrieb Nadia Stolz:
Hi,

I'm currently stuck with following issue:

We're using Uploadify flash version (see uploadify.com) for file upload
in our web application (with Firefox). Unfortunately, it seems QF-Test
does not recognize the newly opened window with file chooser. Even
QF-Test helper dialog for file upload will not appear.

Any ideas how to handle this?

Thanks in advance.

With kind regards / Mit freundlichen Grüßen

Nadia Stolz

Software Test

------------------------------------------------------------------------

iso

saveatree

*Sitz der Gesellschaft und Amtsgericht Friedberg, Reg.Nr. HRB 6148,
USt-ID: DE 244 899 218 - Geschäftsführer Achim Beckmann, Susanne
Beckmann*

Die Information in dieser E-Mail ist vertraulich und kann dem
Berufsgeheimnis unterliegen. Sie ist ausschließlich für den Adressaten
bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als
den Adressaten ist untersagt. Sollten Sie nicht der für diese E-Mail
bestimmte Adressat sein, ist Ihnen jede Veröffentlichung,
Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen
von Maßnahmen im Vertrauen auf erlangte Information untersagt. In dieser
E-Mailenthaltene Meinungen oder Empfehlungen unterliegen den Bedingungen
des jeweiligen Mandatsverhältnisses mit dem Adressaten.



_______________________________________________
qftest-list mailing list
qftest-list@?.de
https://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 8171 38648-20
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