Hi~
Thank you for your advice. It really help me a lot in the coding.
This code is the first real ruby code I write. But seems ruby is so
unfriendly to me. I just can not get it right.
depressing thing...
allen
On Tue, Apr 14, 2009 at 2:31 PM, Chuck van der Linden sqa...@gmail.comwrote:
Hi~ Chuck
Thank you for your advice. That is good for me.
I already add the ie.close in the while loop.
And I change the code a little bit. Is this seems ok?
I don't know ruby and network develop much, so I may made some mistakes.
require 'watir'
require 'win32ole'
require 'thwait'
inputfile =
Seems that now we are down to not 'seeing' the text field, we have
duplicate threads, so we might be best off to pursue that in the other
thread, where there's a series of questions for you
Secondly, general coding thing.. don't obscure the exit condition of
the while loop, it makes the code
Hi~
Sorry, this is not like that, I want to visit some webpage using the name I
store in the text file.
I need to find a way to do this.
Thank you
allen
On Sat, Apr 11, 2009 at 1:22 PM, kiran gki...@gmail.com wrote:
Hi,
I think problem with folder path.
suppose if we want open a file
Hi~
Thank you.
I already check this. It is working fine.
here is the entire source code.
require 'watir'
require 'win32ole'
require 'thwait'
inputFile = C:\\codework\\watir\\Qian\\in.txt
logfile = C:\\codework\\watir\\Qian\\logfile.txt
testCaseFile = C:\\codework\\watir\\Qian\\Book1.xls
#def
I believe that the issue is that you are passing in an Array into
goto, when it expects a string:
http://wtr.rubyforge.org/rdoc/ - look at the Watir::IE class' goto
method.
You create an array on the following line:
thisLocation = folderLocation, i
Explicitly stated, you can read this as:
Hi~
Thank you alex!
I got it. thank you so much.
allen
On Sun, Apr 12, 2009 at 9:00 AM, Alex Collins a.j.collins...@gmail.comwrote:
I believe that the issue is that you are passing in an Array into goto,
when it expects a string:http://wtr.rubyforge.org/rdoc/ - look at the
Watir::IE class'
Hi,
I think problem with folder path.
suppose if we want open a file located in D:\watir
The statement for watir
ie.goto(D:\\watir)
it would help you.
On Apr 11, 12:15 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
Ruby is new to me and I got this problem in this code. Could you give me
some