Hello there,
I'm just investigating the WindowTester. And I after playing around for a while a question regardind the "Inspector" came to my mind.
Wouldn't it be possible to inspect and add assertions based on the properties of the underlying widget? E.g using the Inspector on a text control the Isnpector should show up with possible choices like:
[] hasLength
[] hasText
[] ...
For a grid it should show up with e.g:
[] hasRecordCount
CellItem of a grid (n,m):
[] hasValue
[] isEnabled (in inline editing mode)
[] isDisabled (in inline editing mode)
Wouldn't you think extending the inspector would be quite handy, in order to reduce the amount of manually added assertions?
Is it possible to contribute own Conditions via ExtensionsPoints?
Regards,
Peter