On Wed, Feb 16, 2011 at 7:25 PM, Dave McNulla mcnu...@gmail.com wrote:
http://kb.winzip.com/kb/entry/69/
I think this is a solution to enable file download popup: the File Download
dialog will display again and will ask if you want to open the file or save
it.
IE really confuses me. I was able
Is it possible that you are trying to access the element before it has had
time to render?
We use jQuery and its elements sometime take a while to render fully.
Try putting a line of *ie.image(:alt, 'Open SDP file').wait_until_present*
before
you attempt to click on it.
--
Before posting,
Hello,
I am testing an application which is based on the Java and use java
applets for upload files WATIR.
There is a applet which have Add button and want to click on it, but
not able to click on that button not even able to focus on it.
Please tell me if there is any way to handle ASAP.
Hi, Željko
Could you please try open registry with system key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Zones\3] and change data type of the value named 1803 from 0 to
3 (0 - enable download dialog, 3 - disable download dialog) and reply
if it works for you.
On Thu, Feb 17, 2011 at 10:12 AM, Saurabh Gupta saurabhgupta...@gmail.com
wrote:
I am testing an application which is based on the Java and use java
applets for upload files WATIR.
From Watir tutorial [1], page Introduction [2]:
Watir will not work with ... Java Applets
Željko
--
[1]
The code is:
td class=connect_widget_vertical_center
connect_widget_button_celldiv class=connect_button_sliderdiv
class=connect_button_containera class=connect_widget_text_button
clearfix time_button_no_timespan class=timeHello/span/a/
div/div/td
Hello appears 10 times on the page..with
Try this code to see awayliable properties for spans on the page :
ie.spans.each do |span|
span.flash
span.to_s
end
Also this code works for me:
ie.span(:text, 'Hello').flash
If those spans are in the frame you possibly will need additional code to
use.
I suggest to use xpath to locate
I am really confused by your new code also it is seriously differ from
previous one and i could not find span with hello text in it, cuz the main
idea was to locate span element on the page as i understand.
Still recommend to use xpath for lement location, probably HttpWatch is
handy to use here.
Hi!
Biggest improvements in the new WatirSplash is it's support for Linux,
OS X and Windows by using Watir, FireWatir and Watir-WebDriver
frameworks.
WatirSplash makes browser-based web page testing in Ruby splashin’
easy. It combines Watir (www.watir.com) for controlling the browser
and RSpec
Try
require 'rubygems'
Before your require for Watir... Or set your RUBYOPT environment variable ...
Regards,
Tim
On 18/02/2011, at 8:06 AM, mmauric michel.maur...@yahoo.fr wrote:
As explained in the getting started, I have installed ruby-1.8.7-p330
with the option to update the path
I think it's time to start updating Watir documentation with a require
'rubygems' step (or at least a note warning about the issue).
A lot of folks installing Ruby on Windows for the first time are winding up
without the RUBYOPT env var, and thus have a rockier first experience than
those of us
Good idea, I've since updated this page to reflect.
Loading RubyGems
If you’re a first time Ruby user, you need to understand how to load Ruby
gems such as Watir. You can require it via the -rubygems command line option
or by using the RUBYOPT environment variable. You can also require it
The page is a .php file
I have extracted the code from the required area, through firebug for
firefox
div id=fieldsets2fieldset class=tesoma ProfileStatus
id=undefined style=div class=captiontable style=width:
100%;/table/divtable class=tesoma/tabletable
class=tesoma style=width: 800px;tbodytrtd
Technically it is a button (input type=image)
http://wiki.openqa.org/display/WTR/Buttons
So use
ie.button(:name = 'SDP_0_1').click
Cheers,
Tim
On Fri, Feb 18, 2011 at 4:52 PM, Ashu ashay.n...@gmail.com wrote:
SDP_0_1
--
Before posting, please read http://watir.com/support. In short:
On entering this line - ie.image(:alt, 'Open SDP
file').wait_until_present
it returned thie following error
irb(main):033:0 ie.image(:alt, 'Open SDP file').wait_until_present
Watir::Exception::UnknownObjectException: Unable to locate element,
using :alt,
Open SDP file
from
15 matches
Mail list logo