So I've been able to cast a string "Link" to a Firewatir::Link class by the following:
CastedObject = Object.const_get("FireWatir").const_get("Link").new(@ff,identifier,keyword) which in place of "Link" allows me, with of course enough validation, accept a dynamic string, ex. Link, Image etc. to allow me to facilitate some Keyword/datadriven testing... :-) My problem is, I am trying to implement this on SafariWatir. CastedObject = Object.const_get("Watir").const_get("Link").new(@safari,identifier,keyword) with @safari being @safari = Watir::Safari.new(); gives me this exception: EXCEPTION:uninitialized constant Watir::Link Is there an hierarchy issue I'm missing? Thanks!! -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com