Hi This is the html for that text field..
input id=app_feedback_title name=app_feedback[title] size=30 type=text
/
Please tell me the wrong one i am doing..
-
Posted via Jive Forums
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
On 1/19/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:
input id=app_feedback_title name=app_feedback[title] size=30
type=text /
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
Sorry I gave the wrong html in the forum. This is my correct one. Please check
this,
input id=contract_my_document_title name=contract_my_document[title]
size=30 type=text /
Thank u..
Harish
-
Posted via Jive Forums
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
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
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
On 1/19/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:
input id=contract_my_document_title name=contract_my_document[title]
size=30 type=text /
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
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
Hey sorry, I want in watir.. sorry for the mistake..
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181messageID=17374#17374
___
Wtr-general mailing list
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.
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
___
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,
Thats ok, Any idea regarding that??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181messageID=17381#17381
___
Wtr-general mailing list
If you have html like this
a href=atext/a
a href=btext/a
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.
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. Only
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..
a href=# onclick=new
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. Basically
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=6068messageID=17387#17387
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
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
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
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 need
The Ruby equivalent to continue is next. For example:
intIndex = 0
while intIndex 100
nbsp;nbsp;intIndex = intIndex + 1
nbsp;nbsp;if (intIndex % 2) == 1
nbsp;nbsp;nbsp;nbsp;next
nbsp;nbsp;end
nbsp;nbsp;puts The value was odd: + intIndex.to_s
end
The above code, though dumb, would only print
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 work
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:
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
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
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
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.
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]
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
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, 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
34 matches
Mail list logo