• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
  • 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
 
author & internet detective
Posts: 39459
768
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't follow. I think you are going to need to show some code.
 
It runs on an internal combustion engine. This ad does not:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!