Also, if there is some part unique, then you could use multiple
parameters as well:
browser.text_field(:name => /field_name/, :class => 'css-
class', :index => 3).set('my text')
which would find third text_field with class='css-class' with
name='somethingfield_namesomething'
Jarmo
On Feb 18, 1:4
You could even write it without any custom methods
(is_element_subclass?) like this:
require 'watir/ie'
ObjectSpace.each_object(Class) {|c| puts c if c.ancestors.include?
(Watir::Element)}
Although I don't also understand what's the use of the classnames to
regular users...
Jarmo
On Feb 17, 3:32
Hi charley ,Thanks for the reply.
But my question is there any other way to avoid two outputs without
disturbing first script. i cant keep changing the source script for
successfull running each time where i am calling the script.
For example: i write a class related to add functionality i am usin
On Thu, Feb 18, 2010 at 8:43 AM, Jarmo Pertman wrote:
> Increased the font size by 2px. Is it better now or should i increase
> it even more?
Better. Pixel or two bigger would not hurt too. :)
Željko
--
You received this message because you are subscribed to the Google Groups
"Watir General"
On Thu, Feb 18, 2010 at 10:08 AM, Jarmo Pertman wrote:
> Although I don't also understand what's the use of the classnames to
> regular users...
Class names just represent html elements that Watir knows about.
Željko
--
You received this message because you are subscribed to the Google Groups
Hi
In an IRB session when I trigger an onmousedown and onmouseup event on
a link that generates a modal dialogue box it shows the modal
dialogue. Then when I copy that code into a test case and execute
firefox does not generate the modal dialogue.
Code:
$b.span(:class, "value ell").fire_event("o
Hi!
Are you getting an error message, or is nothing at all happening?
Can you trigger the modal dialog manually in Firefox? Do you have
javascript disabled in Firefox?
-Tiffany
On Feb 18, 10:06 am, tester86 wrote:
> Hi
>
> In an IRB session when I trigger an onmousedown and onmouseup event o
if it happens in irb ut not in a script, timing is quite likely the cause.
Try adding sleep 1 between the lines
Paul
On Thu, Feb 18, 2010 at 10:32 AM, Tiffany Fodor wrote:
> Hi!
>
> Are you getting an error message, or is nothing at all happening?
>
> Can you trigger the modal dialog manually
Hi,
Currently i am using ie.html and ie.text to get the page source and
then
using this i can actaully clicking on the objects etc.
However there are some changes done recently of EXTJS and now im not
able to see
page source. It is now like frame wise.
When talked with developer, it is replied