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,
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=6130messageID=17233#17233
___
I got it: ReadTextField = ReadTextField.delete #
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130messageID=17237#17237
___
Wtr-general mailing list
hi,
use the chop method :
1L4TR6B9#.chop #= 1L4TR6B9
i hope i help you
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130messageID=17236#17236
___
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,
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
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]})
--Mark
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
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):
Ž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 tries).
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
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
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
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
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
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
-
16 matches
Mail list logo