How to click Ok button in javascript pop-up?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4544messageID=12450#12450
___
Wtr-general mailing list
Hi,
i got a page with two frames and i want watir to change the
url of one of those frames.
I thought ie.frame(frame_name).goto(url)
would do so but it doesnt. Anyone an idea
or a solution for my problem ? sorry about the qoutes but my
mailprogramm is not able
to put both qoutes at
I have just installed watir 1.5.1.1100. I have ruby 1.8.4 (2006-04-14) [i386-mswin32].I have file upload field that looks like thisinput type=fileWhen I try to upload file with this (there is
file.txt is at C:\)ie.file_field(:index, 1).set('c:\file.txt')command prompt window appears with title
If you look at the FAQ: http://wiki.openqa.org/display/WTR/FAQ, there
are two possible solutions mentioned in the 2nd entry: Handling
Javascript Pop-up Windows.
-Charley
On 9/26/06, Mayank [EMAIL PROTECTED] wrote:
How to click Ok button in javascript pop-up?
I installed the new gem 1.5.1.1100 and
wanted to test creating separate IE processes.
I took the googleSearch.rb script and
added the require statement for the new capabilities as well as changing
the Watir:IE.new line to Watir:IE.new_process, and adding an ie.kill at
the end.
What happpened was
If you look above to Mark's post you'll see he's already posted the answer. To
select by index in a select list:
choices = $ie.select_list(:name,'language').getAllContents
$ie.select_list(:name,'language').select(choices[0])
getAllContents returns the contents as an array after which you can
As a followup to my previous question
I closed the browser window before killing the running process and I get
this additional information at the command line
C:\Documents and Settings\Administrator\My
Documents\Watir Project\1.5.1.bonus\examplesruby googleSearch_newprocess.rb
Process ID: 7644
Hi,
As you may know Test::Unit does ! include an assert_false.
I got this from the CLR archives.
Enter this in assertations.rb
public
def assert_false(boolean, message=)
_wrap_assertion do
assert_block(assert should not be called with a block.) {
!block_given? }
Hi Luke.
What types of things did you try?
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luke
Sent: Tuesday, September 26, 2006
6:29 AM
To: wtr-general
Subject: [Wtr-general] input
type=image
can you help, how can I
access to such element?
--
No virus
Short answer -- it's a button and has other attributes that you need
to use, name, src, id... something:
input type=image name=clickme src=clickme.gif
$ie.button(:name, 'clickme').click
or
$ie.button(:src, /clickme/).click
It's in the FAQ and the user guide both slightly indirectly,
User Guide in
Sun wrote:
So I can open the csv file as an Excel file and
make a format change (turn the 2nd column yellow.)
But -- I cannot find anywhere, on any forum, or the
Ruby online documentation, how to autofit the
column to the text.
Chris Morris has a link in the RubyGarden page that
has
Regarding documentation, please see: http://en.wikipedia.org/wiki/Watir
I have updated this by creating an example information section, plus updating
the base note, and adding links to External Links and See Also.
-
Posted via
Zeljko,
Go ahead and open up a Jira ticket for this. It looks like
filefield_test.rb in the unittests is also failing for me.
Thanks,
Charley
On 9/26/06, Zeljko Filipin [EMAIL PROTECTED] wrote:
I have just installed watir 1.5.1.1100. I have ruby 1.8.4 (2006-04-14)
[i386-mswin32].
I have
Nice! Thanks. =)On 26/09/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/WatirI have updated this by creating an example information section, plus updating the base note, and adding links to External Links and See Also.
On 9/26/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/WatirThank you for taking the time to do this. I do have a comment that i hope you won't take personally.
I find code like this to be rather embarrassing:# To handle general popups, use
((Sorry for the earlier, incomplete post, i accidentally hit the send button, which is located right next to the bottom edge of the window i was pasting into.))
On 9/26/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/Watir
Thank you for taking
On 9/26/06, Sun [EMAIL PROTECTED] wrote:
Do you mean this link here?: http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcelBut in fact it does not provide that information.As for the Excel method, if you did it manually it would be Format/Column/Autofit Selection
Yes. This is what i meant: You
john wrote:
http://www.britishairways.com/travel/home/public/en_gb
I have now found that I can get away with using :
ie.form(:name, plan_trip).submit
... to submit the form. It works, so that is fine, but perhaps cheating a
little :)
If it works, it works. You should get the
Thank you for taking the time to do this. I do have a comment that i hope you won't take personally.
I find code like this to be rather embarrassing:It's wikipedia, you can edit it. :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
19 matches
Mail list logo