[Qt-qml] Automated testing of QML/Qt ui: any idea?
Thiago Marcos P. Santos
tmpsantos at gmail.com
Mon May 16 06:02:30 CEST 2011
Hi,
QtQuickTest is not installed by default with Qt devel tools. You have to
install it yourself.
Grab the sources here:
http://qt.gitorious.net/qt-labs/qtest-qml
And follow the instructions here:
http://qt.gitorious.net/qt-labs/qtest-qml/blobs/master/README
Cheers,
On Mon, May 16, 2011 at 3:10 AM, a.grandi at gmail.com <a.grandi at gmail.com>wrote:
> 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<https://launchpad.net/%7Eandreagrandi/+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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110516/1f9a28f2/attachment.html
More information about the Qt-qml
mailing list