Are you sure that the gem is installed correctly?
Can you check that firewatir is listed when you run gem list.
If firewatir is not shown, you may have installed it as a particular
user and not system-wide. Try sudo gem install firewatir to fix this.
Alex
On 18 May 2009, at 20:25, Josh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
hello
everyone
Now I use Watir to create some automation test script. I have a
problem with watir in testing my project. That is how to simulate
right mouse action?
can anyone help me or give me some idea?
thank you
--~--~-~--~~~---~--~~
Hi Hunter,
Please refer this below link for simulating right click on any of the
browser element.
http://wiki.openqa.org/display/WTR/Right+Click+an+Element
Regards
Siva Phaneendra Krapa
Virtusa
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
the method we use is a combination of Ruby and Autoit where we write
the contents of the popup to stdout.
Ruby script:
# Creates a process that, after a given timeout,
# kills an internet explorer message window and returns the result.
#
# The success of this class is dependent on the
On Mon, May 18, 2009 at 7:19 PM, TCBlues tcbl...@gmail.com wrote:
Any idea how to get the real html content?
I think Watir can show you html rendered in the browser, and obviously
Internet Explorer does not show all tags and changes the case of some tags.
If you want just the html, maybe Watir
On Tue, May 19, 2009 at 12:01 PM, Natasha Ranney itsn...@yahoo.co.uk
wrote:
I tried using text property of browser to save the text shown on page as
xml file. It did save it. But it saved the '-' as well.
I remember doing the same thing a long time ago, and being annoyed by `-`
also. I am not
Thanks Željko :)
The href attribute worked fine.
Regards,
Natasha
From: Željko Filipin zeljko.fili...@wa-research.ch
To: watir-general@googlegroups.com
Sent: Tuesday, 19 May, 2009 11:30:30
Subject: [wtr-general] Re: Saving xml contents of a page shown on
I've been using Watir to write tools for the ExtJS desktop
environment.
In this; every time anything is done, random IDs are generated, which
makes it 'challenging'.
Luckily, most similar elements (for instance form text entry fields)
are the same.
So I've designed a set of functions which
I was able to click as long as I do not use click method to open
popup. (I manually clicked on icon to open popup after that my popup
funciton took care of clicking on Yes button.
My problem is since we can only use click_no_wait button to work with
popup clicking methods and click_no_wait does
Hello guys,
When I use click I am getting popup message.
But when I use click_no_wait method I am not able to see the popup
hence I am not able to go ahead and click on popup Yes button.
Does any one has any suggestions why this click_no_wait does not
work on my PC? (both home and office pc did
In the application I am trying to click on the ‘New voice record’
link. While running the script I am getting error message in the sciTE
editor.
I am attaching the HTML code of the link.
A class=OraLink id=test:newEvaluationsNewTransactionLink1
onclick=submitForm('userInboxForm',1,
I had that issue once,I ended up using a different button attribute.
Try using index and see if you can get the click_no_wait to work using
that.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of satish
Sent: Tuesday, May 19,
On Tue, May 19, 2009 at 3:44 PM, Kamesh kameshg...@gmail.com wrote:
ie.link(:href, /faces/faces/client/inbox/userInbox.jspx).click
I think that Internet Explorer always sees absolute links (site.com/page),
not relative links (/page). Any of these should work:
ie.link(:href,
http://wiki.openqa.org/display/WTR/Right+Click+an+Element
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of Jungle_hunter
Sent: Tuesday, May 19, 2009 3:44 AM
To: Watir General
Subject: [wtr-general] How to simulate right mouse
Hi ,
I have tried with all the three options.
Still i am getting same error message
Thanks,
Kamesh
On Tue, May 19, 2009 at 7:37 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, May 19, 2009 at 3:44 PM, Kamesh kameshg...@gmail.com wrote:
ie.link(:href,
I'm working with ExtJS Desktop interface here.
Not sure if it's the same, but on their 'grid' elements, I'm
using .fireevent(onmousedown) - but it did take some time to find
the right bit.
I think the code you've put up is ext specific code?
I tend to do a browser.html for the 'useful' DOM, then
ie.link(:href, /userInbox.jspx/).click
Well, this one works for me.
Try this:
b.link(:href, /userInbox/).click
What versions of Ruby and Watir are you using? (This is what my machine
says.)
C:\Documents and Settings\Administrator\Desktop\trunkruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111)
You should search the group first.
There is a good info and sample codes for that.
- Original Message
From: Jungle_hunter junglehuanggangzh...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, May 19, 2009 1:43:37 AM
Subject: [wtr-general] How to simulate
check to see the object is in a frame.
From: Kamesh G kameshg...@gmail.com
To: watir-general@googlegroups.com
Sent: Tuesday, May 19, 2009 7:45:17 AM
Subject: [wtr-general] Re: Unable to locate element
Hi ,
I have tried with all the three options.
Still i am
Index also does not work. Here is code. I tried incrementing index.
But it takes only index 1. It is not taking any other values.
=
require 'watir'
require 'watir/ie'
require 'win32ole'
require
Kamesh,
The other major cause of this problem is that your test is not where
you think it is.
That is, there is an error in your previous step that causes a problem
so that the next thing you are looking for is not actually there.
(Like the previous step is supposed to do something to take you
Just for FYI to all. click_no_wait works with 1.8.6-26 Final
Release. Its not working in 1.8.6-27
Thanks
Satish
On Apr 17, 8:02 am, bwaybandit lenridge...@gmail.com wrote:
nothing to be embarassed about. just need to get it working :-)
ok so in IE, when i use click_no_wait, check out the
Hey, I just now installed 1.8.6-26 Final Release. click_no_wait
worked like charm with this version.
click_no_wait does not work with 1.8.6-27
I waster one week on this.. :)
Thanks
Satish.
On May 19, 12:10 pm, satish spanchumar...@gmail.com wrote:
Index also does not work. Here is code. I
Hey, I just now installed 1.8.6-26 Final Release. click_no_wait
worked like charm with this version.
click_no_wait does not work with 1.8.6-27
I wasted one week on this issue. :))
Thanks
Satish.
On May 19, 9:53 am, satish spanchumar...@gmail.com wrote:
I was able to click as long as I do
Hey, I just now installed 1.8.6-26 Final Release. click_no_wait
worked like charm with this version.
click_no_wait does not work with 1.8.6-27
I wasted one week on this.. :)
Thanks
Satish.
On May 18, 4:18 pm, satish spanchumar...@gmail.com wrote:
Hello guys,
Our guys are using DevEx
It looks to me like you forgot the #.
The html is:href=/faces/faces/client/inbox/userInbox.jspx#
and your code is ie.link(:href, /faces/faces/client/inbox/
userInbox.jspx).click
You missed the # at the end of the link.
if you're not sure whether the # will be there, use reg ex to just
look for
i have written the following method (i know, i am a crude, vile,
wretch of a programmer) to use autoitx to change the IE proxy setting
basically it keys it's way through the menu's to the proxy setting
field and changes the port number (shortcuts are for the dutch version
of internet explorer)
you can do this in the registry, but you have to restart IE
require 'win32/registry'
PROXY_SERVER_IP = 192.168.1.20
PROXY_SERVER_PORT = 3128
def set_browser_to_use_proxy
log Enabling Proxy at #{PROXY_SERVER_IP}:#{PROXY_SERVER_PORT}
Hi Kamesh,
Use this code to click on the New Voice Record link:
#---
ie.link(:innerText,/New Voice Record/).click
#---
Regards
Siva Phaneednra
Hi Siva,
I tried with below scenario.
In this case my previous statement getting failed.
EX: My script having follwoing statements. once i have included 4th script i
am getting be
ie.select_list(:id, selectOneChoice1).set(Evaluate)
ie.select_list(:id, selectOneChoice1).click
ie.link(:text,
Hi James,
I tried with the script having #.
Still getting same error.
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
`assert_exists': Unable to locate element, using :href,
/inbox/userInbox.jspx# (Watir::Exception::UnknownObjectException)
from
Hi Jim,
My previous step is executing perfectly.
ie.link(:text, Evaluations).click
after the above script, i am checking with verification using below command
ie.link(:text, New Voice Record).exists?
above script is executed successfully. after this i am using the below
script
ie.link(:href,
Hi Michael,
All the objects are available Inside Table. Table is under Form.
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML Strict//ENMETA
http-equiv=Content-Type content=text/html; charset=windows-1252 HTML
lang=en dir=ltr
BODY
FORM class=ks_panelInclude onkeypress=return
34 matches
Mail list logo