[wtr-general] Watir Podcast Episode 68

2017-01-22 Thread Dave McNulla
In episode 68 of the Watir Podcast, we talk to Chris McMahon, an experience Watir developer that (may have been) was the first watir tester to use it in production. Listen Here: http://watir.github.io/watir-podcast-episode-68/ -- -- Before posting, please read http://watir.com/support.

[wtr-general] Watir Podcast Episode 67

2017-01-12 Thread Dave McNulla
In episode 67, I talk to Mark Barzilay of SpriteCloud about their gem to make automation development and execution easier. http://watir.github.io/watir-podcast-episode-67/ Dave -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Watir Podcast 66

2016-12-21 Thread Dave McNulla
Justin Ko, one of the people that answers questions in this group, tells me about how he got started in Watir, why he likes Watir Classic, and more. Give it a listen at: https://soundcloud.com/the-watir-podcast/episode-66 Dave -- -- Before posting, please read http://watir.com/support. In

[wtr-general] Watir Podcast 65

2016-12-14 Thread Dave McNulla
Here is a new podcast (I forgot to add this here). https://soundcloud.com/the-watir-podcast/episode-65-cheezy-returns Cheezy is a friend to our test automation. He developed a page object gem that became the standard for people like us. He is updating that library. He also talks about other

[wtr-general] Watir Podcast Episode 64

2016-11-28 Thread Dave McNulla
I interview Justin Watts about why he likes watir, among a 1000 other topics. You can listen here: https://soundcloud.com/the-watir-podcast/episode-64 Dave -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Watir_drops page object explained in Watir Podcast #62

2016-10-26 Thread Dave McNulla
Watir implementors, I have released another podcast on using Watir with page objects. My guest, Titus Fortner, explains his Watir_drops page object gem. https://soundcloud.com/the-watir-podcast/episode-62-watir_drops Dave -- -- Before posting, please read http://watir.com/support. In

[wtr-general] Re: The Watir Podcast #61 - WatirSome page objects

2016-10-11 Thread Dave McNulla
I forgot to add that. Here is it: https://soundcloud.com/the-watir-podcast/episode-61-watirsome All the podcasts will be there at https://soundcloud.com/the-watir-podcast Dave On Tuesday, October 11, 2016 at 2:28:34 PM UTC-7, artie...@gmail.com wrote: > > is it posted somewhere around here: >

[wtr-general] The Watir Podcast #61 - WatirSome page objects

2016-10-10 Thread Dave McNulla
Listen to WatirSome developer talk about this page object gem, what inspired it, how to get help on it. Dave McNulla The Watir Podcast Host -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http

[wtr-general] Watir Podcast episode 60

2016-10-02 Thread Dave McNulla
Why use Watir when you have a choice of webdriver libraries? Jon Franchi explains in the new Watir Podcast. https://soundcloud.com/the-watir-podcast/episode60-jon-franchi Get the new-guy-view from Jon as he tells about his new experiences. Dave -- -- Before posting, please read

Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
It will be easier to identify 'problems' if you have a baseline, something to compare with. Dave On Thursday, September 22, 2016 at 11:05:01 AM UTC-7, Mike Frank wrote: > > Would qualify as a tester if I've never used it? > > On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla <m

[wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
Info is on the new website. http://watir.github.io/watir-6-beta4 It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it a try. Post issues

[wtr-general] Re: variable for a URL?

2012-10-02 Thread Dave McNulla
Of course. You can store information in a yaml file, ini file, or properties file. Where I work, we use buildr with properties files that allow us to switch the system under test as easily as using a different environment variable: buildr -e test cuke where test represents a test.properties

[wtr-general] Re: generator of watir code for rich web application

2012-05-02 Thread Dave McNulla
There is a library called Selenium Furyhttp://scottcsims.com/wordpress/?cat=26that will generate code for you to access objects on a page. It is not a record and play tool. It is a record and script it yourself tool, but with less work. I met Scott in March. Smart guy with good ideas. Dave

Re: [wtr-general] What step has to do to check all link a website use watir?

2012-04-24 Thread Dave McNulla
I agree with Chuck on this. The net/http is the quickest and easiest way to check for broken links. Be cautious about web pages that send nice message-type web pages instead of hard error code pages. Dave On Monday, April 23, 2012 3:14:58 PM UTC-7, Chuck van der Linden wrote: Or check this

[wtr-general] Watir Podcast #47

2012-04-12 Thread Dave McNulla
Chuck VDL and I interviewed each other for the watir podcast at the Test Automation Bazaar. You can listen at: WatirPodcast.comhttp://watirpodcast.com/47-chuck-van-der-linden-and-dave-mcnulla-at-test-automation-bazaar/ My apologies go to Jari Bakken, Brahma Ghosh, and Andy Vida because I

Re: [wtr-general] Flex and Flash along with Watir

2012-04-01 Thread Dave McNulla
I have not spoken to anybody that has successfully used any automation tool on a Flex site. Dave On Friday, March 30, 2012 5:28:17 PM UTC-7, Chuck van der Linden wrote: Flash is just flat out not very automation friendly. (and it has lately been a bit of a vulnerability vector, with a lot

[wtr-general] On the Fence about the Test Automation Bazaar?

2012-03-19 Thread Dave McNulla
Maybe this will influence you - a big discount is available to the Test Automation Bazaar http://watir.com/2012/01/09/join-us-at-the-test-automation-bazaar/in Austin Texas. Contact me by the end of Tuesday to get the discount code. All I know is, I was trying to win the football game. And the

[wtr-general] Re: Reporting test results via email

2012-03-11 Thread Dave McNulla
Yes, you can email the results but it has nothing to do with watir, spec, or cucumber. If you are running off of a continuous build system (Cruise Control, Hudson, Jenkins, Bamboo, etc.) that system will probably support integrating the results into the build report and emailing that. If you

[wtr-general] Re: How often do you need to reach database on your projects?

2012-03-11 Thread Dave McNulla
Some do and some don't. I prefer to check databases over verifying test results via a GUI (part of my good practices in automated testing rules:http://wp.me/pnUye-7Z). Dave On Wednesday, March 7, 2012 12:42:14 AM UTC-8, Pedro Nascimento wrote: This is not a question only to Taza users, but

[wtr-general] Re: putting assertion if element not present

2012-03-08 Thread Dave McNulla
What kind of message are you looking for? It's timing out looking for the object that doesn't appear (or does it?). If you want to control the error reported, you could do that. begin whatever.wait_until_present rescue raise whatever message you want end Dave On Wednesday, March 7, 2012

[wtr-general] Re: How to wait for javascript generated elements?

2012-03-05 Thread Dave McNulla
Another more generic option is to ask the developers to place an invisible object on the page when the javascript completes, then wait_until_present for that. Dave On Monday, March 5, 2012 9:34:56 AM UTC-8, cootcraig wrote: I'm using watir for the first time. The site I'm working with

[wtr-general] Re: Windows 8 and IE 10

2012-02-28 Thread Dave McNulla
It's ahead of many different curves. I saw an HP presentation on their tools today. They were trying to sell something called virtual services, which amounted to something that creates stubs from wsdl's - that's been free on some tools for years. Dave On Tuesday, February 28, 2012 1:56:30 PM

[wtr-general] Re: Is Watir being used by your developers?

2012-02-08 Thread Dave McNulla
@George, In my last job Watir was used a lot. The developers on the GUI preferred to use java-based webdriver. In my current job, I was using a Ruby/Mechanize class file that some developers used because they could interact with it (in IRB). If you think they won't embrace it, you should find

Re: [wtr-general] Re: Failing loop when using watir-webdriver

2012-02-08 Thread Dave McNulla
Mark The table does not exist as you have described it so you cannot get it's collection. Simplify the if statement to what will detect the table's existance. You must also use that when getting the collection of rows from the table. if browser.table(how = what).exists? Good luck, Dave --

[wtr-general] Re: Failing loop when using watir-webdriver

2012-02-03 Thread Dave McNulla
I tried your URL. It said there were no properties at that postal code. Can't you look for div id=contentalt? unless browser.div(:id = 'contentalt).exists? do #loops here. end Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Re: What Email Provider is best used with Watir?

2012-02-01 Thread Dave McNulla
Watir can automate stuff (even if you aren't testing), but if you just want to automate a process with the fewest points of failure, skip the browser and go directly to the server. The gems Željko mentioned are great for that. Dave -- Before posting, please read http://watir.com/support. In

[wtr-general] Re: watir help

2012-02-01 Thread Dave McNulla
For the first question, I would try these: browser.link(:href = /productpref=catalog/).click browser.link(:text = 'catalog').click For the second question, I would try these: browser.link(:text = 'Active').click browser.link(:href = /List Catalogs/).click Of course I wouldn't give up if those

[wtr-general] Re: Watir Keyword Driven Framework

2012-01-22 Thread Dave McNulla
Where is your script (contents of google.xls)? Maybe you forgot OpenURL. Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Re: asserting on text that may have special characters

2012-01-19 Thread Dave McNulla
Have you tried splitting it into 2 parts? txt = 103481 Company$reg; Some product puts fail unless (test.match /103481 Company/) (test.match /Some Product/) -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: use shoes with watir

2012-01-10 Thread Dave McNulla
Sounds like shoes has an unsupportable design. You could try to fix that, but it's probably a lot of work. Your alternative is to use an older ruby/watir. Good luck Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Re: use shoes with watir

2012-01-09 Thread Dave McNulla
can't you just run c:\ gem -v to see the version you are using of gems? And if you are using the wrong one, run c:\ gem update --system Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Test Management GUI for Watir

2011-12-14 Thread Dave McNulla
http://www.opensourcetestmanagement.com/ The only one in the list that I've used was Fitnesse. You may already have tools that work well with Watir. for instance, if you use confluence, you can try this: http://watirmelon.com/2008/04/13/watir-tests-from-wiki-page/ Good luck, Dave -- Before

[wtr-general] Re: Keyword Driven Framework

2011-12-01 Thread Dave McNulla
I prefer watir over other libraries, but there are some clear advantages from Selenium. Watij and Watin are better for people using those languages regularly (java and .net respectively). I have to confess to having made two frameworks of keyword driven variety. I doubt that I would ever do it

[wtr-general] Re: problem with acces test data using openoffice org calc

2011-08-19 Thread Dave McNulla
It looks like your issue is not related to the test data at all, but finding the text_field. If you comment out that line and use this instead, do you still get that error? ie.text_field(:id,'username').value=Not Test Data User I would try that. Also, if you post the web page source here, other

[wtr-general] Re: unknown property or method 'document' when navigating to short URLs

2011-07-29 Thread Dave McNulla
When you navigate to those two url's manually through the same browser on the same system, do you get the same html page? I've seen problems caused by missing qualified domain name in the DNS suffix list. Dave -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Re: Need help with Rspec and Watir Webdriver

2011-06-29 Thread Dave McNulla
Can you post the error messages so we can see what problems there were? Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Re: Have a problem to accessing element inside iframe

2011-06-14 Thread Dave McNulla
Dave I tried this, seemed to work for me. $browser.frame(:name,main_content).text_field(:id,id=advancedSearchInterface.jobNumberInput).flash I try to avoid xpath unless it's a hairy mess that requires it, like maybe in a special table. Good luck, Dave -- Before posting, please read

Re: [wtr-general] Re: The simplest Log

2011-05-31 Thread Dave McNulla
Oh, I thought that was standard library. I was also sure that I had used it before, but maybe not (not in my path either). I found a copy of it by googling, which is a good tool to become friends with. http://redmine.ruby-lang.org/attachments/256/ruby-changes.patch Good luck, Dave --

[wtr-general] Re: Test field for valid/invalid email formats

2011-05-31 Thread Dave McNulla
Here's a little help on that: http://ruby.about.com/od/regularexpressions/a/pracemail.htm http://adamloving.com/internet-programming/common-ruby-regex-patterns Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: The simplest Log

2011-05-24 Thread Dave McNulla
You can use a this xml option in the testrunner: http://systir.rubyforge.org/classes/Test/Unit/UI/XML/TestRunner.html $ ruby -rtest/unit/ui/xml/testrunner test/test_1.rb --runner=xml You can open that with a number of products that would allow you to get down to the basics (excel, access,

[wtr-general] Re: Watir Podcast #45: Bret Pettichord’s Opening Keynote at Selenium Conference 2011

2011-05-23 Thread Dave McNulla
I enjoyed it too. Especially the scientific method. Try it, see if it works. Ever since I read Bach's Test Automation Snake Oil in '96, I've always tried to follow sound principles. I've also tried to learn from mistakes, even those that others have made. I still think that recorders are good

[wtr-general] Re: The simplest Log

2011-05-23 Thread Dave McNulla
What kind of test framework are you using, test unit? I can run those in eclipse and the results are easy to ready. I'm sure there are edits that you can make to the test runner. https://lh3.googleusercontent.com/-9xbdw7FKGKo/Tdrawu1GzQI/Etc/Gv9n3HVFvI4/TestUnit.JPG Dave -- Before

[wtr-general] Re: can't convert NameError into String (TypeError)

2011-03-22 Thread Dave McNulla
You probably have an error in one of your string parameters. My guess is the $! If you don't have a ruby debugger, try a puts statement: puts testReport puts 'Test crashed with reason ' puts $! puts 'FAILED' puts 'Test crashed! you should be able to find out which isn't working. Good luck,

[wtr-general] Re: Output to xls or .cvs file

2011-03-21 Thread Dave McNulla
I would find what is nil. check line 78 of your ffscript to see what is happening there. On a side note, I would restructure the loop you are using. this is assuming that the a array has 30 elements or that you always want to process only 30 elements. for x in 0..30 do ff.div(:id,

[wtr-general] Re: Need Help in Modal Dialog

2011-03-19 Thread Dave McNulla
Rephrase: I am not able to get watir to... There's lots of examples of code solutions here: http://wiki.openqa.org/display/WTR/Pop+Ups Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] How to exit from for loop

2011-03-18 Thread Dave McNulla
Another Ruby question. You could try a break: http://www.wellho.net/mouth/962_Breaking-a-loop-Ruby-and-other-languages.html My favorite is goto for i in1..5 blah blah blah goto funnyfarm if i.am.crazy end :funnyfarm puts help, I'm in a batch script and I can't get out Sorry, just having a

[wtr-general] Re: Output to xls or .cvs file

2011-03-18 Thread Dave McNulla
That's a ruby question. f2.puts #{a[x]},#{url}.#{Time} In a string, you want to encapsulate variables and code using #{}.You can do code in addition to variables. In the following examples, I am finding the logged times for a web service call and it's response. I have am putting it into a

[wtr-general] Re: Click on the link in a cell of a table

2011-03-16 Thread Dave McNulla
Be a giver and a getter. If you can't be both, be a giver. Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: Application crashes on first execution

2011-03-16 Thread Dave McNulla
I always open Firefox with the -jssh parameter before I run the script e.g. firefox -jssh Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Re: Contains Text

2011-03-07 Thread Dave McNulla
What does your code look like? Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: Contains Text

2011-03-07 Thread Dave McNulla
It worked for me - I tried it with the exact text and I tried it with the second G missing from engineering. I also tried it like this (I jammed the whole IF clause into ternary statement): puts #{browser.title.to_s}, #{browser.contains_text('My Engineering Services')? 'Text Available': 'Text

[wtr-general] Re: Test framework setup question (variables)

2011-03-02 Thread Dave McNulla
This is not a watir question, it's a programming question. I would either pass them in as commandline parameters or store them in a separate spreadsheet. I would use them at the top level and pass them into the login function (I always have a login function) that handles that part, or pass

Re: [wtr-general] Can't find an element in a page with javascript:gotolink

2011-03-01 Thread Dave McNulla
mss, from your attachment, I was able to find the link with xpath: browser.link(:xpath, //a[contains(@href , 'showDownloadLanding.do')]).click Here's a tutorial on it: http://angrez.blogspot.com/2006/06/xpath-and-watir.html Good Luck, Dave -- Before posting, please read

[wtr-general] Re: [ANN]VTD-XML 2.10

2011-03-01 Thread Dave McNulla
'dontcare' His name says it all. Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

Re: [wtr-general] Re: Need to get/retrieve value

2011-02-28 Thread Dave McNulla
I found it quite entertaining. I accidentally laughed water (or was that watir?) through my nose. Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Re: Error on re-executing the script

2011-02-25 Thread Dave McNulla
Ashu, Sorry, but I have no idea what happened from your message. Try to treat this like a defect that you are submitting to a tracking system: how to reproduce, happened/expected, configuration info (versions of ruby, watir, FireFox, etc.), what problem you are trying to solve with the

[wtr-general] Re: Identify Flash Objects - to write

2011-02-24 Thread Dave McNulla
V, Just do you know, this is not your automation technical support team. You will get more help if you ask questions in a polite way because everybody on this forum volunteers their time and answers. You will also get more help if you ask in the right group. There is a firebug group:

[wtr-general] Re: Disable file download popup in IE

2011-02-16 Thread Dave McNulla
I saw your question in StackExchange and the only answer was what I suspected - that solution avoids the information bar, not the Save/Run/Cancel dialogs. I found something interesting from WinZip. Seems that IE may have mime type decision making for downloads. Maybe we could create a registry

Re: [wtr-general] Re: Accessing file_field under div style

2011-02-14 Thread Dave McNulla
Jari, I don't think it's a bug, probably something to do with versions/my set-up, or maybe my security settings for Vista. I will look into it soon and submit a bug if I can't get it to work. Thanks -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] Re: Accessing file_field under div style

2011-02-13 Thread Dave McNulla
I had to set up watir-webdriver to test this out. Seems that it doesn't work on IE for me at all (doesn't run), but who's got time to debug that. On Chrome, the field is never found. It works with Watir (I only tried with IE). I'd heard that watir-webdriver didn't support popups (required for

[wtr-general] Re: Unable To Open Firefox Browser

2011-02-06 Thread Dave McNulla
Did you start firefox with the jssh parameter? My firefox shortcut looks like this: C:\Program Files\Mozilla Firefox\firefox.exe -jssh I run that shortcut (opens firefox) before I run a test. Good luck, Dave On Feb 6, 12:12 am, watirlearner kinib...@gmail.com wrote: I am learning Watir and

[wtr-general] Re: Working with two browser instances in FireWatir

2011-02-03 Thread Dave McNulla
I think that is watir-webdriver, not webdriver. I tried watir and got the same results as you. Dave On Feb 3, 5:34 am, Alastair Montgomery doodl...@gmail.com wrote: Just found similar issue raised on StackOverFlowhttp://stackoverflow.com/questions/3980001/using-watir-to-control-mul... Is

[wtr-general] Re: Methods in custom libraries

2011-02-01 Thread Dave McNulla
That is a general question, should address it to the Ruby group. But I don't mind giving advice when I can. Put a little code in here so I get idea of what you are doing. Dave On Feb 1, 8:05 pm, dt_nz david.tay...@sungard.com wrote: Hi there I am working testing a couple of different web apps

[wtr-general] Re: Multithreading WATIR Script

2011-01-25 Thread Dave McNulla
When I have trouble with tailoring something that is new to me, I step backward to the original and make sure that worked before I made changes. In that thread, the suggestion is to run the unit test. Maybe you can try that to see if you get success there. If the original doesn't work, then you

[wtr-general] Re: How to click on the Save button from PDF file opened in a browser window

2011-01-25 Thread Dave McNulla
Adobe Acrobat Reader is a special application (in IE at least). I used the developer toolbar to identify the Save button object and the html for the page never came up. I am not able to view source either. Page I tested:

[wtr-general] Re: Select div by style

2011-01-22 Thread Dave McNulla
Div's cannot be found by style. Use this chart to see what they can be found by: http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir You can find the div by ID then check if it's visible until browser.div(:id, bloglist_processing).visible? sleep 0.5 end Good luck Dave On Jan

[wtr-general] Re: need assistance in error

2011-01-16 Thread Dave McNulla
I think you should update watir. 1.4.1 is kind of old. Dave On Jan 15, 3:23 am, Bala bala81...@gmail.com wrote: Hi All, First and foremost I must admint that, I am completely new to watir and to ruby. I am trying to take my first steps in attempting to automate one our our testing

[wtr-general] Re: Watir virtual appliances?

2011-01-13 Thread Dave McNulla
For $.50 a day we can run a VM in the cloud? I can hear Sally Struthers getting in on this. All around the world there are Watir scripts that can't run and play with web pages, but for pennies a day, you can help them find a home. Dave On Jan 13, 6:59 am, Emmanuel Cecchet cecc...@gmail.com

[wtr-general] Re: CookieManager/cookie api

2011-01-04 Thread Dave McNulla
Wow, I never even knew it was there. I created a special ruby script to delete cookies last year. I think it's a great idea. Dave On Jan 3, 1:49 pm, Charley Baker charley.ba...@gmail.com wrote: Hi all,   Currently in the Watir gem, there is a library which is old and untested for Cookie

[wtr-general] Re: I18n support in watir/ruby.

2011-01-04 Thread Dave McNulla
A colleague in China sent me this, I hope it helps. Dave --- Hi Dave, In ruby, when you need to input the non-English characters, you may need to convert the characters to the right encoding. In my testing environment, I use the Chinese OS. Ruby 1.8.7 + Watir 1.6.5. It seems that

[wtr-general] Re: Verify that all page requests are finished

2010-12-29 Thread Dave McNulla
That sounds really ugly from a usability standpoint. Maybe it could be implemented as a wizard, get input, click Next, get next set of choices, select one, click next, etc. The hard part there is getting people to scrap a bad design - they love their output even if it's ugly. You'll have to find

[wtr-general] Re: Watir and appscan

2010-12-29 Thread Dave McNulla
An application like that needs to have it's own scripts. Did you look at Oedipus? It's one of the things I have wanted to learn about but didn't get to yet. I cannot find the right download for it now. Good luck, Dave On Dec 29, 7:05 am, Dan dfra...@gmail.com wrote: Good Morning.  Anyone used

[wtr-general] Re: How to check a text in the lightbox (javascript)

2010-12-29 Thread Dave McNulla
Like Sharma and Željko said, we want to know what Watir sees. Even though your eyes see the text, Watir doesn't have human eyes. It parses html. We should be able to examine that html either by you posting it or providing a link. To post html, navigate until the lightbox appears, right click and

[wtr-general] Re: HELP: FunFX + Watir not running in windowsXP:OLE error code:80020101 in Unknown

2010-12-20 Thread Dave McNulla
I experimented with FunFX and Watir a few weeks back. If I recall correctly, there was a bug that prevented using IE. I will look back at my browser history to see if I can find the websites with the issues documented. Dave On Dec 19, 7:45 pm, liu.l...@zte.com.cn wrote: HELP: FunFX + Watir not

[wtr-general] Re: HELP: FunFX + Watir not running in windowsXP:OLE error code:80020101 in Unknown

2010-12-20 Thread Dave McNulla
http://groups.google.com/group/funfx/browse_thread/thread/808ec99051128e62 Sorry, I didn't research it more. Dave On Dec 19, 7:45 pm, liu.l...@zte.com.cn wrote: HELP: FunFX + Watir not running in windowsXP:OLE error code:80020101 in Unknown Hello everybody, sorry for my poor english. I want

[wtr-general] Re: help-please: cucumber-watir tutorial

2010-12-13 Thread Dave McNulla
that's on my wish list. i'll probably buy it next. dave On Dec 13, 10:39 am, Chuck van der Linden sqa...@gmail.com wrote: http://www.pragprog.com/titles/achbd/the-rspec-book buy and read On Dec 12, 4:39 pm, Basim Baassiri ba...@baassiri.ca wrote: Have you read any information

[wtr-general] Re: Data Driven testing

2010-12-06 Thread Dave McNulla
Kay, I would recommend against validating data unless it's absolutely necessary. You should be able to submit the data that will support the test you are running then you run the test, then you clean up the data. The first and last steps may be done through sql commands, API calls, or web

[wtr-general] Re: How to select a value from a drop down list

2010-12-04 Thread Dave McNulla
Sudeep, That is pretty basic. Did you try googling it, check on watir.com etc.? Good luck, Dave On Dec 4, 3:00 am, Sudeep sudeeppattn...@gmail.com wrote: Hi, Please can you let me know how to select a value from the drop down list through WATIR script? The HTML is as follows. div

[wtr-general] Re: WatirRecorder being forked and resurrected.

2010-12-03 Thread Dave McNulla
That's what I use recorders for - to scrape and to learn. They don't always scrape what I want (capture ID when I want name, text when I want ID, etc.). Sounds like a nice feature to be able to specify priority of properties. Good luck Enrique. Let me know if you would like some ideas or for a

[wtr-general] Re: Methods written in Tear down not working consistently

2010-11-27 Thread Dave McNulla
I agree. I would start fresh for every test case. Maybe that makes it run too slowly? Regarding Željko's comment, I found that rspec has 2 different kinds of teardown after(:all) - runs after each it test case after(:each) - runs after the last it test case http://rspec.info/documentation/ That's

[wtr-general] Re: Issues for login modle failed in watir 1.6.7

2010-11-27 Thread Dave McNulla
Kingson, I hate saying this, but it worked on my computer. What was line 4, setting the text for the user's email address? Anyway, I have ruby 1.8.6 and watir 1.6.6 - I tried it with watir 1.6.7 too, also worked. Good luck, Dave On Nov 25, 10:06 pm, Kingson Zhou xiaomayi0...@gmail.com wrote:

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
LittlePaws If you stop execution at that command, what happens? As for the right click, I've never used that but I did find this: http://wiki.openqa.org/display/WTR/Right+Click+an+Element There are also some topics in this forum (put right click in the text box above and click Search this group

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
with IE6, at least) br.send_keys(R) #the number of 'downs' changed from IE6 to IE8, so I used the r which opens the properties. This shows there is some versatility in it. #~ br.send_keys({DOWN}{DOWN}{DOWN}{DOWN}{ENTER}) br.send_keys(R) Dave On Nov 21, 3:26 pm, Dave McNulla mcnu...@gmail.com

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
at the command 'click', a new window shows up for half a second and immediately disappears. Any idea why this happens? On Nov 21, 6:26 pm, Dave McNulla mcnu...@gmail.com wrote: LittlePaws If you stop execution at that command, what happens? As for the right click, I've never used that but I

[wtr-general] Re: Creating a class

2010-11-19 Thread Dave McNulla
1. You had the assert in the Google class 2. You should let the class do the manipulation of the object See the changes that I made. Good luck, Dave require rubygems require firewatir require test/unit class Google def initialize Watir::Browser.default =

[wtr-general] Re: Handle Security warining

2010-11-19 Thread Dave McNulla
Litha, Did you try this solution? http://groups.google.com/group/watir-general/browse_thread/thread/232df221602d4cfb Good luck, Dave On Nov 18, 1:13 pm, Litha K litha...@googlemail.com wrote: Hi all, I may be repeating this question regarding pop-ups, but all my searches were in vain,

[wtr-general] Re: Writing and running WATIR scripts

2010-11-18 Thread Dave McNulla
I do not remember a scite editor being installed when I installed Ruby 1.9.2 either, but did get it with 1.8.6 and 1.8.7. It was a convenient starter IDE for me, but it's not necessary. I would advise learning ruby/watir in IRB - it's so interactive and easy to try over and over until you get it

[wtr-general] Re: Automating websiet implemented using AJAX

2010-11-18 Thread Dave McNulla
I would advise the team that you are working on about the testability of your product. Which is more inconvenient, adding the capability to automate, or running manual tests FOR THE REST OF YOUR LIFE! If you can get the developers to write at least the occasional test, they will want to help you

[wtr-general] Re: Excel interface class - does excel actually need to be installed

2010-11-18 Thread Dave McNulla
Able to use google.docs spreadsheets? That's cool, a world-wide central repository for test data.I like it. Dave On Nov 18, 1:04 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Nov 17, 2010 at 11:10 PM, Dan dfra...@gmail.com wrote: Hello!  This may be a silly question, but

[wtr-general] Re: Excel interface class - does excel actually need to be installed

2010-11-18 Thread Dave McNulla
No, it's genuine. Maybe I get too excited about stupid things, people think I'm mocking it. ;-) Dave On Nov 18, 7:49 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Nov 18, 2010 at 4:47 PM, Dave McNulla mcnu...@gmail.com wrote: Able to use google.docs spreadsheets? That's

[wtr-general] Re: Watir tests - result reporting

2010-11-13 Thread Dave McNulla
Alastair, I did not try this, but I think it should look like this for the most part. Don't forget to use the 'spec' command (not the 'ruby' command) - I lost a day trying to figure out that mistake. Here are some practices that I try to do with tests: 1. instead of making assumptions about data

[wtr-general] Re: using Watirgrid on unit test cases

2010-11-11 Thread Dave McNulla
Wow, that's pretty open-ended type of question. There are so many ways to do things with these tools. The easy answer to give is it depends on what you want to do. Here is an rdoc example of watirgid: https://github.com/90kts/watirgrid/blob/master/EXAMPLES.rdoc From that, it looks like the grid

[wtr-general] Re: Problem clicking with element_by_xpath

2010-11-10 Thread Dave McNulla
Ethan, You have some really good ideas in there. How committed are you to Vapir? Just curious. I think the Watir community is pretty strong. How adoption and community affect sustainability are going to affect people's decisions for which library to use. Just my opinion. Either way, keep the

[wtr-general] Re: Which Watir Configuration is Fastest

2010-10-24 Thread Dave McNulla
On Oct 23, 7:13 pm, Aaron aaron.t.che...@gmail.com wrote: Hi, I found watir a couple weeks ago, and have been very excited to try it out.  I just finished writing a test with watir 1.6.5, and i've found that it is too CPU intensive to run more than one instance at a time on a server.  I'm

[wtr-general] Working with gwt Tables

2009-10-23 Thread Dave McNulla
Does anybody have sample code for working with gwt Tables? I can figure out some basic stuff, but the rows in the table are really divs that have a one row table in them. It's difficult to work with the table to identify what all is in there, and which row each thing appears on. Here is the

[wtr-general] Re: Working with gwt Tables

2009-10-23 Thread Dave McNulla
Thanks. First time I've dealt with them so I didn't know if the dev was taking shortcuts or wasn't possible. Now I have a plan of action. Thanks for taking the time! Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: Is the FireWatir-Watir integration working for you?

2009-01-05 Thread Dave McNulla
Didn't try it yet. We have a framework that is based on faucets and tailored for our application. I wanted to try over the holidays, but wasn't motivated enough. I'll see if I can try it before the Austin conf later this month. Dave --~--~-~--~~~---~--~~ You

[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-11-28 Thread Dave McNulla
On Nov 26, 6:42 pm, Dave McNulla [EMAIL PROTECTED] wrote: On Nov 26, 1:00 am, Jarod Zhu [EMAIL PROTECTED] wrote: I am using firewatir-1.6.2 to make a web automation tool in my project. I come to the problem that I can't click the javascript popup OK button successfully. I use

[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-11-26 Thread Dave McNulla
On Nov 26, 1:00 am, Jarod Zhu [EMAIL PROTECTED] wrote: I am using firewatir-1.6.2 to make a web automation tool in my project. I come to the problem that I can't click the javascript popup OK button successfully. I use the code like this:

[wtr-general] Re: Watir Podcast

2008-11-26 Thread Dave McNulla
Can you ask Paul about alternatives to the pesky dialog handling w/ autoit, mainly how to avoid needing to test them or how to avoid having them? Alerts don't seem so hard to replace but the file upload/ download dialogs seem necessary. Thanks Dave

  1   2   >