[wtr-general] Re: Error while running Watir

2009-03-05 Thread amit kulkarni
Hi, When i tried for the first time then it didnt work, But after trying for 2-3 times it worked.I am using it on Vista platform. Try it out for 2-3 times.. Also did u installed the jssh addon for firefox? Thanks, Amit --~--~-~--~~~---~--~~ You

[wtr-general] Re: How to send a mail from outlook express using watir

2009-03-05 Thread prasoona alluri
Thank for the reply. But i am facing the following error `initialize': unknown OLE server: `Outlook.Application' (WIN32OLERuntimeError) for the following statement require 'win32ole' outlook = WIN32OLE.new('Outlook.Application') Thanks On Thu, Mar 5, 2009 at 5:12 AM, Walter Kruse

[wtr-general] MYSQL error

2009-03-05 Thread Vikas Tulashyam
Hi Friends, I have installed the MYSQL server 5.1. But when I am trying to connect it through watir I am gettin an error - This Application has failed to start becasue LIBMYSQL.dll was not found. Re-installing the application may fix this problem. I tried to register this dll but i got an error

[wtr-general] link tag

2009-03-05 Thread TCBlues
Hallo, I have this on the html: link rel=stylesheet href=/Cad/css/ sheetCP.css type=text/css media=screen, projection How is possible to get access to this tag? I need to get the href. It's not possible through ie.link. Thanks in advance. --~--~-~--~~~---~--~~

[wtr-general] Re: Watir users: What is your role at work?

2009-03-05 Thread Pete Dignan
Some related data... we've had a poll on the front page of the WatirCraft site for a while now that asks who uses Watir in your organization? there have been 129 responses as of this morning. 35% say just me (sorry, that doesn't tell you their role) 36% say testers only 17% say testers and

[wtr-general] Help Object repository

2009-03-05 Thread Neeraj Sharma
Hi, i am very new to Ruby as well as Watir,i have seen somewhere on this group that Object repository concept is not supported completely by Watir. any comments on this --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[wtr-general] Re: link tag

2009-03-05 Thread bwaybandit
one whacky way of doing it is to use the html of the page. will require some parsing on your part to get to the href. pageToParse=ie.html getMeTheHref=pageToParse.grep(/href/) now you can parse getMeTheHref to get your href out. On Mar 5, 7:17 am, TCBlues tcbl...@gmail.com wrote: Nope... it

[wtr-general] Re: link tag

2009-03-05 Thread TCBlues
So there is no other option... On Mar 5, 4:05 pm, bwaybandit lenridge...@gmail.com wrote: one whacky way of doing it is to use the html of the page. will require some parsing on your part to get to the href. pageToParse=ie.html getMeTheHref=pageToParse.grep(/href/) now you can parse

[wtr-general] Re: clicking on a link, with certain parameters changing every time

2009-03-05 Thread SQAPro
I think you have a few potential solutions 1) talk to your developers about making this thing more testable, e.g. assign something like an ID or Name value to that link in the HTML, it won't be visable on the page, but it would make it easier to select the right link. I don't know your app, but

[wtr-general] watir installed to non-default gem path

2009-03-05 Thread Cliff
Hello Group Has anybody tried running watir installed to a non-default gem system path? For example, assuming you've installed all required gems using something like: gem install gem --no-rdoc --no-ri --ignore-dependencies -i /temp/ gems Then in irb: require 'rubygems' Gem.clear_paths

[wtr-general] Re: enabled_popup internal error

2009-03-05 Thread Jim Matthews
One thing I forgot to mention: someone else got click_no_wait to work by going into IE -Tools - Internet Options...-Advanced and under Security, check the box titled Allow active content to run in files on My Computer. Jim On Mar 5, 9:32 am, Jim Matthews jim_m...@swbell.net wrote: Glad to know

[wtr-general] Re: Watir users: What is your role at work?

2009-03-05 Thread Lisa Crispin
George, that's interesting that you want to migrate more into development. The person who wrote most of our Watir scripts (and did a good job with the design, I think) was a Perl scripter before he came to us, and while he is still working as a tester / test automation guy, he wants to move back

[wtr-general] How to write script to click date from calender

2009-03-05 Thread Dharmendra
Hi All, Need your help. I have a page in which following javascript is used to display calender. SCRIPT type=text/javascript src= dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118/script a onClick=displayCalendar(document.forms[0].fromDate,'-mm-dd ',this,true)

