[Wtr-general] Javascript Problem....

2006-11-24 Thread san
Hi, This Is Sanju From India, I'm Brand New To Watir. I'm Trying To Log In On www.calcuttatelephones.com. I Can Input Data In User ID Passward By ie.text_field(:name, userid1).set(My User name) ie.text_field(:name, userpass).set(My Password) But Can't Click On [b]Login[/b] Button using

Re: [Wtr-general] Javascript Problem....

2006-11-24 Thread san
Yes It Worked Thanks Georg. But I Want To Know Was It A Regular Expression Match? As Far As I Know It Was Just A Image With that Name. - Posted via Jive Forums

Re: [Wtr-general] Javascript Problem....

2006-11-24 Thread san
@ Zeljko : That Also Worked... Thanks For The Help - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5425messageID=15122#15122 ___ Wtr-general mailing list

Re: [Wtr-general] Javascript Problem....

2006-11-24 Thread san
Is There Any Way To Directly Go To The Page After Logged In... I Don't Want To See The 1st page The Data That Are Entered Will It Save A Little Bit Of Time? - Posted via Jive Forums

Re: [Wtr-general] Javascript Problem....

2006-11-24 Thread san
@ Zeljko : Yes, But I Wanted The Whole Process... i.e opening The 1st Page, Entering My Given Data, Then Logging In... In The Background.i.e When IE Will Open The Page,I'll Be Already Logged In... - Posted via Jive Forums

[Wtr-general] Can Watir Download .html Pages...?

2006-11-27 Thread san
Look At This Code Please... [i]ie = Watir::IE.new ie.goto('http://www.something.com') ie.text_field(:name, userid1).set(.) ie.text_field(:name, userpass).set(.) ie.image(:src, /login/).click[/i] Now Obviously After The Click A Page Opens. My Question Is, Is It Possible To Save

Re: [Wtr-general] Can Watir Download .html Pages...?

2006-11-27 Thread san
Thanks [b]Zeljko[/b] But How Can I Save All These Links In An Array Of Strings? Will It Work? webs = ie.links webs.each do |web| puts web end Can You Tell Me From Where Can I Get All These Watir Functions...? Is There Any Good Quality Tutorial?

Re: [Wtr-general] Can Watir Download .html Pages...?

2006-11-27 Thread san
lol lol :) Ya It Worked... But I can't Open The Links Again by webs = ie.links webs.each do |web| ie.goto(web) # This Line Produces Error... I Also Tried web.to_s output.puts(ie.html) # output is a .html file to be opened in w mode end In Fact I Wanna Save All The Linked html

[Wtr-general] Can't Determine The Error...

