[Wtr-general] get date, increment date functionality

2005-10-05 Thread beth ferguson
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

[Wtr-general] string split after ie.contains_text

2005-10-11 Thread beth ferguson
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

[Wtr-general] create new directory

2005-10-18 Thread beth ferguson
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

[Wtr-general] dynamically discover page

2005-10-27 Thread beth ferguson
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

Re: [Wtr-general] dynamically discover page

2005-10-28 Thread beth ferguson
).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

[Wtr-general] Concurrent Testing using Watir.

2005-12-13 Thread beth ferguson
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

[Wtr-general] firewatir

2006-06-15 Thread Beth Ferguson
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

[Wtr-general] nested frames

2006-06-19 Thread Beth Ferguson
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

[Wtr-general] parsing fields

2006-06-27 Thread Beth Ferguson
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

[Wtr-general] parsing fields

2006-06-27 Thread Beth Ferguson
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