[Qt-qml] Automated testing of QML/Qt ui: any idea?

a.grandi at gmail.com a.grandi at gmail.com
Mon May 16 02:10:01 CEST 2011


Hi all,

On 15 May 2011 12:33, a.grandi at gmail.com <a.grandi at gmail.com> wrote:
> Hi,
>
> On 13 May 2011 17:51, Thiago Marcos P. Santos <tmpsantos at gmail.com> wrote:
>> Hi,
>>
>> You can also use QtQuick Test which is basically a version of QtTest for
>> QML. Only thing that doesn't work properly now (like in QTest) is to
>> simulate dragging (mouse press + mouse move + mouse release).
>>
>> Cheers,
>>
>> http://qt.gitorious.net/qt-labs/qtest-qml

I've tried QtTest-Qml, following the instruction found on README and
on these slides:
http://agilesoftwaredevelopment.com/blog/artem/test-driving-qml
but I'm not able to use it.

Whenever I try to run the test file I get this error:

module "QtQuickTest" is not installed
     import QtQuickTest 1.0

I've used the same sample files used in the slides. It looks like
QtCreator cannot find qtest-qml once installed.
I've also tried to buil packages for Ubuntu (they're available here:
https://launchpad.net/~andreagrandi/+archive/unity-2d-tools )
but it doesn't work anyway.

How can I properly install and use qtest-qml ?!

Thanks for your help!

-- 
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it


More information about the Qt-qml mailing list