will break you
out of the loop.
On Apr 14, 5:30 am, Chai Taolun ctco...@gmail.com wrote:
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
for help. Also that means less
chances for non-answers where say someone thinks 'testCase' is a class
and responds accordingly.
On Apr 12, 1:15 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
Thank you alex!
I got it. thank you so much.
allen
On Sun, Apr 12, 2009 at 9:00 AM, Alex Collins
).
Regards,
George
On Apr 12, 9:11 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
Thank you in advance. But I try this, It gives me an another error.
awat.rb:67: undefined method `set' for #Watir::Form:0x8dd6e10
(NoMethodError)
from awat.rb:54:in `each'
from
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 help? Thank you
infile.each{
|i|
thisLocation
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
, for example, File.join does exactly what we are doing above, but in
a platform-safe manner.
Alex
On 12 Apr 2009, at 02:57, Chai Taolun wrote:
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
Hi~
I got a other problem about the ruby run the php webpage.
Here is the thing: when I run the code, it gives me the error :in
`assert_exists': Unable to locate element, using :name, fahrenheit
(Watir::Exception::UnknownObjectException)
but in my php page. I do have the fabrenheit. I got so
at 10:41 PM, George george.sand...@gmail.com wrote:
Hello,
What code are you using to access the form?
On Apr 12, 7:34 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
I got a other problem about the ruby run the php webpage.
Here is the thing: when I run the code, it gives me the error
, George george.sand...@gmail.com wrote:
Are you just trying to insert text into a text_field, or are you
trying to access the form? If it's the latter, I believe you need to
use:
ie.form(:id, 'fahrenheit')
On Apr 12, 7:52 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
thank you for your
Hi~
Ruby is new to me and I got this problem in this code. Could you give me
some help? Thank you
infile.each{
|i|
thisLocation = folderLocation, i
print thisLocation
k =testCaseNumber
while k !=0
ie = Watir::IE.new
ie.goto(thisLocation)
and here is the error
10 matches
Mail list logo