Hi,

If you interested in your requirement then try this  --
http://www.yaml.org/YAML_for_ruby.html

On Mon, Sep 14, 2009 at 4:06 PM, msazeez28july <sabdulkha...@gmail.com>wrote:

>
> Hi,
>      We have watir scripts which requires url, username, password and
> path (location of the datatables).
>      These parameters are changing depends upon the server where
> application is deployed.
>      I would like to put these information inside a .txt file like
> belo
>      url = http://198.44.23.11/DemoApplication.WebUI
>      username = admin
>      password = adm...@#
>      path = D:\Watir\WatirScripts
>
>       Now i need to access the above .txt file using watir scripts
> like open file, read line by line and store each word in a array then
>       use array elements to get exact values for each parameters and
> store it on respective variables to use inside scripts.
>
>      Could you please let me know, whether we can able to open a file
> and read line by line using watir scripts. Does watir has class
> or
>      library to support file open in read/write/append modes.
>
>      Please let me know. Thanks in advance.
>
> Regards
> Syed
> >
>


-- 
Regards,
P.Raveendran
http://raveendran.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to