Hi, Zeljko, In my company, one colleague wants to define all the page element in the yaml file, so there are only string in the xxx.yaml, such as: $ie.link(:id, xxx).click; $ie.button(:name, hhh).click_no_wait
Then, he would like to read the string, then execute them. So, any way to achieve that? Thanks. Wesley Chen. On Mon, May 25, 2009 at 7:00 PM, Željko Filipin < [email protected]> wrote: > On Mon, May 25, 2009 at 12:56 PM, Wesley Chen <[email protected]> wrote: > > str1="$ie.goto('www.google.com')" > > exec(str1) > > Why are you doing that? Why not just this? > > $ie.goto('www.google.com') > > > Željko > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
