2017 up to now  | 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] 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