i am doing automated testing using calabash-ios. I want to be able to run cucumber once and have it run x times for x user names and run through the gamut of test scenarios.
i want to use this:
Given I login as [#{country-name}] user using id [#{Login-name}] and pwd "PASSWORD" and have a global variable that can store the values for both country and user name.
i had hoped to use scripts to run cucumber x times and set the value for the global variables each time. is this possible? and if so, could someone point me in the right direction?
i tried using : @@Loginname=value but got this error: features/step_definitions/common.rb:1: warning: class variable access from toplevel uninitialized class variable @@Login in Object (NameError)
failing which, will it be possible to access data stored in a xml or css file using calabash?