Hi,
Has anyone written a simple keyword framework with Watir and would
like to share a sample of it? If I remember Phlip may have done
something like this.
aidy
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi,
I am unable to select the button from the button-menu. Following is the
scenario. Please help me to resolve this issue.
Scenario:
In Yahoo Mail, Inbox folder(Click on Inbox), there exists a buttonmenu
dropdown “Mark”. It has two options “Mark as Read” and “Mark as
Unread”.
Hi,
Please Help, as i'm trying to click on on image (button) that fires an
onClick() event.
Here's html:
input type=image src=/images/prep/new/submit.jpg onClick=sub()
I have tried the following, but none has worked so far:
* $ie.image(:src,
That's not my understanding. I thought http://www.openqa.org/watir/ was
now the main site for everything Watir-y.
I see two things that have not been migrated from
http://wtr.rubyforge.org/: the tutorial, and the sample test. If those
were moved, it would make sense to me that the old sites be
Thanks a lot! that is helpful but I was hoping not to have to do a lot of
hacking around to get it to work. I'm surprised there isn't a more streamlined
or integrated solution, given the ubiquity of this type of login.
For my case I guess I can use the browser's autologin feature but if the
The openqa site is the main site right now. We're keeping the RubyForge site
up as well since that's often the first site that people hit when searching
for Watir, and connects us to the ruby community to some extent. Otherwise,
as you can see, openqa is more current and where most of the
if you're going to keep http://wtr.rubyforge.org/ site up, I'd suggest
including a link to the openqa site somewhere prominent.
for new users who end up at wtr.rubyforge.org, there is currently no
indication that the openqa site exists, and the faq and wiki links are
dead.
my suggestion would
We use AutoIt to bypass proxy authentication dialogs, very similar to your
Apache basic authentication dialog. Take a look at WindowHelper.rb in the
installed watir files, there's a method called logon which should work for
you, or at least give you a general idea. Additionally, there's
Hi Parv,
You should be able to click on it with something like this:
$ie.button(:src, /\/images/prep/new/submit.jpg/).click
* $ie.image(:src, 'http://myDomain.com/images
/prep/new/submit.jpg').flash()
This control is a button in Watir not an image, the full url isn't listed in
the src
Thanks, I'm looking into it now.
Another thing I thought of with the help of someone at my work was to send the
http headers along with my request for the url. I fired up Ethereal to capture
the packets and found out some information about the http get I'm doing when
the username and password
I know that IE.new_process uses the CreateProcess method in kernel32.dll to
create a new IE process. This same method allows the user to change the
environment variables for this specific instance of IE (by setting parameter 7
in the call to CreateProcess).
Does anyone know which environment
Well, if you want to go down that roadyou could investigate using
Navigate2 on the internal ie ole_object.
ie = IE.new
ie.ie.Navigate2('http://www.google.com',0,'','')
Navigate2 takes 4 possible parameters: url, a constant flag for options,
postdata, and headers.
The postdata and headers
On 3/22/07, Oscar [EMAIL PROTECTED] wrote:
Thanks, I'm looking into it now.
Another thing I thought of with the help of someone at my work was to send
the http headers along with my request for the url. I fired up Ethereal to
capture the packets and found out some information about the http
On 3/22/07, Charley Baker [EMAIL PROTECTED] wrote:
Well, if you want to go down that roadyou could investigate using
Navigate2 on the internal ie ole_object.
ie = IE.new
ie.ie.Navigate2('http://www.google.com',0,'','' )
Aha. I might get around to trying this today, if I can find a site
Nevermind. When creating IE through the CreateProcess method, IE will need to
read the SystemRoot environment variable.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
h = $ie2.enabled_popup()
if (h)
puts 'handle exists!'
w = WinClicker.new
w.clickWindowsButton_hwnd(h, Cancel)
puts 'pop up canceled'
end
I found out that this would cancel the save image modal dialog which hangs
see Control Windows Dialog Box thread
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Using Ruby 1.8.6 Watir 1.5.1.1127
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi Mathew,
Just looked at the Yahoo mail app (not the beta one) and had a look at the
HTML. The options that you are trying to select like Mark as Read, Mark
as Unread are in li tags. So you need to access them using xpath and then
fire click event. Following code works for me for marking first
19 matches
Mail list logo