hi,
I can't give you the page or the link its confidential so sorry for that
.. we don't have alt or title for that image that's the problem can
you understand my prob and help me out.. to get the tooltip
bye,
Maloy
___
Wtr-general
Hello ZeljkoFilipin,
In our application, there is an image, which displays a tooltip when the mouse
cursor is placed over it. Normally this tooltip would be present in either the
'alt' or the 'title' property of the image. But this image does not have the
tooltip in either of the two
Can you post just html for that image (and maybe a few tags before and after
it)?
You probably need something like this:
ie.image(:index, 1).fire_event(onMouseOver)
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi angrez,
HOW THE CODE WILL PICK THE MARK AS READ AND CLICKS IT..
//
I think the code usage is not correct.
element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read'))
**its ie.element_by_xpath(//li[contains(.'Mark as Read')])** //
PICKED THE CODE FROM THIS FORUM TO CHECK HOW THE
Hi angrez,
HOW THE CODE WILL PICK THE MARK AS READ AND CLICKS IT..
//
I think the code usage is not correct.
element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read'))
its ie.element_by_xpath(//li[contains(.'Mark as Read')]) //
PICKED THE CODE FROM THIS FORUM TO CHECK HOW THE
Hi ,
I m using watir 1.4.1 and Ruby 1.8.6_25 .
I m new to watir and i m trying to write some simple test cases for my html
application
I have two forms and i m trying to set values for those using
$ie.form(:name,Form3).text_field(:name , num_double2).set(99)
and
first of all you are not using watir 1.4.1, what you are using is 1.5.1.1164.
I had a lots of error with this version. I will advise you to stick with watir
1.5.1.100 and ruby 1.8.4
Message was edited by: sathees
___
Wtr-general mailing list
Hi,
I uses XPath to get the element. Actually if you see the HTML the Mark as
Read is an LI element for which I think there is no class in watir. One way
is to create you own class inheriting for Element class. Other way is to
find the element and click it.
Did you tried the code that I sent in
hi angrez
I made changes to the code as you said.. and i am getting this exception
wrong number of arguments (1 for 2) - after the element part has started.
thanks
___
Wtr-general mailing list
Wtr-general@rubyforge.org
hi,
can you send me the line which is giving this error? I didn't got even a
single error on my machine using this script
Regards,
Angrez
On 3/29/07, rkkanneganti [EMAIL PROTECTED] wrote:
hi angrez
I made changes to the code as you said.. and i am getting this exception
wrong number of
Hi All,
I am just started using watir.
Thanks,
Rahul
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
How can we run a a ruby program from another ruby program. I am working on
one program where in i have to run another ruby program from it.
I am stuck here.
I tryed
result = `r1.rb`
system(r1.rb)
but no output...
is their any other way out???
hi angrez i am resending you the code with the comments in the last 10 lines.
As i am new to watir i am not able to catch the line where the exception is
comming.
require 'watir'
require 'test/unit'
include Watir
class TC_mail_yahoo_check Test::Unit::TestCase
puts ## Opening the
require r1.rb
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
This is something I've started using and I figured others might find it useful.
The main form of testing I have been doing is a 'smoke test'. This is a complex
test that takes about 20 minutes to setup data to get the expected results at
the end. The issue i ran into with this is that the
Paul,
I just tried that out, and it looks like tests can be run
simultaneously. I basically used his google test and a renamed copy of
his google test. I did not show any errors, and IE opened twice without
issue.
Adam
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
You can try creating a method that logs to a file aswell as to the console.
It'll look something like this
def log(message)
@file message
puts message
end
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charley Baker
Sent: Wednesday, March
Hi,
I need to check presence of a link after some process
begin
...
...
end until (link appears)
This is quite simple, but got struck
Thanks in advance,
-
Heres a new way to find what you're looking for - Yahoo!
I'd like to get people's opinion/thoughts on what is the best IDE for Watir.
What do you use for writing you Watir tests? I've looked a t a few, but none
of them stand out as a clear winner. It doesn't have to be open-source, if a
commercial tool is a good and viable solution.
Some history:
Thanks very much, managed to sort it now.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hello Watir user,
I get an error when I try to execute the command ... Perhaps you
could include a little more code in your email post?
Also, can you please clarify what it is you are trying to do in the web
application (i.e. as a user)? What triggers the link to appear?
On 29/03/07,
Hi,
In a web page after entering a specific value in a text field, some links
appears. So i wanted to keep entering a value in a text field unless the links
appears on a page. So how do i check the appearance of a link after specific
value entered in a text field.
I have used following code do
wait_until(time_in_seconds){ ie.element(:type,value).exists? }
that?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
There are many ways of making a link 'appear'
Does it get added by ajax?
Is it in a hidden div ?
Does it get created by javascript?
depending upon how it gets created you may have to do a different approach.
Does the value you enter matter, or is it length of string?
the following MAY be waht
I have figured it out! Maybe All I needed is a break from this hehe.
ie.button(:src, /btn_submitorder.gif/).click
this worked. I do not know what I was doing wrong yesterday and why the hell it
wasn't working.
Thanks everyone.
___
Wtr-general mailing
ie.button(:src, /btn_submitorder/).click
There are a few ways to do it, this is one.
hth,
Charley
On 3/29/07, Ruben [EMAIL PROTECTED] wrote:
div id=wrap_free
div class=signup_block
div class=signup_verisign
div class=signup_left/div
div class=signup_righta
I use eclipse with the ruby plugin. Curious to find out the reasons why
Eclipse isn't working for you, my quick guess would be the load path? If
that's the case, then just use the workspace but don't create projects for
each directory, just import the file directories directly so you can run it
Jason,
I started off using Mondrian ( http://www.mondrian-ide.com/ ) and at first
really liked the structure if gave me. I came from Visual Studio .Net so I was
very used to the 'Heavy IDE' format.
The problem is I started to have growing pains with with it. I noticed that it
was slowing down
Steel actually looks rather interesting although their website could stand a
better designer. I'd take a look at it if I was using VS for other work,
instead the other code that I look at and tests that I write are in java, so
Eclipse is a more natural fit.
-c
On 3/29/07, John Lolis [EMAIL
Hi,
ie.element_by_xpath(//li[contains(.'Mark as
Read')])## New code provided by you
I think you are missing a comma (,) between dot (.) and Mark as Read or is
it a typo.
Regards,
Angrez
___
Wtr-general mailing list
Hi Sathees,
Thanks for the prompt response.
But can you tell me please which watir zip should i download to get the
version 1.5.1.100
Thanks,
Sayali
On 3/29/07, sathees [EMAIL PROTECTED] wrote:
first of all you are not using watir 1.4.1, what you are using is
1.5.1.1164.
I had a lots of
Hi All,
I want help for double click to entity which is added in telerik grid.
Waiting for reply. Thanks in Advanced.
-Rahul
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
hi angrez
when the comma is kept before Mark as Read i am getting the following error
undefined method `include?' for nil:NilClass
Thanks
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
Please provide enough information while sending the error.
Can you just try installing latest version of REXML (http://
www.germane-software.com/software/*rexml*/)?
Regards,
Angrez
On 3/30/07, rkkanneganti [EMAIL PROTECTED] wrote:
hi angrez
when the comma is kept before Mark as Read
hi angrez
puts ## Element started
# select element that has text Mark as Read
#element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read'))
ie.element_by_xpath(//li[contains(.,'Mark as Read')])
- if comma(,) is included exception (undefined method `include?' for
35 matches
Mail list logo