Hi,
I wanted to access the Javascript Pop-up window and 'Save as File' dialog
box. This action is for downloading attachment .Please help me in this
scenario
Mathew
Yahoo India, EGL, Bangalore - 71, Phone:+91-80-30516346,
Mobile:+91-9945849925
Hi Mathew,
What you want to select in the menubutton? What operation you want to do?
The HTML contains usual select and input control that you can access
using ie.select_list and ie.button respectively.
Let me know what you want to do so that I can help you further.
Regards,
Angrez
On
Hi Mathew,
You can click on the buttons that display Delete, Spam etc using:
ie.button(:value, Delete).
So all input type=submit tags you can access using this way.
If you want to select an option like 'Mark as Read' you can use:
ie.select_list(:name, top_read_unread).select(Mark as Read)
Let
Hi All,
Please Help me how can i declare a method here..
# Test to automate Sign-up
# Author : Chitta Ranjan
# Verson : 0.2
require 'watir'
require 'test/unit'
#Test Suite for Sign up verifications
class TC_1 Test::Unit::TestCase
def test_sign_up
def checkcondition(checktext,
Hi Mathew,
Please reply to the list so that others can also get benefit from this.
Not sure why you are getting the error, Is this selectbox or the HTML code
that you have send is inside a Frame?
- Angrez
On 3/20/07, Mathew Jacob [EMAIL PROTECTED] wrote:
Hi Angrez,
I am not
Greetings:
I'm using ruby 1.8.4 and watir 1.5.1.
I am testing a series of pages that result in the viewing of a pdf
document within the browser. My intent is to test that the pdf can be
viewed under some circumstances and cannot be viewed under another set
of circumstances.
However, when I
that the sign_up page opens if the user hits the URL
-http://192.168.4.169/sign_up/beginSignup.do;
end
end
end
-- next part --
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/wtr-general/attachments/20070320/ed2ead64/attachment-0001
Interesting, I'm using Watir 1.5.1.1161 and getting a different error. A
Win32OLERuntimeError, bombing out with unknown property or method
'readyState' which makes sense since we're calling readyState on the
document. I can get the url of the ie object, but obviously since it's not
an html page
You'd need to post how you're getting to the window for anyone to be able to
help, watir version would be good as well.
-Charley
On 3/20/07, sathees [EMAIL PROTECTED] wrote:
Hi,
I am running a watir script that saves images. Runs fine except it hangs
at save window some time. Waiting for me
does the acrobat activeX control provide anything useful, like a .text method?
Interesting, I'm using Watir 1.5.1.1161 and getting a different error. A
Win32OLERuntimeError, bombing out with unknown property or method
'readyState' which makes sense since we're calling readyState on the
document.
The whole image saving thing is ugly.
I have some code ( that some one else helped me with, Im sorry but I forget who
right now )
that gives a much nicer saving mechanism, but only saves as a bmp
Id rather use that, buts its incompatabile with the jpg we currently can asve as
Paul
You'd need
There doesn't appear to be anything inherently useful without looking at the
actual api. Btw, I'd highly recommend this library when looking at win32ole
objects, it's pretty slick:
win32ole pretty print
http://rubyforge.org/projects/win32ole-pp
If you do use the win32ole pretty print library you
I've been using Ruby with Watir for a few months now to scrape data off of
internal web pages where I work. I'm fairly happy with the results,
although I want to improve these processes. I want to put this data into
mysql (yes, I've designed a schema).
On a windows box, I have Watir running
Paul,
I don't think this is the same gem you loaded, but for my own
use of a similar setup, I use Ruby DBI:
Usage: http://www.kitebird.com/articles/ruby-dbi.html
Download: http://rubyforge.org/projects/ruby-dbi/
Hope that helps,
Adam
-Original
you can also just use odbc - the instructions on the kite bird site will show
you how, but you will also need the mysql odbc driver. google will know where
that is.
Paul
- Original Message -
From: Adam Reed [EMAIL PROTECTED]
Date: Tuesday, March 20, 2007 2:49 pm
Subject: Re:
Can anyone help me figure out how to click this button with Watir? I
have tried this:
browser.button(:id, newMessageButton).click
and it selects the entire div (I can see the yellow) but the click
never happens as far as I can tell. Anyone have any ideas?
Thanks!
Brian
Button Div:
div
$imagename[i] = #{$bb_id} + _ + #{i} + .jpg
@save_path = F\:\\Get_Image\\image\\#{$imagename[i]}
if File.exists?(@save_path)
puts
puts Image + #{$imagename[x]} + already Exists! # Escape
Save #
@save_flag = NO
17 matches
Mail list logo