Hi Angrez
Thanks for ur response..but its not working.I cannot access the root
directory of "some path"
Is there any other way out?
Also where can i get a exhaustive list of all the ways to access n click all
types of buttons?
On 3/30/07, Angrez Singh <[EMAIL PROTECTED]> wrote:
Hi,
try t
Ok thank you very much for your explain...
This code work !
Fabien
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi
Thanks for ur response..but its not working.I cannot access the root
directory of "some path"
Is there any other way out?
Also where can i get a exhaustive list of all the ways to access n click all
types of buttons?
On 3/30/07, Željko Filipin <[EMAIL PROTECTED]> wrote:
Try this.
ie.i
On 4/1/07, aidy lewis <[EMAIL PROTECTED]> wrote:
Could you please tell me what version of the ruby interpreter
you are using with Arachno Ruby to allow the debug to run?
ruby 1.8.2 (2004-12-25) [i386-mswin32]
--
ZeljkoFilipin.com
___
Wtr-general mai
Hi,
Is it possible get physical location of an html element relative to screen ?
Since watir can't drive the mouse, I want this location so that I can go to
that location and do a physical click through a thridpary tool like autoit.
I don't want to do it through fire_event since it can't fire rig
I have a button in my web page, the relevant snippet of html is as follows:
Sign In
This button can be click using watir by ie.button(:value,'Sign In').click, but
in case of FireWatir, the same syntax gives error.
The Error is as follows :
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswi
Hi Vikash,
Thanks for raising the issue. We are working on FireWatir to remove all the
gaps it has with Watir so that there is no need to change scripts.
For now you can click the button using text and type properties, this works
on Watir also.
ff.button(:text, "Sign In")
ff.button(:type
Hello All,
I have been working on trying to assert whether a date range is displayed on
screen, but have run in to problems and was hoping someone could give me some
advice. I have the dates stored in the format dd/mm/yy
I want to use a function which takes an arrival date and a departure date
Replace:
$mainF.contains_text(/myDates/)
with:
$mainF.contains_text("#{myDates}")
-Ravi
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I think you can do a right click by
ie.button(:id, 'xx').fire_event('onContextMenu')
if that doesnt work, this might be what you need to help get the coordinates
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/getclientrects.asp
http://msdn.microsoft.com/workshop/author/dhtml/
#Hi,
#This is what I have got, I don't think it is anything new:
#each page has a class where objects of that class are mapped
class Login
def username;$ie.text_field(:name, 'user_name');end
def password;$ie.text_field(:name, 'password');end
def remember_me;$ie.checkbox(:name, 'remember_me'
instead of explitily asserting the existance of all the elements, Id try and
come up with an easier way, ( this probably wont work, but it might, and may
give you some ideas )
def username;$ie.text_field(:name, 'user_name');end
def password;$ie.text_field(:name, 'password');end
def remembe
> If I use a constant '01/01/07 - 01/01/08' there is no problem, but I need
> some way to deal with the dates in the parameters.
escape the slashes: /01\/01\/07/ - 01\/01\/08/
That said, anytime I deal with dates, I usually try to make them
actual date objects, then I can assert interesting th
Thanks for the demo Chris, I haven't messed with dates beyond the basics, this
was a nice way to get brought up to speed.
While my first thoughts were along the lines of Chris, I think I would go with
the string compare. It seems, in his case, that the level of complexity isn't
needed. I can se
Looks good.
In your setup I would wrap $ie with a global function (internet_explorer or
some such). I would then use that global function through out your class files.
This could save you a headache down the road :)
___
Wtr-general mailing list
Wtr-gen
Hi Prema,
Thanks for your reply, but when I used this
ff.button(:text, "Sign In").click
It throws error, as shown below
irb(main):016:0> ff.button(:text,"Sign In").click
FireWatir::Exception::UnknownObjectException: Unable to locate object, using
text and Sign In
from
c:
Ravi wrote:
> Replace:
> $mainF.contains_text(/myDates/)
> with:
> $mainF.contains_text("#{myDates}")
>
This will also work:
$mainF.contains_text(myDates)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wt
Hi All,
Which is the stable version of watior and ruby to use .
I used the latest one ,which gives me this error frequently and sometimes it
works fine.
WIN32OLERuntimeError: unknown property or method `getAttributeNode'
HRESULT error code:0x80070005
Access is denied.
Please let me know.
Thanks for all your answers. They were really helpful to me. One small
question, do we need to invoke "Garbage Collector" explictly and if so, how?
Thanks,
Vijay.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/list
19 matches
Mail list logo