• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

How can I have Groovy/Geb know which toolbar in my application is the current/active toolbar

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Onion rings are vegetable donuts. Taste this tiny ad:
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic