[Interest] Query for qml testing

Tony Rietwyk tony at rightsoft.com.au
Tue Apr 3 07:27:53 CEST 2018


Hi Himanshu,

You have a lot of code.  If you are setting the value in qml, why do you 
need to ask how to get the value?  Can you be more specific - where are 
you setting the value?  What test framework are you using that needs to 
read it?

Regards, Tony


On 3/04/2018 2:02 PM, Himanshu Vishwakarma wrote:
> Hi,
>
> I am doing the unit testing of a qml file
> https://github.com/gcompris/GCompris-qt/tree/master/src/activities/balancebox/editor
> In this file, I want to test the behaviour of change the border.color
> of Rectangle, while OnClicked on the Rectangle.
>
> My question is, Is there is any method to get return the border.color value
> of a rectangle in qml??
> OR
> What are the methods by which I can test this file??
>
> Please help me!!
>
> Thanks!!




More information about the Interest mailing list