The Ruby IO and File classes contain untold goodies.   I'd suggest
reading up on them:

http://www.ruby-doc.org/core/classes/File.html
http://www.ruby-doc.org/core/classes/IO.html

Hope it helps.

orde


On Jun 3, 7:49 am, Adam Reed <reed.a...@gmail.com> wrote:
> With respect, file manipulation is a basic feature of Ruby.  WATIR is
> a testing library/tool that makes use of the basic built-in Ruby
> functionality.  That is the distinction that is being made.
>
> In your case, you would need to design a way to locate the Order Id,
> temporarily assign that value to a variable, open or create a text
> file, and finally write this value to the file.
>
> Which step in that process are you having difficulty coding?
>
> Thanks,
> Adam
>
> On Jun 3, 9:17 am, meaculpa <harismah...@gmail.com> wrote:
>
>
>
> > Its WATIR specific only. And This is not a blanket request for help.
>
> > Everyone in this forum are having experience and they are not just
> > NOOBS. So they can surely understand what i mean... Also After
> > googling only I post here...
>
> > I believe this group is mainly for helping each other than creating
> > specific rules !!!
>
> > I accept that my question was little.
>
> > My actual problem is :
>
> > From a webpage I get a Order Id. I want to save that in a notepad. I
> > googled and didnt find any help.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to