Hello All--
I'm trying to fill a form which has a series of default date values (
call it-- get_next_monday x 4 ) which is used to populate the option
items in a select list. For this value I can use something like
$ie.select_list(:name, 'onAirDate').select_value(/1/).
But I need to also
theText= $~ = $ie.contains_text(/Event\# ([0-9]+)([0-9]+)([0-9]+)([0-9])/)
puts (theText);
b = theText.split(/\d/)
b.push(theText.sub(b[0],))
puts b
The above snippet does not work if theText is gotten via the
contains_text method. (I get the following error:
./createEvent.rb:40:in
Currently I have my test files all within the same directory, is there a
way that i can use multiple directories? Say i was running a test from
within the directory C:\Watir\Tests and I wanted to include a method
from FileA which is stored in the C:\Watir\Methods directory. How do I
include
hi all--
i've been trying to write a function which dynamically finds all the
html elements on the page and then fills the form based on the found
html elements.
So, in compete psuedo-code, i'd like to do something like
every field in pageObject do
if field is textfield then
).click
return
end
end# check for field type
end # for item in newDict
end #fill page forms
end # web page class
I'd love comments and feedback.
Thanks--
Beth
Bret Pettichord wrote:
At 12:53 PM 10/27/2005, beth ferguson wrote
something?
Thanks as Always-
Beth
#--
# Vsat Response
# Beth Ferguson
# 12/12/05
# Vsat Response
# Duplicate Multiple VSAT Response from MNS distribution
#---
class VsatResponse
def getFile
Hi All--
I'm building a new test app that has frames and needs cross browser
functionality. I can't seem to find the firewatir download anywhere. can
anyone point me to it?
Thanks--
Beth
___
Wtr-general mailing list
Wtr-general@rubyforge.org
How can i discover the names of nested frames with Watir?
Thanks-
Beth
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I need to get information from html fields which are not displayed but are
not explicityly marked hidden:
such as:
div style='display:none'
object type=NavigationTree
attribute name=targetframebasefrm/attribute
data
row
cellApplication Monitoring/cell
cell/cell
/row
Hi Bret-
ie.div(:style, 'display:none').html only gives me an error message which
reads: unknown way of finding a DIV ( {what} )
perhaps i should be a bit more explicit. I need to parse this
information. the information is hidden in a form and it is a way for me to
make logical choices about
10 matches
Mail list logo