I think that this is a good idea. My thoughts are along the lines of
the
online Pickaxe => http://www.ruby-doc.org/docs/ProgrammingRuby/
I'm not sure of the effort required to get there but I'm willing to
help.
At minimum it would be good to have an index.
Darryl
Central Ohio
On Feb 5, 7:49 p
Great job on the Watir wiki Alister !!
Thanks,
Darryl
--
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@googlegroups.com
Before posting, please read the following guidelines:
http://wiki.openq
Correction to item 2) below:
Un-comment - print "Deleted #{n} items\n"
at the end of del_cache.rb
Darryl
On Jan 16, 10:51 pm, "Darryl (gem dandy) Brown" wrote:
> Hi Chandrika,
>
> Try the following code:
>
> path = File.dirname(__FILE__) << '/
Hi Chandrika,
Try the following code:
path = File.dirname(__FILE__) << '/'
cache = path << "del_cache.rb"
system "ruby #{cache}"
1) This assumes that del_cache.rb is in the same directory
as the calling script. Change path to suite your needs.
2) Un-comment line 200 in del_cache.rb to see how
Hi Peter,
a = $IE0.text_field(:id,'field1').value
$IE0.text_field(:id,'oherField').set(a)
good luck,
Darryl
On Oct 9, 4:30 am, Peter Kras wrote:
> Hi!
>
> I need to check such situation:
>
> I have text field with id="field1" that contains text '250M'. When you
> click on it - only '250' beco
Hello Amudha,
1) Can you post the exact line of code that you're having a problem
with?
2) Can you try this on a XP setup with IE7?
3) Are you getting a "object not found error?
4) Can you post the exact error that you are getting as well?
Regards,
Darryl
On Oct 14, 3:07 am, Amudha Priya wro
Our test team is facing an interesting challenge with a popup. The web
server that we are testing has a password
protected mode wherein when the url is accessed, there is an immediate
login popup. There is no opportunity to use a "click_no_wait" as there
are no buttons to click - the first thing t
Hello Namit,
Please see the google example in my response to the following post -
"will watir-1.6.2 support pop-up message"
http://groups.google.com/group/watir-general/browse_thread/thread/eeb37d3a8562936/e9ec1258c2aa547f?hl=en&q=#e9ec1258c2aa547f
You must use click_no_wait
Good luck,
Darryl
Hello All,
All of the web pages that I test use nested frames. I have used
webmetrics quite a bit to identify nested elements.
I've also used the irb / flash method to identify the elements. Our
newer webserver is using ajax and webmetrics
is no longer effective. I've been trying to use Firebug t
Hello Bret,
I'm doing email testing on our web based monitoring cards.
Currently using a tweaked version of the Python mock
SMTP server - mailsink.py. It displays the emails in the
console and you can save them to a log file as well. I'm
reading the log file with Ruby to validate the message
cont
Hello Balbao,
$regno = oo.cell(row,6).to_i
will do what you're looking for.
Darryl
Dylan wrote:
> Add ".to_i" in the middle there, because like you said you aren't
> getting an integer back, so you have to make it one. So you end up
> with:
>
> $regno = oo.cell(row,6).to_i.to_s
>
> -Dylan
>
Hello Swapnal,
If you have a curiosity for computers in general and like to
learn if you enjoy 'chasing the 'rabbit', you will do well. Prior
experience with automation and programming will make the
journey shorter - approx. 3 months. No experience - 6 -9 months
to be productive. I'm not sayi
Hello Shiran,
There is not a way of clicking on text within a table.
However, you can read the text from a table.
Example:
mytext = $ie.frame(:index, 3).frame(:index, 3).table(index, 2)[1]
[1].text
puts mytext
Regards,
Darryl
On Jun 12, 8:52 am, Shiran Gunarathna wrote:
> I am having an is
Hello to all,
Thanks for replies - just wanted to make sure Excel for Watir would
still be OK.
Regards,
Darryl
On Jun 8, 11:31 am, Loft_Tester wrote:
> we have been running in compatibility mode on for office 2003 on our
> test machines that seems to working fine
--~--~-~--~~--
We have developed several data driven Watir tests using Excel in
Office 2003 as the data store. Has anyone else migrated to Office
2007? I'm about to upgrade but thought I'd try to get some feedback
from other people who have done this already (?? I hope)
Thanks,
Darryl Brown
--~--~-~--~-
Hello Bret and Pete,
I'm fairly new to Watir...only 8 months in but I've got my scuba
gear on now. I'd like to personally thank you guys for everything.
Myself like so many others...saying I'll wait until WatirCraft
takes more shape before I call.
Best of luck,
Darryl Brown
On Jun 3, 11:45 pm
s in that page.
> Still I could not do it.
>
> Please help me.
>
> Thanks
> Satish.
>
> On May 4, 1:20 pm, "Darryl (gem dandy) Brown"
> br...@roadrunner.com> wrote:
> > Hello Satish,
>
> > Unit test will currently not run properly '
Hello Chandu,
Sorry, I didn't finish my thoughts at the end of the earlier reply -
For future posts, it is advisable to reduce the script down to the
problem
area if possible. In this case, perhaps leave off the lines after the
jsclick call.
Regards,
Darryl
On May 4, 1:12 pm, "D
Hello Satish,
Unit test will currently not run properly 'out of the box' with Watir
ver 1.6. Please
follow this link: http://wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests
Best regards,
Darryl
On May 4, 1:06 pm, satish wrote:
> I got following error when I try to run unit tests from l
Hello Chandu80,
The 'No Method Error' error is due to fact that the method name
called
<< jsclick($ie,"OK")#Error shown here >>. Does not match the
method name that is defined << def jsClick(a,button,k,user_input=nil)
>>
Also, the << jsclick($ie,"OK")#Error shown here >> call has one
.test_field(name,"dayOfBirth").name.to_s
Change "value" to "name"
Regards,
Darryl(gem dandy)Brown
On Mar 5, 6:09 pm, maximore wrote:
> Hi
>
> Assume we have result define ;
>
> is it possible to pass a value from ie.test_field
> (name,"
>
> > Hi Darryl,
>
> > I dont know wait_until. But
>
> > try this
>
> > until(button.Exists?)
> > ie.wait(5)
> > end
> > button.click
>
> > Let me know whether this meets ur requirement?
>
> > Thanks,
> > Jam
>
&
me know whether this meets ur requirement?
>
> Thanks,
> Jam
>
> On Feb 18, 6:03 am, "Darryl (gem dandy) Brown"
> br...@roadrunner.com> wrote:
> > Hello all,
>
> > Help...I'm having trouble with "Watir::Waiter.wait_until". My goal is
&g
Hello all,
Help...I'm having trouble with "Watir::Waiter.wait_until". My goal is
to wait
until a button is present before clicking it.
I'm trying replace the sleeps with wait_until.
1) This works:
sleep 5
$ie.frame(:index, 3).frame(:index, 3).frame(:index, 1).button(:id,
'editButton').click
Hello Venkat,
Please see this thread - Gem Recall Notice: win32-api
http://groups.google.com/group/watir-general/browse_thread/thread/e18b8fa2c0e7b1bd/7cbbd05ad71c5a89?hl=en&lnk=gst&q=bad+gem#7cbbd05ad71c5a89
A bad gem was introduced momentarily.
Regards,
Darryl(gem dandy)Brown
O
id" and the "wait_until" times out at
60.x seconds as expected.
Does anyone have any ideas on this?
Thanks,
Darryl (gem dandy) Brown
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir Gener
26 matches
Mail list logo