Let's continue this on meego-qa only.
Shaofeng, Do you have an image available that I could test this out?
By default TDriver will send both, a mouse event and a touch event, and
you can configure which combination is used. You can also configure it
to send a X Event. When you are tapping a gesturearea, it will actually
send the event what ever is on top in that coordinate in the view.
- What version of qttas-server are you using? If not already, please try
with 1.2.0, it has changes in the touch event generation that might have
an impact on this. (I just pushed it to devel:quality, let's hope the
build avalanche ends soon)
- Looking at the code, I see that in the qml you still have the mouse
area defined, are you sure the event is not going there? Try
tap(:use_tap_screen => 'true'). This would send the event via X events.
On 06/23/2011 05:26 AM, ext Tang, Shaofeng wrote:
Hi Rusty
I am not familiar with the Qt event, but I check the API of TDriver
http://projects.developer.nokia.com/dav/Testabilitydriver/doc/api/qt_meego/#QtSUT:set_event_type
It seems TDriver support both of them.
But I also try the "Touch" event in my script, it doesn't work.
Maybe some TDriver expert could help. Petri or Tatu?
BR, Shao-Feng
-----Original Message-----
From: Lynch, Rusty
Sent: Thursday, June 23, 2011 10:17 AM
To: Tang, Shaofeng
Cc: [email protected]; [email protected];
[email protected]
Subject: Re: [MeeGo-dev] A problem to click the GestureArea via TDriver API.
Looking through all that i'm still not seeing anything that stands out
and says it actually sends touch events instead of mouse events. These
are two different subsystems in Qt.
On 06/22/2011 07:04 PM, Tang, Shaofeng wrote:
Hi Rusty,
Yes, TDriver is a generic driver which provides access to Qt software for test
automation harnesses. For more information, you can refer to its' WIKI
https://projects.developer.nokia.com/Testabilitydriver/wiki/introduction_to_tdriver
and for testing our MeeGo QML application, we are also preparing the
auto-ux-testlib.
Till now, 16 automatic BAT test cases for meego-ux-settings, meego-app-browser,
meego-app-im and meego-app-emails are implemented and tested on pinetrail image
which was built on May 17.
If you are interested in it, they are available on
https://meego.gitorious.org/meego-quality-assurance/auto-ux-testlib
also a WIKI page is available on
http://wiki.meego.com/Quality/QA-tools/QmlUITestlib
Currently, when I try to update them for the latest pinetrail image built on
Jun 17, all of them are blocked by the GestureArea except a test case for
meego-app-calculator.
I suppose MouseArea is still used in calculator, so.
Best Regards
Shao-Feng
-----Original Message-----
From: Lynch, Rusty
Sent: Wednesday, June 22, 2011 10:29 PM
To: Tang, Shaofeng
Cc: [email protected]; [email protected];
[email protected]
Subject: Re: [MeeGo-dev] A problem to click the GestureArea via TDriver API.
On 06/22/2011 01:57 AM, Tang, Shaofeng wrote:
Hello Petri, and all QML experts
We meet a problem to click the GestureArea via TDriver API( all of tap,
long_tap, and hold don't work for GestureArea).
Could you give us some suggestion for it?
Does this TDriver send touch events? Are you able see any of the Qt
examples for gestures work?
--rusty
_______________________________________________
MeeGo-qa mailing list
[email protected]
http://lists.meego.com/listinfo/meego-qa
_______________________________________________
MeeGo-qa mailing list
[email protected]
http://lists.meego.com/listinfo/meego-qa