On 1/19/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Nick,
Thanks for the update. Could i use DRB to connect JRuby to a MatzRuby
process running Watir?
I haven't used DRb on JRuby yet personally, but I've heard reports of some
people using it successfully. That said, I'll caveat by saying
Nick,
Thanks for the update. Could i use DRB to connect JRuby to a MatzRuby
process running Watir?
Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 1/19/07, Chris McMahon <[EMAIL PROTECTED]> wrote:
Martin Fowler says "it works a treat"
http://martinfowler.com/bliki/JRubyVelocity.html
I just wondered if anyone here has spiked anything with JRuby.
I use it quite a bit, but then again I'm one of the developers :)
Of course, it's unfort
We used JRuby internally for access to a 3rd party search library. It works
great for creating and using java objects which may live on your middle
tier. I haven't spiked anything externally, but let me know if you have any
specific questions.
-c
On 1/19/07, Chris McMahon <[EMAIL PROTECTED]> wro
> Anyone know why this might be? Is there a proper place where I might pass
> this information on? (I'm not on any other Ruby groups right now.)
comp.lang.ruby? http://groups.google.com/group/comp.lang.ruby/topics?lnk=li
They pay pretty good attention there, and you have a good example.
__
I just found what looks like a bug in Ruby. Here's a simple script that
will expose this bug:
irb(main):001:0> x = 1
=> 1
irb(main):002:0> puts 'foo' + x.to_s +'bar'
SyntaxError: compile error
(irb):2: syntax error
puts 'foo' + x.to_s +'bar'
^
from (irb):2
I
In trying the following, I get the header values.
my_array = $browser.table(:id ,
'ctl00_MasterContentPlaceHolder_DomainGridView').row_values(1)
p my_array
Why doesn't '.to_a' give the first row (Header)?
Thanks,
Brad
-
Posted
Martin Fowler says "it works a treat"
http://martinfowler.com/bliki/JRubyVelocity.html
I just wondered if anyone here has spiked anything with JRuby.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
When I use the following following command, the array shows the first element
as '[]' instead of the Header values. How do I get the Header values from the
table?
my_array = $browser.table(:id ,
'ctl00_MasterContentPlaceHolder_DomainGridView').to_a
p my_array
I see the following output:
[[],
Thanks to both of you for your replies.
Clicking on image based on IMG tag attributes, will not work for this
application, since each row in table has same image with same IMG-tag
attributes.
For some strange resons ie.cell(:id, "10TD37").click doesn't work on my
application.
But I found wor
On Jan 19, 2007, at 1:17 PM, sarita wrote:
> I want to execute a test on a table where links are to be clicked
> based upon its status. Only when status not 'Complete', it's to be
> clicked & further actions to be performed. Otherwise those steps to
> be skipped. So, thinking of Ruby equival
You do not have to use test unit. Take a look at this.
http://www.openqa.org/watir/example_testcase.html
--
Zeljko Filipin
zeljkofilipin.com
Testing is not only what I do for a living. It is also what I do for fun.
___
Wtr-general mailing list
Wtr-genera
This will click that cell.
ie.cell(:id, "10TD37").click
This will click the link that contains that image.
ie.cell(:id, "10TD37").link(:href, /Adminpage/).click
Finally, this will click that image in that cell.
ie.cell(:id, "10TD37").image(:title, "Delete survey, responses,
emails").click
Choos
The Ruby equivalent to continue is next. For example:
intIndex = 0
while intIndex < 100
intIndex = intIndex + 1
if (intIndex % 2) == 1
next
end
puts "The value was odd: " + intIndex.to_s
end
The above code, though dumb, would only print the string every other time.
Nathan
--
On 1/18/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
> Today morning, when I was going through the 'built-in' scripts, like
> watir.rb, watir_simple.rb etc. just to have a look at the source code, I
> happened to note that we can modify the source code of various functions to
> suit our ne
Try something like this:
ie.link(:url, /some regex to match/).click
-Charley
On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
Hi all,
How to click on the links based up on the href rather than the text?
Ex:: I am having the same text with different ids. i.e., we are having
30
Take a look at the watir examples directory. You'll find a logging directory
with test_logger1.rb and example_logger1.rb.
-Charley
On 1/19/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
Hello Ogre,
Thank you for your correct answer. If you also tell us whether there is a
default 'log' in
On Jan 19, 2007, at 1:25 PM, Naga Harish Kanegolla wrote:
> HI,
> But its not working for me. Basically its working for all the
> text_fields. But not working for this, I hope its becoz the form is
> rendering dynamically thru ajax call.
You seem to be using Rails. Do you mean the form is c
hello,
I don't know if there is a default log (text file) in Watir.
My default log is the standard output on the console :D .
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6068&messageID=17387#17387
__
Are these links and fields within frames? Do you know if the frame has
completely finished loading after the "click" and before the text_field is
set? What version of Watir are you using?
On 19/01/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
HI,
But its not working for me. Basicall
Hi thank u,its working for the general urls, but not for the ajax links, can u
please help me for the ajax links.
This is the code i used.
ie.link(:url,"http://localhost:3000/data_entry/ajax_add_term/133?contract_id=140";).click
This is the generated html..
add a term
Thanks in Advance,
Harish
For those of us who don't know how to program in C, can you please explain
what "Continue" does? It's not entirely clear to me what you are trying to
do.
On 19/01/07, sarita <[EMAIL PROTECTED]> wrote:
I want to execute a test on a table where links are to be clicked based
upon its status. Onl
If you have html like this
text
text
you can click link with href="b" with any of this
ie.link(:href, /b/).click
ie.link(:url, /b/).click
--
Zeljko Filipin
zeljkofilipin.com
Testing is not only what I do for a living. It is also what I do for fun.
___
Thats ok, Any idea regarding that??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181&messageID=17381#17381
___
Wtr-general mailing list
Wtr-general@rubyforge.or
HI,
But its not working for me. Basically its working for all the text_fields.
But not working for this, I hope its becoz the form is rendering dynamically
thru ajax call. This is the error..
Error::
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in `assert_exists': Unable to
locate object, usin
On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
Hey sorry, I want in watir.. sorry for the mistake..
After I replied I noticed that you have already corrected yourself in
another thread. :)
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-ge
I want to execute a test on a table where links are to be clicked based upon
its status. Only when status not 'Complete', it's to be clicked & further
actions to be performed. Otherwise those steps to be skipped. So, thinking of
Ruby equivalent of 'Continue' in C. Please help.
--
Hey sorry, I want in watir.. sorry for the mistake..
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181&messageID=17374#17374
___
Wtr-general mailing list
Wtr-gen
hi,
While i was going through the windowhelper class i found a Public Instance
method called "logon" but i am not able to use it can any one help me out ..
thank you,
maloy
-
Posted via Jive Forums
http://forums.openqa.org/thr
On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
Your code
ie.text_field(:name, "contract_my_document[title]").set("harish")
works for me for this html. Maybe it's parent tag is hidden or something.
Post some more html that surrounds it and your exact error message, and
somebod
On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
so how could i code using selenium
This is watir list. There is selenium forum at
http://forums.openqa.org/forum.jspa?forumID=3
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing
Hi all,
How to click on the links based up on the href rather than the text?
Ex:: I am having the same text with different ids. i.e., we are having 30 "add
a term" links..For different links having different href (url). so how could i
code using watir for this kind of hrefs. Please help me
Hi all,
How to click on the links based up on the href rather than the text?
Ex:: I am having the same text with different ids. i.e., we are having 30 "add
a term" links..For different links having different href (url). so how could i
code using selenium for this kind of hrefs. Please help
Sorry I gave the wrong html in the forum. This is my correct one. Please check
this,
Thank u..
Harish
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6170&messageID=17356#17356
___
On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote:
Both of this worked for me.
ie.text_field(:name, "app_feedback[title]").set("harish")
ie.text_field(:id, "app_feedback_title").set("harish")
You said to watir that name is contract_my_document[title], but it is
app_feedback[title
Hello Ogre,
Thank you for your correct answer. If you also tell us whether there is a
default 'log' in Watir and if so, how to write to it and where to view it?, I
would be thankful.
Thanks,
Maloy.
-
Posted via Jive Forums
htt
Hi This is the html for that text field..
Please tell me the wrong one i am doing..
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6170&messageID=17351#17351
___
37 matches
Mail list logo