[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. watir

[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

[wtr-general] Watir Podcast 65

2016-12-14 Thread Dave McNulla
great libraries that he has developed. Listen and enjoy. In addition, I'd like to know more about the types of things you would like to hear. Feel free to reply to this thread. Thanks Dave -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice

[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

[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 aroun

[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 http

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
file, and cuke runs our cucumber feature files. Hope that helps, Dave On Tuesday, October 2, 2012 2:28:25 PM UTC-7, Ry wrote: I will try my best to explain my question. Is it possible... I have several sites, they are essentially the same, (same menus, reports ect..) the GUI

[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

[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
. And the bottom line is, you have to do what you think is right. You have to go with your gut. And if you don't do that, then I think you regret a lot of things later on. Mike Singletary Don't live with regret. Join us and learn. Dave -- Before posting, please read http://watir.com/support

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

2012-03-11 Thread Dave McNulla
are not using that kind of system, you can create your own ruby script to email the results using a library such as https://github.com/dcparker/ruby-gmail. Good luck Dave On Saturday, March 10, 2012 7:57:29 PM UTC-8, Raymund Sucgang wrote: Hi, I'm new to Watir and still trying to pour over

[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

[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

[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
out why. If your goal is to propogate your own solution, you may be unsuccessful. If you goal is to solve their problems, you can do that by being flexible. Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general

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. watir

[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

[wtr-general] Re: watir help

2012-02-01 Thread Dave McNulla
did not work, but I would try to following identification methods (probably in that order) OR a combination of them: :href :name :id :text :index :class :html :after :xpath http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir Dave -- Before posting, please read http://watir.com

[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 watir-general+unsubscr

[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. watir-general

[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 http

[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 would still use a system like that for data driven tests, just not keyword driven. Good luck on that. 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

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

2011-08-19 Thread Dave McNulla
people can try it too. Finally, I agree about using the roo gem - it's a good choice. I am not sure it will fix your problem. 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

[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-30 Thread Parag Dave
the xpath with the Firefox Xpather and also with Inspect element xpath generator. As i have to use xpath, as application i am testing that might possible to add id and name for all elements. On Jun 29, 4:28 pm, Dave McNulla mcnu...@gmail.com wrote: Can you post the error messages so we can see

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

2011-06-30 Thread Parag Dave
Sorry Michael Next time i will keep in mind that to post formatted code. By the way the code that you post that also did not work for me. ./test8.rb:31: undefined local variable or method `have' for Spec::Examor) from c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/ examplal' from

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

2011-06-29 Thread Parag Dave
I need some help with watir-webdriver and rspec. To generate the report on basis of the test pass or fail. I created this file and run the command in the CMD rspec rspec test6.rb -fh -reporttest6.html I got list of error. One of them text_field is the undefined method. Other are it can not

[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 watir-general+unsubscr

[wtr-general] Re: How to get list content

2011-06-28 Thread Parag Dave
...@gmail.com wrote: This should point you in the right direction:http://rdoc.info/gems/watir/1.9.0/Watir/Container#lis-instance_method Hope it helps. orde On Jun 27, 9:13 am, Parag Dave parag...@gmail.com wrote: Hi All Geeks, Here i have some easy question ;) (That's why i am

[wtr-general] Report generation with the Watir

2011-06-28 Thread Parag Dave
Hello All, Here is the one important question. How can i generate report (That has visual identification like Fail test is in red line or any symbol and Pass test is in Green) with watir. Also how much time it took in the one test script. Is there any tool or gem that help to create logger

[wtr-general] Re: Report generation with the Watir

2011-06-28 Thread Parag Dave
Dave parag...@gmail.com wrote: How can i generate report (That has visual identification like Fail test is in red line or any symbol and Pass test is in Green) with watir. Also how much time it took in the one test script. Is there any tool or gem that help to create logger report generation

[wtr-general] How to get list content

2011-06-27 Thread Parag Dave
Hi All Geeks, Here i have some easy question ;) (That's why i am asking) $browser.table(:id, 'recent_records').to_a returns the number of row in the table, but if i want to count the number of list ul li id=32 li id=33 li id=34 li id=35 ul Here

[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. watir-general

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

2011-05-24 Thread Dave McNulla
, probably some open-office.org products, etc.). There is plenty of stuff to research if you want more options. Good luck, 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

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

2011-05-23 Thread Dave McNulla
for something, though. I like capturing the objects' details quickly that way. With that in mind, though, I think there could be a more effective way to do that. Maybe that could be a way to create the stubs of page objects. Dave -- Before posting, please read http://watir.com/support

[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
, 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: Output to xls or .cvs file

2011-03-21 Thread Dave McNulla
]).fireEvent(onmouseup) end If you want to get every element, you could never worry about size changes to Array a if you did this: a.each { |x| ff.div(:id, x).fireEvent(onmouseup) } Goodluck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice

[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 http

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

2011-03-18 Thread Dave McNulla
a little fun this morning. 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: Output to xls or .cvs file

2011-03-18 Thread Dave McNulla
it into a csv file for analysis later. line = %Q(#{counter},#{user},#{temp.type},#{temp.wstype},#{completionTime},#{getPrettyTime(temp.timevalue)},#{temp.cleanMessage},#{getPrettyTime(match.timevalue)},#{match.cleanMessage}\n) File.open(@csvFile, 'a+') {|f| f.write(line) } Dave -- Before posting, please

[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 watir-general+unsubscr

[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
Not Available'} Good Luck, 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: Test framework setup question (variables)

2011-03-02 Thread Dave McNulla
them into a domain-specific class instance where they will live until the instance no longer exists (testing is done). I cannot imagine only having one user login for all of my tests, that's could be specific to the product I test. Good luck, Dave -- Before posting, please read http://watir.com

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 http://watir.com

[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 watir-general

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

2011-02-25 Thread Dave McNulla
with the automation. Good luck, 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: Identify Flash Objects - to write

2011-02-24 Thread Dave McNulla
://groups.google.com/forum/?lnk=srghl=enie=UTF-8#!forum/firebug Good luck, 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: Disable file download popup in IE

2011-02-16 Thread Dave McNulla
change to fix this problem? http://kb.winzip.com/kb/entry/69/ 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: 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
for setting a file_field), but never investigated that. Good luck, 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: 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

[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

[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
may have another issue to deal with. BTW, browsers have changed a little since 2008. Maybe that has something to do with it. My IE creates a separate process for each thread. Are you getting multiple threads? Which version of IE are you using? Good luck, Dave On Jan 25, 1:11 pm, watirboy

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

2011-01-25 Thread Dave McNulla
/thediaryofatestmanager.pdf You probably need a special tool or library for that. Good luck, Dave On Jan 25, 3:42 pm, Shri shripad.deshpand...@gmail.com wrote: Hi, I want to click on the Save button of the PDF file which is opened in a browser page. Below is the detail description, 1) I click on a link

[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 wrote

[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

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

2010-12-29 Thread Dave McNulla
an effective way to get them to scrap it. Other possibilities (not sure which will work): * wait until clicking on the next field does not produce a popup (sounds like it wouldn't work) * look for an attribute change in the next field, wait until that happens Good luck, Dave On Dec 28, 7:06 am

[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
and select Show Source (or something similar), then copy the html, especially that part with the text you saw visually. Thanks Dave On Dec 29, 12:54 am, Irfan Ahmed irfan...@gmail.com wrote:  browser.text.enable?(text).should == true. It is not working. :( as the text was from java script

[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

[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] firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
So I've been able to cast a string Link to a Firewatir::Link class by the following: CastedObject = Object.const_get(FireWatir).const_get(Link).new(@ff,identifier,keyword) which in place of Link allows me, with of course enough validation, accept a dynamic string, ex. Link, Image etc. to allow

[wtr-general] Re: firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
I think, in my head, it might have something to do with the fact that, while it may use the same methods as Watir and FireWatir, it overrides it with calls to appscript... Which could mean trouble for what i'm trying to do... On Dec 10, 2:36 pm, dave davidrey...@gmail.com wrote: So I've been

[wtr-general] Re: firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
mean to be harsh, you're trying to bend the language and not bend yourself. Charley Baker Lead Developer, Watir,http://watir.com On Fri, Dec 10, 2010 at 2:23 PM, dave davidrey...@gmail.com wrote: I think, in my head, it might have something to do with the fact that, while it may use

[wtr-general] Re: firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
mean to be harsh, you're trying to bend the language and not bend yourself. Charley Baker Lead Developer, Watir,http://watir.com On Fri, Dec 10, 2010 at 2:23 PM, dave davidrey...@gmail.com wrote: I think, in my head, it might have something to do with the fact that, while it may use

[wtr-general] Re: firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
, if not then use roo or something, don't invent your own. Charley Baker Lead Developer, Watir,http://watir.com On Fri, Dec 10, 2010 at 3:26 PM, dave davidrey...@gmail.com wrote: Trying to implement keyword driven framework... Which works in FIreWatir. Rather than doing some

[wtr-general] Re: firewatir vs.safariwatir instantiation and casting

2010-12-10 Thread dave
rewrite it. It's done and done. SLIM offers something. Take a look at that. Charley Baker Lead Developer, Watir,http://watir.com On Fri, Dec 10, 2010 at 3:53 PM, dave davidrey...@gmail.com wrote: Parsing the excel sheet is easy. The trick is getting the non-Ruby writers to be able to write

[wtr-general] Re: Data Driven testing

2010-12-06 Thread Dave McNulla
on cooperation and trust in the test teams. Good luck, Dave On Dec 6, 6:19 am, Kay karthigaya...@gmail.com wrote: Thanks Zelijko, will look at it. Cheers, Kay On Dec 6, 9:34 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sun, Dec 5, 2010 at 10:58 PM, Kay karthigaya...@gmail.com

[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 class

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

2010-12-03 Thread Dave McNulla
or for a beta tester. Dave On Dec 3, 12:04 pm, Charley Baker charley.ba...@gmail.com wrote: No worries. I'm curious to see how it goes. Like I say, there's potential for a scraper, recorders can lead into a large abyss between newbie and intermediate scripting, as well as countless other problems

[wtr-general] Accessing internal FireWatir methods -- get_links()

2010-12-02 Thread dave
I was checking out the showLinks() method http://wtr.rubyforge.org/rdoc/1.6.5/classes/FireWatir/Firefox.html#M000133 and checking out the source # File firewatir/lib/firewatir/firefox.rb, line 782 def show_links links = Document.new(self).get_links puts There are #{links.length}

[wtr-general] Re: variablize ff.link(identifier,keyword).exists?

2010-12-01 Thread dave
, dave davidrey...@gmail.com wrote: Currently, ff.link(:name,/google/).exists? works and returns true. However, if I variablize things sname = :name skeyword = /google. ff.link(sname,skeyword).exists? returns false. Is there any text that states how to go about this? Thanks

[wtr-general] variablize ff.link(identifier,keyword).exists?

2010-11-30 Thread dave
Currently, ff.link(:name,/google/).exists? works and returns true. However, if I variablize things sname = :name skeyword = /google. ff.link(sname,skeyword).exists? returns false. Is there any text that states how to go about this? Thanks -- Before posting, please read

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

2010-11-27 Thread Dave McNulla
pretty cool. Good luck, Dave On Nov 26, 6:48 am, Bey Gmail amelame...@gmail.com wrote: Caveat: I've never written a line of code in Watir (nor Ruby) so my response may be totally off (maybe even )... ... What are you tearing down? Seems to me like you are going to the home page

[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
button) Good luck, Dave On Nov 21, 7:22 am, LittlePaws jo.coo...@gmail.com wrote: I was able to open and browse the web in the main window. Then, by clicking a link to popup window and find the link that I wanted to click. That particular link in the child window is directed to open an xls

[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
in your browser. I wish that I could shed more light on it. Maybe you can give more information, such as the source of the app under test. Did you try the right click functions? Good luck, Dave On Nov 21, 5:11 pm, LittlePaws jo.coo...@gmail.com wrote: Dave, When I stop execution

  1   2   >