Hi,

//
On 04/18/2011 05:21 AM, ext Tang, Shaofeng wrote:

Hi,

I meet a problem when I try to prepare my first cucumber scenario for a QML application.

It seems the QML app can't be invoked from cucumber scenario.

Below is the scenario I used.

/Scenario: Calculate 1+1/

/ Given I launch application "/home/Joey/workspace/TabletUX/calculator/calculator"/

/    When I tap qml button "1" in "grid"/

/    And I tap qml button "+" in "grid"/

/    And I tap qml button "1" in "grid"/

/    And I tap qml button "=" in "grid"/

/    Then In qml, I should see "2" in "display"/

/    And I close the application/

The first step is defined in the feature_common.rb of the distribution http://gitorious.org/tdriver/tests.git

And I define a qt-wrapper on //home/Joey/workspace/TabletUX/calculator/calculator /following the document http://doc.trolltech.com/4.7-snapshot/qmlruntime.html

And this wrapper work well from shell.

After the first step was executed, only a blank windows is shown.

The corresponding QML widget are missed.



So the qml application starts, but all you see is a white screen? Try to put the qml files in //home/Joey/workspace/TabletUX/calculator/calculator/qml

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

Reply via email to