← Back to team overview

ubuntu-phone team mailing list archive

Autopilot: Get dynamic elements contained within a ListView

 

Hi,

I need to write some tests that operate on ListViews. The contents are
dynamic (some of the models are QAbstractTableModels from C++, even) so
I cannot address the items by objectName.

How can I get at these? I can select the ListView itself, but I don't
see any way to get a list of elements in the model. I can use the
unreleased emulator for now, if that's necessary.

Thanks,

-- 
Iain Lane                                  [ iain@xxxxxxxxxxxxxxxxxxx ]
Debian Developer                                   [ laney@xxxxxxxxxx ]
Ubuntu Developer                                   [ laney@xxxxxxxxxx ]

Attachment: signature.asc
Description: Digital signature


Follow ups