[wtr-general] Re: watir installed to non-default gem path

2009-03-05 Thread Cliff
Additional info and fix: The issue lied in browser.rb:activate_gem gem_name and the directory structure: watir-1.6.2/lib/watir/ After moving everything from lib/watir to lib things work great. On Mar 5, 11:06 am, Cliff cliff.cyph...@gmail.com wrote: Hello Group Has anybody tried running

[wtr-general] Re: enabled_popup internal error

2009-03-05 Thread andrew . dahl
Just no luck. Still not seeing any popup. roles_page.bottom_delete.click_no_wait# = no popup displayed but if I use roles_page.bottom_delete.click #=== popup comes right up On Mar 5, 10:17 am, Jim Matthews jim_m...@swbell.net wrote: One thing I forgot to mention:

[wtr-general] FireWatir bug using exists? on a form element with xpath

2009-03-05 Thread Kevin White
Here is a piece of code that doesn't work in FireWatir 1.6.2: require 'watir' Watir::Browser.default = 'firefox' browser = Watir::Browser.new browser.goto(http://www.google.com;) searchform = browser.form(:xpath, //fo...@name='f']) puts Searchform is #{searchform.to_s} You will get this

[wtr-general] Re: FireWatir bug using exists? on a form element with xpath

2009-03-05 Thread Kevin White
Apologies, that code just demonstrates that xpath isn't working right. I was trying to use .exists? in my code, but the example just is to demonstrate that the xpath doesn't work at all. If you try to do .exists? on a form element using xpath, it fails the same way. --Kevin On Mar 5, 3:48 pm,

[wtr-general] Re: How to send a mail from outlook express using watir

2009-03-05 Thread Jason Trebilcock
The initial question that occurred to me is why you are trying to automate the sending of an email with Outlook Express. Why not leverage Ruby to send the email without the additional complexity of trying to figure out how deal with Outlook Express. Bringing Outlook Express into the equation just

[wtr-general] Re: ie.test_field(name,man).value.to_s / Passing result to a parameter

2009-03-05 Thread Darryl (gem dandy) Brown
maximore, Here is a simple example for to_s usage - require 'watir/ie' $ie = Watir::IE.new $ie.goto(www.google.com) example = $ie.link(:text, 'Preferences').text.to_s puts example sleep 2 $ie.close You may want to change your statement to: result=ie.test_field(name,dayOfBirth).name.to_s

[wtr-general] Re: installing watir behind a firewall on Windows

2009-03-05 Thread Zhimin
You can try install PRoR, pre-packaged Watir and required libraries http://www.itest2.com/articles/2009/02/27/easy-setup-watir-with-pror-on-windows/ Zhimin On Mar 6, 11:12 am, MatchBook jeffrey.fl...@gmail.com wrote: I am not able to install watir on Windows either by using the HTTP_PROXY

[wtr-general] Re: Help Object repository

2009-03-05 Thread Vikas Tulashyam
Hi, You are right, Watir doesn't support object repository concept and even you can't spy the object properties. Thanks Vikas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Re: FireWatir bug using exists? on a form element with xpath

2009-03-05 Thread Angrez Singh
Nice catch, there was a spelling mistake while locating the form using xpath. Fixed it. Will let you know when I check in the code - Angrez On Fri, Mar 6, 2009 at 3:14 AM, Kevin White ilium...@gmail.com wrote: Apologies, that code just demonstrates that xpath isn't working right. I was

[wtr-general] How to set priority in outlook mail

2009-03-05 Thread prasoona alluri
Hi All, How to set priority in Outlook mail , when it contain specified text in message . Please help me. This is a Curtail task for me. Thanks in advance. Regards -Prasoona --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Error while running popup script on eclipse

2009-03-05 Thread kushnit
Hi, I am trying to run a watir script which is used to handle alert popups on eclipse. Its runnig smoothly on SciTE but wen i try to run it on eclipse its throwing a TimeOutException.Does anybody have solution for the same. Following is my program and respective error require 'watir' require

[wtr-general] Re: Help Object repository

2009-03-05 Thread Karthikeyan K
Does anyone have idea on whether Object Repository is being considered in the development roadmap for Watir?? On Mar 5, 8:43 pm, Vikas Tulashyam vtulash...@gmail.com wrote: Hi, You are right, Watir doesn't support object repository concept and even you can't spy the object properties.