Re: [Wtr-general] Watir 1.5

2006-08-01 Thread Zeljko Filipin
You have probably installed watir 1.4.1 with one-click installer. The most simple solution is to uninstall ruby, install it again and then install watir gem.Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Test Harness

2006-08-01 Thread Max Russell
Please ignore my last post- I dug into my script and realized that because my asserts were wrong, the harness was spitting out errors. Thanks for the help! max Max Russell test Analyst. InPS Tel: 01382 223900 Fax:01382 204488 Visit our Web site at www.inps.co.uk The

Re: [Wtr-general] 40 K limit to attachments

2006-08-01 Thread Bret Pettichord
On 7/31/06, Zeljko Filipin [EMAIL PROTECTED] wrote: I would not even look at 40K+ html. All I really need to provide some help is a little snippet of relevant html.I see your point, although sometimes people send us the wrong snippet. Esp. when it comes to _javascript_. (They often send the

Re: [Wtr-general] Want to run my test in slow speed??

2006-08-01 Thread Zeljko Filipin
As simple as:ie.set_slow_speedŽeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] AJAX applications.

2006-08-01 Thread Nivetha Padmanaban
Does Watir support Ajax applications?? actually speaking i havent seen how ajax application will look like. i just know that our application will be an ajax application. can u tell me what is ajax and how it looks like, any sample site? Regards, Nivetha. Email - [EMAIL PROTECTED] Mobile - (0)

Re: [Wtr-general] AJAX applications.

2006-08-01 Thread Zeljko Filipin
http://en.wikipedia.org/wiki/AJAXZeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Adrian Lewis
Hi, Is it possible to retrieve data from specific tags? For example I just want to pull out the textual node from this: div class=tnt-view-part-errorsdiv class=tnt-errorThe user is assigned to territories after the specified end date/div/div Cheers Aidy

Re: [Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Zeljko Filipin
Tryie.div(:class, tnt-error).textZeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Zeljko Filipin
I guess it would not work without the latest watir.http://wiki.openqa.org/display/WTR/Development+BuildsIt worked for me with watir 1.5.1.1045 .Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] AJAX applications.

2006-08-01 Thread John Fitisoff
Does Watir support Ajax applications?? YES. I recently started for a company that was using HtmlUnit. Our app used lots of Ajax and I had lots of problems writing tests for certain pages. The main problem was that HtmlUnit emulates a browser rather than actually driving one, and the javascript

[Wtr-general] RegEx 151.1054

2006-08-01 Thread Adrian Lewis
I think we got a problem with RegEx watir 151.1054 this'll work fine def password_field;$ie.text_field(:name, 'password');end this def password_field;$ie.text_field(:name, /password/);end rurturned on error of test failed: \nOLE error code:0 in Unknown\n No Description\n HRESULT

Re: [Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Adrian Lewis
Zeljko wrote: ie.div(:class, tnt-error).text top dollar. aidy _ --- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.

[Wtr-general] german chars in the browser

2006-08-01 Thread Paul Rogers
my web page contains Geben Sie Ihre Telefonnummer (tags�ber) In case it doesnt show correctly, near the end is a u with 2 dots above it. Im sure there is a correct term, but Im no linguist. If I do: ie.text I get = Geben Sie Ihre Telefonnummer (tags\374ber Can any one suggest a work around,

Re: [Wtr-general] german chars in the browser

2006-08-01 Thread Chris McMahon
Can any one suggest a work around, solution etc? Im sure there are other letters that will do the same thing. I've got a problem with UTF-8 characters doing bad things to SOAP clients, too, so I'd also be interested. ___ Wtr-general mailing list

Re: [Wtr-general] Attaching to windows problem

2006-08-01 Thread Neri, Marco
Found the cause of my problem.. added some extra puts lines to watir.rb _find function def self._find(how, what) shell = WIN32OLE.new("Shell.Application") ieTemp = nil shell.Windows.each do |window| puts window.locationname puts "location url" puts window.locationURL puts "window

Re: [Wtr-general] simple solution for basic authentication

2006-08-01 Thread Bret Pettichord
On 7/31/06, Danny R. Faught [EMAIL PROTECTED] wrote: To productize it, I'd recommending adding a credentials method likeWin32::IE::Mechanize uses.I don't understand the $realm argument in this API. Can you explain? Could we drop it?Bret ___ Wtr-general

[Wtr-general] Problem in accessing array element

2006-08-01 Thread VIKASH KUMAR
Sir,I am storing values from excel to a array name 'data', I am using below code for it. excel = WIN32OLE::new('excel.Application') workbook = excel.Workbooks.Open('E:\sam.xls')worksheet = workbook.Worksheets(1)worksheet.Selectexcel['Visible'] = true line = '2'data = "">while