Hi,
the method save run corretly for me :
test_site = 'http://site/'
ie1 = IE.new
ie1.goto(test_site)
ie1.image(:src,'http://site/images/logo.gif').save("c:\\logo.gif")
Here the 'save As' window is opened.
I hope I help you
-
P
hi,
I have a problem saving image or getting image from a web site can any one
please help me
i tried
a) image(:alt,'name').save(path)
b) image(:alt,'name').getImage( how, what ) which is in
Watir::SupportsSubElements module
or if i am wrong please give m
Hi Bach,
FireWatir works on what's there on the browser. I tried you script here
also. So on the browser image source is just
"/Images/Global/placeitemsinbag.gif". Just try this.
$FF.button(:src, '/Images/Global/placeitemsinbag.gif').click
It should work.
Regards,
Angrez
On 1/17/07, Bach Le
Hi Paul,
These errors are because either Firefox is opening new link in a new tab. or
blocking up the pop up.
Run the unit test alone and allow the pop ups. I think this should resolve
the error.
Regards,
Angrez
On 1/18/07, Paul Rogers <[EMAIL PROTECTED]> wrote:
Great job with FireWatir!
I
On 1/17/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
hi,
I need to encrypt it because i don't want to hardcode the password in
the script so as to make it a bit secure from data theft .. this option is
there in all the other tool such as Winrunner,QTP,TP ..
OK. How do those other too
hi,
I need to encrypt it because i don't want to hardcode the password in the
script so as to make it a bit secure from data theft .. this option is there in
all the other tool such as Winrunner,QTP,TP ..
maloy
-
Posted via Ji
Great job with FireWatir!
I get these 2 errors, using ruby 1.8.4 (2005-12-24) on FireFox 1.5.0.9
1) Error:
test_simply_attach_to_new_window_using_title(TC_NewWindow):
FireWatir::Exception::NoMatchingWindowFoundException: Unable to locate window,
using title and Pass Page
C:/ruby/lib/ruby
Željko Filipin wrote:
> It works just fine with revision 1144. It takes only 2 seconds to set
> file field. Much better than 10 seconds when using development gem
> 1.5.1.1081. That 10 seconds are from my first report. I tried 1081 gem
> today and measured 13 seconds to set file field (tree trie
Hi Angrez,
I just installed the latest gem, 1.0.1. I ran the same test again the script
errors at this line:
$FF.button(:src,
'http://www.anntaylor.com/Images/Global/placeitemsinbag.gif').click
I get the following error:
1) Error:
test_1(TestCase):
FireWatir::Exception::UnknownObjectExcep
On 1/16/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
Hi All,
I have been working on watir for the past one week .I just
wanted to know how do i encrypt password in watir,please let me know
asap.thanks for ur help
How do you want to encrypt it, and why must it be encrypted?
_
hi,
1)
require 'watir' # the watir controller
include Watir
test_site = 'http://www.rediff.com/'
ie1 = IE.new
ie1.goto(test_site)
ie1.text_field(:name, "login").set("toto")
ie1.text_field(:name, "passwd").set("tata")
ie1.image(:src,'http://im.rediff.com/uim/news/SignUp-btn.gif').click
--
Here is my $0.02.
lbDocTypeID = []
lbDocTypeID = $ie.frame(:index, 4).select_list( :name,
'DocTypeID').getAllContents
cnt = rand(lbDocTypeID.length)
next if "#{lbDocTypeID}" == ("-- Select Doc Type --")
$ie.frame(:index, 4).selectBox( :name,
'DocTypeID').select("#{lbDocTypeID[cnt]}")
--
great to hear!
I'm going to give this a shot today.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6147&messageID=17246#17246
___
Wtr-general mailing list
Wtr-gen
Hi,
We have released FireWatir version 1.0.1
For new features and future enhancements please go through release notes at
http://code.google.com/p/firewatir/wiki/ReleaseNotes .
Main features of this release are:
1. Main concern was speed. It has been improved significantly and now it's
On 1/17/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
I also know that this was broken in 1.5 until recently, so you must have
been referring to 1.4.1. Correct?
No. I was referring to development gem 1.5.1.1081, the last gem that I could
make FileField#set to work.
I am curious whether the
hi,
use the chop method :
"1L4TR6B9#".chop #=> "1L4TR6B9"
i hope i help you
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130&messageID=17236#17236
___
I got it: ReadTextField = ReadTextField.delete "#"
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130&messageID=17237#17237
___
Wtr-general mailing list
Wtr-gener
Plz mention the function for deleting that '#' character from the end of the
string
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130&messageID=17233#17233
___
yes, it was of great help except some minor typing errors & also we can put
variable.length in place of 10:
> hi,
> sorry for my english
>
> in a list from 0 to 10
> if SELECT = 0 you've just to write this
>
> variable = ie.select_list(
> name,"ctl00$ContentPlaceHolder$ddlClientList").getAllC
hi,
sorry for my english
in a list from 0 to 10
if SELECT = 0 you've just to write this
variable = ie.select_list(
name,"ctl00$ContentPlaceHolder$ddlClientList").getAllContents
varRand = variable[rand(variable.length )]
varRand += 1
if varRand > 10
varRand = 10
end
ie.select_list(:name,
"ctl0
20 matches
Mail list logo