[wtr-general] Sleep function

2009-03-04 Thread maximore
Hi I am curious how the Sleep function works. let assume on a 500Mhz processor computer .. how is the delay generated . Let say if I want a delay of 5min or 5sec --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] ie.test_field(name,"man").value.to_s / Passing result to a parameter

2009-03-05 Thread maximore
Hi Assume we have result define ; is it possible to pass a value from ie.test_field (name,"man").value.to_s to a variable ? let say i have this expression. result=ie.test_field(name,"dayOfBirth").value.to_s I get dynamic error message . any idea how to go about passing?

[wtr-general] Re: ie.test_field(name,"man").value.to_s / Passing result to a parameter

2009-03-06 Thread maximore
Error Message : estCases_AgiileIteration1.rb:155: dynamic constant assignment Result1=ie.test_field(name,"monthOfBirth").name.to_s ^ TestCases_AgiileIteration1.rb:156: dynamic constant assignment Result2=ie.test_field(name,"dayOfBirth").name.to_s ^ On Mar 6,

[wtr-general] Re: ie.test_field(name,"man").value.to_s / Passing result to a parameter

2009-03-06 Thread maximore
I have fix the error message . Result was in Cap. On Mar 6, 4:37 pm, maximore wrote: >  Error   Message : > > estCases_AgiileIteration1.rb:155: dynamic constant assignment >     Result1=ie.test_field(name,"monthOfBirth").name.to_s >             ^ > TestCases_Agii

[wtr-general] Reading values in a field

2009-03-09 Thread maximore
Case : I want in ruby to read a valued in a application form that was entered: Let say the input into the field name call : Day was enter to be 5 then I want to read the field value also to check that the correct input value is entered . result1; The value is then passed to

[wtr-general] Read value from a field

2009-03-10 Thread maximore
I am looking for a way to read back from a form field? any idea will be appreciated --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googleg

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
d not a text_field. > > Hope this helps! > > -Tiffany > > On Mar 10, 7:44 am, maximore wrote: > > >  I am looking for a way to read back  from  a  form field? any idea > > will be appreciated --~--~-~--~~~---~--~~ You received this messa

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
yes thanks let give it a try On Mar 10, 1:29 pm, Tiffany Fodor wrote: > If you're trying to get the value from a text field: > > my_text = ie.text_field(:name, 'text field name').value > > -Tiffany > > On Mar 10, 12:22 pm, maximore wrote: > > >

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
s what I just told him in another thread here a few > hours ago.. > > On Mar 10, 11:29 am, Tiffany Fodor wrote: > > > If you're trying to get the value from a text field: > > > my_text = ie.text_field(:name, 'text field name').value > > > -Tiffany &

[wtr-general] Okay little more help

2009-03-11 Thread maximore
Okay my previous post was about a way of reading value from a text field in IE . However I did git that part done correct and will like to test a condition that require program to test value from text field and compare.. this is ruby syntax used to read text field, that infact was used

[wtr-general] Counting selection option

2009-03-12 Thread maximore
hello I want to count the number of option on a pull down menu how can i go about doing just this in ruby? I know there is a way of going about this just don't know how . thanks --~--~-~--~~~---~--~~ You received this message because you are subscri

[wtr-general] Re: Counting selection option

2009-03-12 Thread maximore
number of elements in the array > > Hope this helps! > > -Tiffany > > On Mar 12, 10:11 am, maximore wrote: > > >  hello  I want to  count the number of  option on a pull down > > menu   > >  how can i go about  doing  just this  i

[wtr-general] Re: Counting selection option

2009-03-12 Thread maximore
=> 'my_list').getAllContents > > -Tiffany > > On Mar 12, 1:33 pm, maximore wrote: > > >  I added  code and run  program this was the error message that I > > git .estCases_AgiileIteration1.rb:198: syntax error, unexpected ')', > > expect

[wtr-general] Error Message for a text field

2009-03-17 Thread maximore
I get this error message when one particular function let call it (Fun_2) is executed in my program . when this function is removed from other other functions, everything work fine. Fun_2 task is to click on login then enter Username and password simple as that ! what will happe

[wtr-general] Hover image

2009-03-19 Thread maximore
Hi I want to click on a file in program . when user bring the mouse over the exiting file , hover over this file , the name appear . When the mouse is removed from the location the name of the file disappear. This is how it works I am looking for a way to automate clicking on file

[wtr-general] Hover image

2009-03-19 Thread maximore
I want to click on a file in program which has a hover over, name display, the name appear as the user hover . Then when the mouse is removed from the location the name of the file will disappear. This is how it works I am looking for a way to automate clicking on file with su

[wtr-general] Count table Element

2009-03-20 Thread maximore
Hi I want to remove an exiting table item, on a table . but I want to count and know how many item are there , before deleting an item on the table . My question is How to implement this pcs of code in ruby . in C or C++ I could used pointer and point in memory to each item in

[wtr-general] Verification of colors using ruby

2009-03-23 Thread maximore
Hi I would like to verified color in a menu item , ie. when the tier is clicked on menu it changes to certain color. This is the color I am interesting accessing with Ruby script. I am sure this is possible to do >. --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: Verification of colors using ruby

2009-03-23 Thread maximore
> > [mailto:watir-gene...@googlegroups.com] On Behalf Of maximore > Sent: Monday, March 23, 2009 11:46 AM > To: Watir General > Subject: [wtr-general] Verification of colors using ruby > >  Hi I would like to  verified color  in a menu item , ie.  when the > tier  is clicked on menu  it chan