Rich Blitz

Greenhorn
+ Follow
since Oct 18, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rich Blitz

Hi,

I currently am using Geb and Groovy to test a web-based application.  I have some pages defined and the toolbars are in a bunch of different modules.  How can I perhaps use delegation to have it know which toolbar is the active toolbar instead of having to reference the toolbar in the code in a way such as toolbarName.buttonName.click()

Ideally, I just want to give it a button name and have it know automatically which toolbar it is associated with... Rich
3 years ago
Hi,

I currently am using Geb and Groovy to test a web-based application.  I have some pages defined and the toolbars are in a bunch of different modules.  How can I perhaps use delegation to have it know which toolbar is the active toolbar instead of having to reference the toolbar in the code in a way such as toolbarName.buttonName.click()

Ideally, I just want to give it a button name and have it know automatically which toolbar it is associated with... Rich
3 years ago
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
3 years ago


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
3 years ago
Hi... I have a question relating to the Spock framework and Groovy

I'm relatively new to html and Spock.

Here is some of the html I am looking at:




I'd like to write a selector to pick out the line with the yellow background color which I think has: rgba(255, 255, 0, 0.3)
The problem is this yellow line can appear anywhere in the set of background-color lines.

So far what I have is:


which works ok if the yellow line is on the first line of the set.

Any ideas on how I can rewrite the selector to pick out the yellow line no matter where
it is in the set of html lines?

Thanks so much... Rich