#23 open
Chuck van der Linden

Add "language config" variable, support in page files

Reported by Chuck van der Linden | April 6th, 2009 @ 03:55 PM | in Backlog

Per discussion on the Yahoo group,

I think we could do this as follows:

  1. Add a config variable "language"

  2. Pages would look like this.

class HomePage < Taza::Page

#language in-sensitive stuff here

element(:signout) {browser.link):id, 'signout')}

#language sensitive stuff goes in here

case $language

when 'en'
  element(:eggplant){browser.button(:value, 'Eggplant')}
when 'fr'
  element(:eggplant){browser.button(:value, 'Aubergine')}

end end

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for web testing.

Shared Ticket Bins

People watching this ticket

Pages