After recording in RCPTT, I have the following script:
get-editor "test.c" | get-text-viewer | get-property "markers['31'][0].Type"
| equals "text-to-verify" | verify-true
markers['31'][0].Type
has value from markers['0'][0].Type
- markers['45'][0].Type
and the numbers are dynamic.
I want to check that any of marker type contain the specific value or not.
But I can't by using .*
or foreach
.
How can I solve this problem?