Hi Petri,

Firstly, thanks for figuring out how to use the attribute "objectName".
However the attribute "objectName" wasn't assigned in the source codes of the 
Tablet UX app, only the "id" attribute is available.
So it will help a lot, if the attribute "id" of QML widget could be used in 
Auto-UI test. Otherwise some extra efforts from developer are needed.

At the same time, I also read your patch for the "id" issue 
https://qt.gitorious.org/qt/qt/merge_requests/2592 in which only a method for 
getting "id" was involved. 
My question is if the id will be visible in TDriver, if we merge your patch by 
ourselves and re-compile the corresponding Qt package?
Are you sure the method in patch will invoked in the current TDriver?
If yes, we will have a workaround for running Auto-UI test for the current 
Tablet UX.


Best Regards
Shao-Feng

-----Original Message-----
From: Petri Kiiskinen [mailto:petri.kiiski...@jidokatech.com] 
Sent: Monday, April 04, 2011 4:07 PM
To: Tang, Shaofeng
Cc: Härkönen Timo; meego-qa@lists.meego.com
Subject: Re: [Meego-qa] TDriver fail to extract the name of QML widgets.

Hi,

We haven't created a bug to Qt about this. There might be existing bug about 
that already. If not we can create a new one and then attach the link to the 
merge request providing the patch.

I will reply once I know the id for the bug.


 Petri

On 2.4.2011, at 10.18, Tang, Shaofeng wrote:

> Hi Patri,
> 
> Yes, I get the latest version of TDriver from Gitorious.
> Firstly, I am sure the "objectName" was defined in QML app, and not visible 
> in visualize.
> Secondly, did you file a bug for the id issue? if yes, could you give us the 
> bug_id? I want to trace this bug too.
> 
> Thanks & Best Regards
> Shao-Feng
> 
> -----Original Message-----
> From: Petri Kiiskinen [mailto:petri.kiiski...@jidokatech.com] 
> Sent: Saturday, April 02, 2011 2:55 PM
> To: Tang, Shaofeng
> Cc: Härkönen Timo; meego-qa@lists.meego.com
> Subject: Re: [Meego-qa] TDriver fail to extract the name of QML widgets.
> 
> Hi,
> 
> You seem to be using development version from trunk. This is the first 
> version where we highlight the objects that do not have objectName defined.
> 
> In QML if you have defined attribute "objectName" for your object then it 
> should be visible in the visualizer too. Attribute "id" will not be visible 
> as in Qt code that is not transferred to an attribute of QObject created by 
> Qt. For this id issue we actually have created a patch to Qt and hope they 
> will accept it so that we could present also the "id" attribute in the future 
> as it will be useful for test automation.
> 
> We'll double check the QML "objectName" is working before we release 1.1.1 
> (release is planned next week) as that might be broken in the trunk currently 
> due to the latest changes.
> 
> 
> Petri
> 
> 
> On 2.4.2011, at 9.12, Tang, Shaofeng wrote:
> 
>> Hi Timo,
>> 
>> Thanks to your reply.
>> Before file a bug, I still have a question.
>> Are you sure the bug is in TDriver? I am thinking, probably, the qmlviewer 
>> could cause this issue.
>> 
>> Do you insist I should file this bug on TDriver?
>> 
>> 
>> Thanks & Best Regards
>> Shao-Feng
>> 
>> -----Original Message-----
>> From: Härkönen Timo [mailto:timo.harko...@digia.com] 
>> Sent: Saturday, April 02, 2011 12:00 PM
>> To: Tang, Shaofeng; meego-qa@lists.meego.com
>> Subject: VS: TDriver fail to extract the name of QML widgets.
>> 
>> Top posting from OWA
>> 
>> tdriver supports QML. Please file a bug in bugs.meego.com against it. 
>> (https://bugs.meego.com/enter_bug.cgi?product=MeeGo%20Quality%20Assurance -> 
>> TDriver)
>> 
>> -Timo
>> ________________________________________
>> 
>> Hi,
>> 
>> When I used TDriver, I meet a problem to see the name or objectName of 
>> widget for QML application.
>> The snapshot of tdriver_visualizer is enclosed. You can see no name of QML 
>> widget is available from qttas-server.
>> And I am sure that the attributes "id", and "objectName" of the 
>> corresponding QML widgets are already assigned.
>> 
>> Does it mean the qttas-server doesn't support QML application? for time 
>> being?
>> If yes, is there a schedule of qttas-server for supporting QML application?
>> 
>> Thanks & Best Regards
>> Shao-Feng
>> _______________________________________________
>> MeeGo-qa mailing list
>> MeeGo-qa@lists.meego.com
>> http://lists.meego.com/listinfo/meego-qa
> 

_______________________________________________
MeeGo-qa mailing list
MeeGo-qa@lists.meego.com
http://lists.meego.com/listinfo/meego-qa

Reply via email to