2006-11-28 Thread san
Look At This Simple code [i]require 'watir' ie = Watir::IE.new ie.goto('http://pro.edgar-online.com')[/i] It Throws Exception In The Goto Line As : [i]W, [28-Nov-2006 16:24:40#1068] WARN -- : frame error in waitdocument OLE error code:80070005 in Unknown Access is denied.

[Wtr-general] Can't Control JavaScript PopUp Window....

2006-11-29 Thread san
Basically When I Click On A Link A PopUp Appears With Some New Links... I Want To Click On One Of Them... But... The Very Third Line Of... [i]require 'rubygems' require 'watir' require 'watir/contrib/enabled_popup' [/i] Throws Error

Re: [Wtr-general] Can't Control JavaScript PopUp Window....

2006-12-03 Thread san
I'm Using 1.4.1 - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5510messageID=15597#15597 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Can't Control JavaScript PopUp Window....

2006-12-03 Thread san
Ya... Of Course Its Useful, But I Don't Need To Click On Any Button, But On Other Page Links That Lies On The Popup Page After Clicking One Of The Links On The Pop Up It Will Vanish The Clicked Link Will Be Opened In The Main Window. How Can I?

[Wtr-general] Can Watir Open Pages Containing Only PDF Link?

2006-12-06 Thread san
I Tried This ie = Watir::IE.start('http://www.surgeongeneral.gov/tobacco/smconsumr.pdf') But Adobe Reader v8 Pops Up And Says You Can't View PDF File In A web Browser or Something Like That. So Is There Any Solution To Open These Links Save The PDF?

[Wtr-general] How To Manage Cookies?

2006-12-06 Thread san
Well I Don't Know How To Access Cookies In Watir, Searched A Lot But No Result... Can Someone Help Me With Some Codes To Access Fetch Informations Within Cookies, Such As The URL, Name etc Of The Cookie... Is There Any Kind Of Tutorial?

Re: [Wtr-general] Can Watir Open Pages Containing Only PDF Link?

2006-12-06 Thread san
Ops My Mistake... Adobe Was Not Properly Installed...Sorry. :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5633messageID=15715#15715 ___ Wtr-general

[Wtr-general] How To Stop IE Retry Again If The Page Doesn't Load For A Period?

2006-12-12 Thread san
Suppose I want To Do... [i]require 'watir' ie = Watir::IE.start('http://pro.edgar-online.com/') ... etc etc.. ie.close[/i] But If The Very First Page Or In Between The Process Any Page Doesn't Open In 10-20 Seconds Due To IE Problem(Crash), Then I Want To Retry It... So Is There Any

Re: [Wtr-general] How To Stop IE Retry Again If The Page Doesn't Load For A Period?

2006-12-12 Thread san
Sorry, I Don't Understand Properly... How Do I Put an assertion? I'm Almost New To Watir.. Can You Please Explain More, May Be With A Few Line Of Codes... Thank You For Your Response... - Posted via Jive Forums

Re: [Wtr-general] How To Stop IE Retry Again If The Page Doesn't Load For A Period?

2006-12-12 Thread san
Well Solved The 1st One By A Counter :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5739messageID=16105#16105 ___ Wtr-general mailing list

[Wtr-general] Is There Any Other Way To Fill A Text Box....?

2006-12-25 Thread san
I Want To Fill A Text Box In IE By Watir... But As Watir Writes A Letter At A Time, Its Taking A Long Time To Fill The Box If I Have A Long String In Hand... So My Question Is, Is There Any Other Way To Fill The Box At A Time With The Long String,Insteed Of Writing The String Per Letter At A

Re: [Wtr-general] Is There Any Other Way To Fill A Text Box....?

2006-12-26 Thread san
Thanks For The Help... angrez ... Its Working Now... Thanks. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5920messageID=16563#16563 ___ Wtr-general mailing list

[Wtr-general] Image Uploading Problem....

2006-12-28 Thread san
Hi Everybody, I Want To Upload An Image On A Site... The Html Code Of The Palce Of Giving Name The Browse Button Is Here: [i]INPUT ID=onetidIOFile TABINDEX=1 TYPE=FILE size=56 NAME=urn:schemas-microsoft-com:office:office#FileLeafRef VALUE= title=Name /[/i] As Its A Field Of Type File, Not A

Re: [Wtr-general] Image Uploading Problem....

2006-12-28 Thread san
[i]ie.file_field(:name, urn:schemas-microsoft-com:office:office#FileLeafRef).set(c:\abc.gif)[\i] is not working... :( - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5946messageID=16642#16642

[Wtr-general] Why file_field Is Not Working With Watir 1.5

2007-03-14 Thread san
require 'watir' include Watir ie = IE.new ie.goto('www.rapidshare.com') ie.file_field(:name,filecontent).set('c:\\123.xls') I Don't Know Why Its Not Working...? The Programs Goes To Rapidshare Exits Normally No warnings Or Anything Like Autoit Is Not Registered Or Something Else, But

Re: [Wtr-general] Why file_field Is Not Working With Watir 1.5

2007-03-14 Thread san
And Its Giving The Following Error With watir-1.5.1.1158: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in `method_missing': document (WIN32OLERuntimeError) OLE error code:80070005 in Unknown Access is denied. HRESULT error code:0x80020009 Exception

[Wtr-general] How To Click On Image Inside A Table Cell....

2007-04-09 Thread san
Hi Everybody, Heres The HTML... body table .. /table table trtd table tr td ... /td

Re: [Wtr-general] How To Deal With External CSS Files....ink All

2007-04-10 Thread san
Thanks... zeljko Yes Now I Can Find All The Frames... ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How To Click On The Image Button...With This html Code?

2007-05-04 Thread san
Hi People.. Heres The Code: tr td height=15/td/tr tr align=left td align=left colspan=2 valign=bottom input border=0 alt=Search src=../images/search_top.gif name=CTL_SUBMIT type=image a href=FilingsSearch.aspimg border=0 alt=Clear

[Wtr-general] How To Add A Cookie Earned From Watir To Mechanize...

2007-05-04 Thread san
Hi People... I Need To Add A Cookie From A Site That I Accessed Through Watir To A WWW::Mechanize Agent... Is There Any Way To Do It, Or Will It Be Possible To Be Really Authenticated In The Site Then By Mechanize Agent.. e.g If I Say If I Login In Yahoo By Watir And Then Try To Access My

Re: [Wtr-general] How To Click On The Image Button...With This html

2007-05-04 Thread san
Hi Angrez, Thanks.. That Worked... Don't Know How Did I Missed That Out :P Thanks... :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How To Click On The 2nd Link With The Same Img Source....

2007-05-17 Thread san
Hi Everybody... Here's The Sample html Code... img src=/images/icons/pdf_small.gif Company A etc... etc. img src=/images/icons/pdf_small.gif Company B etc... etc... img src=/images/icons/pdf_small.gif Company C Now If I Write[i] ie.image(:src, /pdf_small/i).click [/i]. It Clicks On The

[Wtr-general] How To Click On The 2nd Link With The Same Img Source.....

2007-05-17 Thread san
Thanks zeljko... Let Me Try It... for $i in 1 .. 3 ie.image(:src = /pdf_small/i, :index = #{$i}).click sleep 10 etc.. etc... ie.back end Will Let You Know If It Works Or Not... Hopefully It Will :) ___ Wtr-general mailing list

[Wtr-general] How To Click On The 2nd Link With The Same Img Source......

2007-05-17 Thread san
Thanks For The Info zeljko... ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How To Check If A Row Inside A Table Exists Or Not Count Of Rows....

2007-06-05 Thread san
Hi Everybody... I Just Tried ie.table(:index, 1).row(:index, 7).exists? or ie.table(:index, 1)[7].exists? But Nothing Works... here's The html table tr1/tr tr2/tr tr3/tr tr4/tr tr5/tr /table Or Suppose I Have Nested Tables... table width=600 border=0 cellpadding=0 cellspacing=0

Re: [Wtr-general] How To Check If A Row Inside A Table Exists Or Not Count Of Rows....

2007-06-06 Thread san
Thanks kumari... It Really Helped Me Out... But I just Copied It.. :P Can You Pls Explain The Function A little Bit More... Thanks A Lot... :) And By The Way Is There Any Way To Check If A Row Inside A Table Exists Or Not... ? ___ Wtr-general

[Wtr-general] Can Someone Explain This Pls... I Cant Find The Reason...

2007-06-22 Thread san
I searched Archives Did This To Download Files.. But its Now Working... Can You Pls Help Me Out wheres the Problem... The Save Button Is Not Getting Clicked... [code]require 'win32ole' require 'watir' include Watir ie = IE.new ie.goto('http://www.mozilla.com/en-US/firefox/all.html')

Re: [Wtr-general] Using Excel

2007-06-25 Thread san
May be This ... http://rubygarden.org/Ruby/page/show/ScriptingExcel ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Regarding Data Driven

2007-06-25 Thread san
This May Help... http://rubygarden.org/Ruby/page/show/ScriptingExcel ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general