From: John John gouda Date: 2009-04-09T17:48:49+09:00 Subject: Ruby & Watir Hey guys, It's the first time to use ruby, I'm .Net developer I'm using ruby and watir to create automated test for my web site, I have many sections in my web site, for instance i have a sign-up wizard, create people, contacts, groups, etc... I making file for each section, the first file "Create Account.rb" open the browser and create the account for me, I'm using random number generator to generate email address and data to be entered. When that file end, I open the 2nd file to test the 2nd section which is create person. My question now, I need to share some data between files, Like the email address created, I need to share these data between many files. how can I share these data, like making global variables that shared between n files, if not possible can I write these data to file and read it again when needed and how to do this? Another question, each file need to create a new instance of IE, i need to use the current window opened, how? how to share the IE object among files? Many thanks! -- Posted via http://www.ruby-forum.com/.