Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a question... I'm getting started with Geb and Groovy....
If I have a table of transactions with each row containing about 5 or 6 fields,
and say I have a module that involves each transaction row...
I'm trying to think of a way using moduleList that I can somehow
identify a transaction in the table reliably without using row numbers
and without using fields from the table (which I modify in the tests)....
My goal is when I'm working with a transaction and the table of transactions
gets sorted... then I can find the same transaction in the sorted table easily...
It's a little bit of a puzzle.... Rich

What I have tried:

transactionRow { rowNumber -> $( '.tt-Table-row').has('td.tt-Cell--Number', text: rowNumber as String).module(TransactionRow) }
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900