Is there a NOT operator in calabash query syntax? -
the title pretty covers question. how can (for instance) obtain textview elements ids not contain "some_prefix"? can obtain textview elements , iterate on them, kicking out ones don't (and will), i'd rather have clear query me.
it's inefficient, can do:
query("android.widget.textview") - query("android.widget.textview {id contains[c] 'some_prefix'}")
the first query
gets set of textviews, excludes contain 'some_prefix' returned in second query
.
Comments
Post a Comment