On Apr 16, 8:20 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
Thank you for all the help.
I got the problem, it is cause by the php...
allen
That's good news. Just in case someone else finds themselves in the
same situation, what did the answer end up being?
Hi~
Thank you all for the advice.
However, My problem still not settle.
this is the information that IE developer toolbar shows.
file:///C:/Users/Ctcoo/Desktop/QQ%E6%88%AA%E5%9B%BE%E6%9C%AA%E5%91%BD%E5%90%8D.bmp
I trid
ie.text_field(:name, fahrenheit).set(arg1.to_s)
ie.text_field(:id,
If you're trying to attach an image, I wasn't able to see it...
On Apr 14, 5:44 am, Chai Taolun ctco...@gmail.com wrote:
Hi~
Thank you all for the advice.
However, My problem still not settle.
this is the information that IE developer toolbar shows.
I think Chuck is on to something...the text field is probably located
in another frame. Try using ie.show_frames, then identify which frame
holds the field. Then use something like:
ie.frame(:index, 2).text_field(:id, 'fahrenheit').flash
On Apr 14, 10:00 am, Chuck van der Linden
Open IE developer toolbar . Download from this following link
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en
And make sure the field which your are testing has the right id or name
which your are inserting in syntax.
And use syntax :
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 :in
`assert_exists': Unable to locate element, using
Hi~
thank you for your help
The code I use is in here
ie.textField(:name, fahrenheit).set(arg1.to_s)
ie.button(:value, transfer).click
if ie.contains_text(ans.to_s)
fileHandle :::Passed\n\n
else
fileHandle :::failed\n\n
end
Thank you
Allen
On Sun, Apr 12, 2009 at
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 help
The code I use is in here
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 awat.rb:54
so how can I input the data in this webpage?
Thank you
Allen
On Sun, Apr 12, 2009 at 11:28 PM,
Have you tried using the IE Developer Toolbar to correctly identify
the element on your page? This should help you insert the data into
the text field (if that is what you're trying to do).
Regards,
George
On Apr 12, 9:11 pm, Chai Taolun ctco...@gmail.com wrote:
Hi~
Thank you in advance.
10 matches
Mail list logo