Hi Tunde,
Text you enter at text field is not included in ie.contains_text. To see
what is entered in text field you can use this.
ie.text_field(:name,/tb_FirstName/).value
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge
Hi Chris,
You might want to have a look at this for installing FireWatir or MAC OS X.
http://crasch.livejournal.com/550521.html
According to the troubleshooting section of this article, the error you are
getting is because of incorrect xpi.
Let me know if this helps.
Regards,
Angrez
On 5/3/07
Hi,
I'm looking to do the following,
attempt to enter text into a field where the max length is x, + one
character.
I've tried
ie.text_field(:name,/tb_FirstName/).set('PHHPL')
puts 'Name entered greater than 16 characters'
if ie.contains_text("PHHPL")
puts("Test Failed.
Hi Timm
I dont see any code that would do validations in the html you've supplied
you can also try this, which may help
$b.link(:id, "ownerToolbox_reportSale").click
$b.text_field(:id, "ownerToolbox_askingPrice").value="234567"
$b.radio(:id, "ownerToolbox_agent").set
$b.button(:name, "SubmitBu
Hi, I'm having a problem with a text_field. If I populate the value
with Watir, then submit, there is a validation that fails. However, I
can manually type in the same value and the validation passes.
Here's some HTML:
Tell us it's for sale
Close
Is This Home For Sale?
I've got jssh in place, and I can establish a connection on port 9997,
but all the unittest scripts (and my little spike) hang as if nothing
is going over the socket. Here's the stack trace after doing CTRL-C:
^C./../container.rb:842:in `recv': Interrupt
from ./../container.rb:842:in `re
Try adding the following line after creating the ie instance
ie.logger.level = Logger::ERROR
This will not show these warnings.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker
Sent: Wednesday, May 02, 2007 7:46 AM
To: wtr-general@rubyforge.o
On 5/2/07, Jason <[EMAIL PROTECTED]> wrote:
Perfect - that's exactly what I was after.
Cool.
Must have missed that in my tutorials and readings. Lovely.
:index is in the rdoc already, but :class and multiple attribute support
aren't there yet. I have started writing both up, and hope to
You're trying to write to what appears to be a frame not the textarea.
ie.text_field(:name, 'SN_NOTESSText').set('this should work')
-Charley
On 5/2/07, Imran Hussain <[EMAIL PROTECTED]> wrote:
Hi,
'Unable to locate object' problem
When running the following show_all_objects command, I g
Hi,
'Unable to locate object' problem
When running the following show_all_objects command, I get;
rb(main):016:0> ie.show_all_objects---Objects in page -
HTML Document name= id=SN_NOTESSFrame src=textarea
name=SN_NOTESSText id=
> You can also identify elements using multiple attributes, for example :class
> and :index :ie.div(:class => 'contentItem', :index =>
> 3) # access the 3rd div with a class of '
>
Perfect - that's exactly what I was after. Must have missed that in my
tutorials and readings. Lovely.
___
Try running the latest code from svn, there've been some changes around
dealing with frame access errors. Follow this link for the instructions:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem
-Charley
On 5/2/07, John <[EMAIL PROTECTED]> wrote:
Hi,
When you click on a link in my website an
On 5/2/07, Jason & Aneta <[EMAIL PROTECTED]> wrote:
Hey all,
Using the 1.5.1.1158 gem and enjoying the class support.
Within my web page, I have the following, with 3 nested inside
the main "content" .
How do I retrieve / act within the nth instance, i.e. the 1st,
Hi,
When you click on a link in my website an iframe is loaded in the middle of the
page. It seems watir has trouble with it, because it gives an error (see
below). I use this to click on the link: $ie.link(:url,
/club_philips_streamium_management/).click
It then returns this error:
irb(main):
Hey all,
Using the 1.5.1.1158 gem and enjoying the class support.
Within my web page, I have the following, with 3 nested inside
the main "content" .
How do I retrieve / act within the nth instance, i.e. the 1st, 2nd or
3rd of these "contentItem" divs?
Cheers,
Jaso
15 matches
Mail list logo