[wtr-general] Re: getting connection error, can anyone help?

2012-05-10 Thread Tiffany Fodor
Hello! Are you connecting to the internet through a proxy? https://github.com/rubygems/rubygems/issues/267 Also, can you update gems individually, or is it just a problem with trying to update everything? -Tiffany On May 10, 1:35 am, Sunflower arram...@gmail.com wrote: Hi, while updating

[wtr-general] Re: Need urgent help

2012-05-09 Thread Tiffany Fodor
Hello! I suspect that your results may be displayed within in a table. I'd find the name of that table and cycle through the links in that table. If more than the type of link you're looking for are in the table, you may need to find something similar about all of them and use an additional

[wtr-general] Re: Read data from excel sheet in watir 3.0.0 using XLS class

2012-05-03 Thread Tiffany Fodor
Hello! I haven't tried with Watir 3.0 yet, but when I upgraded my ruby version, I found I needed to supply the path to the Xls.rb file to require it. Try something like this: require 'c:\\folder_where_Xls_is\\Xls.rb' Hope this helps! -Tiffany On May 3, 10:35 am, Aarthi aarthis...@gmail.com

[wtr-general] Test Automation Bazaar - Charity Workshops

2012-02-29 Thread Tiffany Fodor
Hi all! To kick off the Test Automation Bazaar in Austin on March 23-24 and to benefit local charities, the Watir team is putting on a couple of workshops on March 22. If you've been thinking about joining us at the Test Automation Bazaar, here's another reason to sign up! For more information

[wtr-general] Re: I'm a ruby programmer, would like to join your group. Thank you.

2012-02-27 Thread Tiffany Fodor
Hello and welcome! You should be all set now - please respond here if you would like me to change your email preferences. -Tiffany On Feb 26, 8:51 pm, mentgomery mauricezhu...@gmail.com wrote: FYI. -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] Re: unable to click the span through watir. 选项

2012-01-05 Thread Tiffany Fodor
Hi Finley, I don't think you can specify more than two parameters for an element. Does the click work when you use this? @ie.span(:id = 'mx1e63400f').click Does the button click work? (Not sure if this was an attempt to click the span or if it's just the next line of code.) It could be that

[wtr-general] Re: Best practice for using Active Directory user/pass for script?

2011-11-14 Thread Tiffany Fodor
Hi Deepu! This should probably be a new thread rather than a question added to an existing thread. That being said, Watir is a library for interacting with web applications, it doesn't care where you get the data you're using for driving you tests. Getting data from another source (Excel,

[wtr-general] Re: Watir recorder sharp

2011-11-03 Thread Tiffany Fodor
Hi Cynthia! The Watir team doesn't really endorse the use of or support recorders. I'd recommend you pose you question to the recorder team. Just as a guess, I'd say you probably need to run your command prompt in Windows 7 with administrator privileges. Best of luck! -Tiffany On Nov 3,

[wtr-general] Re: Unable to click tab in IE/FF

2011-10-14 Thread Tiffany Fodor
Hi! I agree with Zeljko, we can't give an informed answer without example html, but here are some 'stabbing in the dark' suggestions to try. You may be able to click on the div, link or span more simply: ie.link(:text, 'span text').click ie.span(:text, 'span text').click ie.div(:id,

[wtr-general] Re: Handling Choose a digital certificate

2011-09-28 Thread Tiffany Fodor
Hi Bala! One of the applications I test uses a digital certificate, but I just install it manually on the machines I use for automated testing. After that first install, I'm not prompted to install it again until the certificate changes. Apologies if your implementation is different or if you

[wtr-general] Re: Unable to open browser.

2011-07-26 Thread Tiffany Fodor
Hi Sachin! Two of your lines are commented out - has that always been the case? Also, you're assigning the @browser variable twice, which will launch two browser sessions and the second (which will be on google.com) will be assigned to @browser. Both of your un-commented lines of code should

[wtr-general] Re: Write to Excel

2011-06-10 Thread Tiffany Fodor
Hi Mark! I also use the Xls interface to read from Excel, but I use win32ole to write to Excel. Here's where I learned how to do it: http://rubyonwindows.blogspot.com/2007/03/automating-excel-with-ruby.html David Mullet's Ruby on Windows blog has tons of great tips for using Ruby on Windows

[wtr-general] Re: Convert a html file into well formed XML

2011-06-01 Thread Tiffany Fodor
Hi Saurabh! This group is specifically for Watir and your issue seems to be a general Ruby question. If purchasing the chilkat library isn't an option, I'd suggest you post your question in a Ruby forum. These are just guesses, but you might also check out nokogiri, rexml or hpricot. Good

[wtr-general] Re: finding input by xpath

2011-04-20 Thread Tiffany Fodor
Hi Basim! Watir uses symbols to specify element parameters, so where you were matching on xpath, you'd really need to match on :xpath. Also, instead of specifying only the element parameters as a variable, you may want to specify the entire element. Try something like this:

[wtr-general] Re: how to change value of Watir::Input?

2011-04-12 Thread Tiffany Fodor
Thanks Jari! I guess I'd better learn more about Watir-Webdriver soon! -Tiffany On Apr 10, 11:32 pm, Jari Bakken jari.bak...@gmail.com wrote: On Fri, Apr 8, 2011 at 12:54 PM, bryan rasmussen.br...@gmail.com wrote: Hi, If I have an element of type Watir:Input how should I set the value -

[wtr-general] Re: checkbox question

2011-04-08 Thread Tiffany Fodor
Sorry Bryan, I thought you were looking for Selenium help. Jari, I'm fine with fielding Watir-Webdriver questions here and on Stack Overflow. I was sending Bryan to the Selenium group because I thought he was asking about Selenium-Webdriver issues. I think adding a Watir- Webdriver site might

[wtr-general] Re: how to change value of Watir::Input?

2011-04-08 Thread Tiffany Fodor
Hey Bryan! I'm not sure I understand your question, but I'll give it a shot. You have an input element and you're not sure what type of input it will be because it's returned by a method that matches one of the element's parameters to a regex? To set a value in an element, you need to know what

[wtr-general] Re: Rubygems 1.7.2 is out: for those with invalid value for @cert_chain issue

2011-04-08 Thread Tiffany Fodor
Thanks Charley! I was getting lots of warning messages on a couple of my PCs about this, but didn't have time to troubleshoot them. Since everything still worked, I decided to wait until I had more time to go down that rabbit hole. I upgraded one of them and it's all better now - thanks for

[wtr-general] Re: checkbox question

2011-04-07 Thread Tiffany Fodor
Hi Bryan! While Watir and Selenium are both moving to Webdriver to work with various web browsers, they are completely different projects. Alister Scott has some great blog posts that talk about Webdriver, Watir and Selenium: http://watirmelon.com/2010/04/10/watir-selenium-webdriver/ This is

[wtr-general] Re: Watir day and Selenium Conf

2011-02-04 Thread Tiffany Fodor
I think I'm going to be able to attend and I'm looking at scheduling my flight and hotel now. Is everyone pretty much staying at the same hotel? If so, which one? Thanks! -Tiffany On Feb 3, 2:28 pm, Charley Baker charley.ba...@gmail.com wrote: Hi all,   Bret and I are leading up a Watir

[wtr-general] Re: Can't click on a nameless div

2010-12-07 Thread Tiffany Fodor
Hi! Is this the only instance of the 'Add Another State' text? Maybe you've tried more than the code you listed, but if you haven't, you may be making this harder than you need to. Have you tried just accessing it as a span or link? ie.link(:text, 'Add Another State').click ie.span(:text, 'Add

[wtr-general] Re: some more details on CSS

2010-12-07 Thread Tiffany Fodor
Hi! Can you please provide some detail about the issue you're having? If you're having trouble with the tutorial, can you specify where it's losing you? None of us has the time to create a new tutorial here in Watir General, but if we understand your problem or where the tutorial falls short,

[wtr-general] Re: Data Driven testing

2010-12-07 Thread Tiffany Fodor
Hi Kay! You may have already found this in your search, but the Ruby on Windows blog has really helped me: http://rubyonwindows.blogspot.com/ Hope this helps! -Tiffany On Dec 6, 9:50 am, Kay karthigaya...@gmail.com wrote: Cheers Dave. @Zelijko: cannot use Roo as I am using Jruby. Cheers,

[wtr-general] Re: How to access element in a table ?

2010-07-27 Thread Tiffany Fodor
Hi! The Watir Cheat Sheet (http://wiki.openqa.org/display/WTR/Cheat+Sheet) has an example of working with table elements: td = browser.table(:name, 'recent_records')[2][1] td is now the cell at row 2, column 1 of your table. There's more information on the Table class in the Watir API

[wtr-general] Re: How to access element in a table ?

2010-07-27 Thread Tiffany Fodor
option for a cell. I really struggle with this :( ! Can you give me some more hints? Thanks, On Tue, Jul 27, 2010 at 1:22 PM, Tiffany Fodor tcfo...@comcast.net wrote: Hi! The Watir Cheat Sheet (http://wiki.openqa.org/display/WTR/Cheat+Sheet) has an example of working with table elements

[wtr-general] Re: new page has no focus

2010-07-26 Thread Tiffany Fodor
Hi Kim! The closest thing I've come across is when a page isn't finished loading and IE or Firefox times out. It doesn't really sound like that's your problem though. Have you tried using AutoIt send_keys to send a tab to put the focus on an element? $ie.send_keys({TAB}) Hope this helps!

[wtr-general] Re: Getting error (JsshSocket::JSReferenceError)

2010-07-23 Thread Tiffany Fodor
Hi! I think Firefox 3.6.7 is a new build. Have you installed the new jssh extension for it? Hope this helps! -Tiffany On Jul 23, 5:54 am, Chethan chethan2...@gmail.com wrote: Hi Every one, I am trying to run my script in firefox, I am getting following error

[wtr-general] Re: Check out the Watir Stack Exchange site!

2010-07-22 Thread Tiffany Fodor
out with the Stack Exchange site. :) Watir Stack Exchange Site - http://area51.stackexchange.com/proposals/6738/watir Watir Podcast - www.watirpodcast.com See you there! -Tiffany On Jul 12, 12:32 pm, Tiffany Fodor tcfo...@comcast.net wrote: Zeljko has posted the new podcast. http

[wtr-general] Re: Find whether a tree has nodes under it

2010-07-20 Thread Tiffany Fodor
Hi Ashok! It's difficult to help with a solution with none of your code samples or example html for the element you're trying to work with. As a guess, I'd check to see if the plus sign image exists before performing an action on the element next to it. You also might be able to use the :after?

[wtr-general] Re: link click no updates

2010-07-20 Thread Tiffany Fodor
Hi! Have you tried firing the javascript event associated with the link? ie.link(:id,navigationTree:systemTargetProvisioningTypeCommand).fire_event('onclick') I'd give this and your link click command a shot in irb to see if it works. Hope this helps! -Tiffany On Jul 20, 1:57 pm, lance

[wtr-general] Re: link click no updates

2010-07-20 Thread Tiffany Fodor
worked, during the execution there was highlighted yellow on the target provisioning link and little flashing on the page but the correct page doesn't want to upload.  No error found for this command. On Tue, Jul 20, 2010 at 4:55 PM, Tiffany Fodor tcfo...@comcast.net wrote: Hmm

[wtr-general] Re: Check out the Watir Stack Exchange site!

2010-07-12 Thread Tiffany Fodor
Zeljko has posted the new podcast. http://watirpodcast.com/ Give it a listen and then head over to the Stack Exchange site and follow it. We only need 13 more followers to move on to the next phase. See you there! -Tiffany On Jul 6, 10:44 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi all

[wtr-general] Re: Watir on Windows, how is it done anymore?

2010-07-12 Thread Tiffany Fodor
Hey Nathan! Have you checked watir.com? Here's the installation page: http://watir.com/installation/ Hope this helps! -Tiffany On Jul 12, 12:52 pm, Nathan Lane nathamberl...@gmail.com wrote: Any thoughts? The examples on OpnQA seem to be broken, and I haven't kept up. How do I get going

[wtr-general] Re: Watir on Windows, how is it done anymore?

2010-07-12 Thread Tiffany Fodor
Hey Zeljko - this sounds like a great subject for a podcast. :) On Jul 12, 2:00 pm, Ethan notet...@gmail.com wrote: It's compatible with IE on windows, and Firefox on basically any operating system that runs both firefox and ruby. More info at:http://wiki.github.com/vapir/vapir/versions On

[wtr-general] Re: Click image that is buried in a span tag

2010-07-09 Thread Tiffany Fodor
Hi! Can you click on the span? ff.span(:class, 'PageRight').click Hope this helps! -Tiffany On Jul 9, 1:20 am, skyski mypr...@tx.rr.com wrote: I am trying to figure out how to click a AJAX page to move to next page. Below is the HTML for definition span class=PageRightimg width=41

[wtr-general] Re: Mapping Excelsheet columns using ruby

2010-07-08 Thread Tiffany Fodor
Hi Chandrika! I've found a lot of great information on David Mullet's Ruby on Windows blog. Here's a good post to start with: http://rubyonwindows.blogspot.com/2007/04/automating-excel-with-ruby-rows-columns.html Hope this helps! -Tiffany On Jul 8, 12:31 am, Chandu80 chandu.she...@gmail.com

[wtr-general] Check out the Watir Stack Exchange site!

2010-07-06 Thread Tiffany Fodor
Hi all! Zeljko has done a great job in getting the Watir Stack Exchange site underway and a lot of folks from the Watir community have helped to build it up. We only need 17 more followers to move from the Definition phase to the Commitment phase. Check out the site and follow it here:

[wtr-general] Re: Unable to Click Submit button

2010-05-10 Thread Tiffany Fodor
Hi Vishal! The error message you're getting suggests that Watir can't find the button with id 'showSearchCriteriaButton'. Have you verified that your browser is on the page you expect and that you get the same error when you attempt to perform the action in an irb session? Sometimes elements

[wtr-general] Re: Javascript, table and row

2010-04-29 Thread Tiffany Fodor
Hi Damien! Rows in a table typically contain elements that you click on rather than the clicking on the row itself. I see you're firing the javascript event, but you're not actually calling the click method on any element. Have you tried to click on a link or span of text first? Here's an

[wtr-general] Re: getElementsByTagName

2010-04-22 Thread Tiffany Fodor
Hi! I would suggest troubleshooting by determining what is in your imgs variable. Right after you create imgs, do a puts imgs to find out what it contains. It looks like it may actually be empty. If it's not empty, you may have a mismatch with your array index. Hope this helps! -Tiffany On

[wtr-general] Re: getElementsByTagName

2010-04-22 Thread Tiffany Fodor
Hi! I would suggest troubleshooting your imgs array. Try doing a puts imgs after the variable is created to see what is stored in it. It looks like the array may actually be empty, or maybe you have a mismatch with your array index. Hope this helps! -Tiffany On Apr 22, 9:25 am, thestumonkey

[wtr-general] Re: Saving Javascript Files

2010-04-14 Thread Tiffany Fodor
Hi! Watir is a Ruby library that allows users to interact with web browsers. There's a good chance that you could accomplish your file management with Ruby, but that is a question for a Ruby mailing list (http://www.ruby-lang.org/en/community/mailing-lists/). Good luck! -Tiffany On Apr 12,

[wtr-general] Re: Drop down menu

2010-03-15 Thread Tiffany Fodor
Hi! You have a typo in your select statement: $b.select_list(:index, 2).select_list(Test) should be: $b.select_list(:index, 2).select(Test) (although, I think $b.select_list(:index, 2).set(Test) should work as well) Have you tried firing your javascript to put focus on the field just before

[wtr-general] Re: Answering incomplete requests

2010-03-05 Thread Tiffany Fodor
The Support page on Watir.com and the guidelines page on the wiki look great! Thanks guys! -Tiffany On Mar 5, 6:28 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/3/5 Felipe Knorr Kuhn fkn...@gmail.com I had to reset password first because I haven't logged in ages. :) Thanks

[wtr-general] Re: Jssh exception message?

2010-03-02 Thread Tiffany Fodor
Hi! Each time a new version of Firefox is released, the jssh extension has to be recompiled for it. You may not have the right version of the jssh extension for your version of Firefox. You can get it here: http://wiki.openqa.org/display/WTR/FireWatir+Installation Hope this helps! -Tiffany

[wtr-general] Re: Need help on dialog access

2010-02-23 Thread Tiffany Fodor
Hi Suresh! We have a pretty extensive page of popup and modal dialog examples on the wiki. Have you tried any of these solutions? Hope this helps! -Tiffany On Feb 23, 2:10 pm, Suresh raja...@gmail.com wrote: Hi, I am quite new to Ruby/Watir. Currently working to automate an app for

[wtr-general] Re: All calls to Watir::IE.find fail

2010-02-23 Thread Tiffany Fodor
Hi Jim! I haven't used Hudson, so this is really just a guess, but have you tried using the attach method instead of the find method? -Tiffany On Feb 23, 8:30 pm, Jim jame...@gmail.com wrote: When running Watir through Hudson which launches a nunit console executable that runs a nunit test

[wtr-general] Re: Error OLE error code:80070057 in htmlfile

2010-02-22 Thread Tiffany Fodor
Hi Frank! You're correct, Watir methods are 1-based instead of 0-based. There is a plan to fix this in Watir 2.0. Hope this helps! -Tiffany On Feb 22, 10:20 am, Frank Harper fr...@theharpers.biz wrote: When the value of the 'index' variable is 0, I'm getting an OLE error with the following

[wtr-general] Re: Question about execute the scripts in background

2010-02-22 Thread Tiffany Fodor
Hi Moises! You can use the -b switch to run your tests in background mode: ruby my_watir_framework.rb -b Hope this helps! -Tiffany On Feb 22, 2:12 pm, Moises Siles moises.si...@gmail.com wrote: Hi all, I'm newbie in Watir, I want to know if there is a way to execute the scripts in

[wtr-general] Re: Question about execute the scripts in background

2010-02-22 Thread Tiffany Fodor
running the scripts in Mac, if I add that command it will support 100 users? Thanks On Mon, Feb 22, 2010 at 3:42 PM, Tiffany Fodor tcfo...@comcast.netwrote: Hi Moises! You can use the -b switch to run your tests in background mode: ruby my_watir_framework.rb -b Hope this helps

[wtr-general] Re: How to get the output in '.xls' through WATIR

2010-02-22 Thread Tiffany Fodor
, but it stores only garbage value. The above post is more about saving an document in 'xls' format. thanks regards, Suyog On Feb 22, 1:25 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi! I've found a lot of useful information on this site for working with Windows apps using Ruby: http

[wtr-general] Re: IRB and Firewatir script

2010-02-18 Thread Tiffany Fodor
Hi! Are you getting an error message, or is nothing at all happening? Can you trigger the modal dialog manually in Firefox? Do you have javascript disabled in Firefox? -Tiffany On Feb 18, 10:06 am, tester86 sagar.am...@gmail.com wrote: Hi In an IRB session when I trigger an onmousedown

[wtr-general] Re: Question About Watir

2010-02-17 Thread Tiffany Fodor
Hi! Is there a part of the id values that is unique and consistent? If so, you could use a regex. For example if your id is 'field_id_XXX' where XXX is a number that is auto-generated: browser.text_field(:id, /field_id/).set('My Text') Are there other attributes that are available (:name,

[wtr-general] Re: Right click on the web page to click on the option export to excel sheet

2010-02-17 Thread Tiffany Fodor
Hi! Here's an old thread about right-clicking an element: http://groups.google.com/group/watir-general/browse_thread/thread/67dda45048bb8744 And the resulting wiki page: http://wiki.openqa.org/display/WTR/Right+Click+an+Element Hope this helps! -Tiffany On Feb 17, 6:48 am, JOY

[wtr-general] Re: My blog about Watir and RSpec

2010-02-15 Thread Tiffany Fodor
Hey Jarmo! I've subscribed to your RSS feed as well. -Tiffany On Feb 15, 10:00 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sun, Feb 14, 2010 at 5:29 PM, Jarmo Pertman jarm...@gmail.com wrote: Just wondering, how do you look forward? Did you subscribe to the RSS feed or just

[wtr-general] Re: Having trouble navigating Frames

2010-02-12 Thread Tiffany Fodor
Hi! If this is a typical frames implementation, you just need to specify which frame your link is in. You can find out what frames are available in irb with the show_frames method: browser.show_frames I'm having trouble telling from the HTML, but it looks like 'New Search' is a span. If that's

[wtr-general] Re: Another VERIFY question

2010-02-11 Thread Tiffany Fodor
Hi Matt! You're on the right track, but verifying text is a bit different. Give this a try: verify(($browser.text.include?(Find Offer)), message=Field not active.) Hope this helps! -Tiffany On Feb 11, 7:46 am, Matt thurman_m...@yahoo.com wrote: Hi, I have another question about the verify

[wtr-general] Re: use verify instead of assert

2010-02-11 Thread Tiffany Fodor
Hi Matt! Since you're just starting, you may want to take some time to consider what type of framework will work best for you. Most people use a Test::Unit or an RSpec framework, or a variation on one of them. I'm still using Test::Unit because I like it (I like the syntax and if a verification

[wtr-general] Re: How to retrieve other attributes of the object?

2010-02-11 Thread Tiffany Fodor
Hi! There is a way to do this using the attribute_value method: puts $Browser.button(:name = 'bu_0', :value ='Logon').attribute_value('class') Here's a recent discussion: http://groups.google.com/group/watir-general/browse_thread/thread/76e33d4eaa2319d0 Hope this helps! -Tiffany On Feb 11,

[wtr-general] Re: Handle Failures in Watir

2010-02-04 Thread Tiffany Fodor
Hi! If you know which elements are likely to be missing, you could add a verification that the element exists, which would trigger a failure if it's missing and then add a conditional to act on it. A Test::Unit example would be: verify((ie.link(:text, 'My Link').exists?), message='My Link

[wtr-general] Re: Wonderful Job on the Watir wiki

2010-02-03 Thread Tiffany Fodor
I second that! The wiki looks awesome Alister! -Tiffany On Feb 3, 3:09 pm, Darryl (gem dandy) Brown d-l- br...@roadrunner.com wrote: Great job on the Watir wiki Alister !! Thanks, Darryl -- You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Re: please unsubscribe me from watir group

2010-02-02 Thread Tiffany Fodor
Done. -Tiffany On Feb 2, 11:04 am, Marina Tolkatcheva mtolkatch...@yahoo.com wrote: -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following

[wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Tiffany Fodor
Hi Zhong! I think that different browsers handle non breaking space (nbsp;) differently, so you might want to use a regex to specify the text: @browser.link(:text, /Demand.*Curves/).click If this doesn't work, can you please give us the error message you get to help with troubleshooting? Hope

[wtr-general] Re: .text method in Watir and FireWatir

2010-02-01 Thread Tiffany Fodor
[0] You might also try the .value method to get the value in an element. Again, without more information it will be tough for us to help you efficiently. Thanks! -Tiffany On Feb 1, 11:49 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi Betsy! I haven't seen this behavior.  Can you please

[wtr-general] Re: Problem with .click method

2010-02-01 Thread Tiffany Fodor
Hi Betsy! Could you please provide more detail on your problem? Your code, the html you're testing and any error messages you're getting would help us troubleshoot. Thanks! -Tiffany On Feb 1, 10:53 pm, Betsy joybe...@gmail.com wrote: Hi all, We seem to be facing some issue with the .click

[wtr-general] Re: Links Question

2010-01-13 Thread Tiffany Fodor
Hi! You could build an array of all the links and then get the index: link_text = Array.new browser.links.each do |link| link_text.push(link.text) end link_index = link_text.index('My link text').index To click on a link that precedes some text, you can use :beforeText. On the current

[wtr-general] Re: Links Question

2010-01-13 Thread Tiffany Fodor
, Tiffany Fodor tcfo...@comcast.net wrote: Hi! You could build an array of all the links and then get the index: link_text = Array.new browser.links.each do |link|   link_text.push(link.text) end link_index = link_text.index('My link text').index To click on a link that precedes some text

[wtr-general] Re: Links Question

2010-01-13 Thread Tiffany Fodor
:beforeText... Any suggestions on if I'm doing something wrong? Thanks, Ken On Jan 13, 5:12 pm, Tiffany Fodor tcfo...@comcast.net wrote: Sorry - I forgot to mention that the array will start at 0, but the link index number in Watir will start at 1.  You could create your array

[wtr-general] Re: Close function of watir 1.6.5 not working fine

2010-01-11 Thread Tiffany Fodor
Hi Ankur! What do you mean by the close function doesn't work fine. Please include the error message and behavior you're seeing to help in troubleshooting the problem. Thanks! -Tiffany On Jan 11, 4:02 am, Ankur Gera ankurg...@gmail.com wrote: Hi All,  When i run the below code close

[wtr-general] Re: Selecting radiobutton issue with Safariwatir

2010-01-06 Thread Tiffany Fodor
Hi! Here's the wiki page on radio buttons: http://wiki.openqa.org/display/WTR/Radio+Buttons You're specifying arguments incorrectly, it should look something like this: browser.radio(:class, 'radio_button').set if you need to specify more than one argument: browser.radio(:class =

[wtr-general] Re: Selecting radiobutton issue with Safariwatir

2010-01-06 Thread Tiffany Fodor
Oops, there's a typo in my two-argument example, it should be: browser.radio(:class = 'radio_button', :index = 1).set On Jan 6, 2:42 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Here's the wiki page on radio buttons: http://wiki.openqa.org/display/WTR/Radio+Buttons You're specifying

[wtr-general] Re: Monitoring browser activity with Watir?

2010-01-06 Thread Tiffany Fodor
Hi! I haven't personally employed any timeout functionality, but here is a discussion about it: http://tinyurl.com/ya3t9eo Hope this helps! -Tiffany On Jan 6, 2:36 pm, chandu.tennety chandu.tenn...@gmail.com wrote: Any ideas? -- You received this message because you are subscribed to the

[wtr-general] Re: Reg: selectbox

2010-01-03 Thread Tiffany Fodor
Hi! To perform a simple conversion: ie.text_field(:name, 'Amount').set('100') ie.select_list(:name, 'From').select('USD United States Dollars') ie.select_list(:name, 'To').select('JPY Japan Yen') ie.button(:class, 'sprite nhgobtn').click I'm not sure what you mean by loop code - are you trying

[wtr-general] Re: IE 8 Crashes

2009-12-29 Thread Tiffany Fodor
Hi Jeff! I haven't heard of this problem. Can you provide any errors you're getting when the browser crashes? Have you verified that you can manually access the URL in an IE8 browser on this system? If so, have you tried stepping through opening a new browser and then going to the site through

[wtr-general] Re: unexpected popup window which has no title ::: need help

2009-12-29 Thread Tiffany Fodor
Thanks for providing the solution that worked for you. It may help someone else with the same problem. -Tiffany On Dec 28, 2:17 am, Pallavi Sharma write2pall...@gmail.com wrote: Chetan If its an unexpected window with no title and you just wish to detect and close it, then Auto IT script

[wtr-general] Re: Watij using JRuby, starting LOC

2009-12-28 Thread Tiffany Fodor
Have you tried posting you question on the Watij Google Group? http://groups.google.com/group/watij/ Hope this helps! -Tiffany On Dec 28, 11:52 am, karim rayani karim.ray...@gmail.com wrote: I know this is not the exact place to put this question, but can any one help me in using jruby with

[wtr-general] Re: watir ExampleTestHarness.rb help

2009-12-22 Thread Tiffany Fodor
Hi Venkat! You can break out your tests however you like and then add new ranges to your spreadsheet to specify if they should be run. For example, you might want to break each project out into it's own TestSuite. I think you'll have the most success on your specific project if you have a good

[wtr-general] Re: Unable to Picklist of data from Excel - Datadriven test using xls class

2009-12-17 Thread Tiffany Fodor
Hi Venky! The 'PickLists' tab in the spreadsheet is meant to hold data for selection in the other tabs. This is to make it simpler to enter values that are commonly used. For example, the cell that holds the URL value in the 'Setup' tab functions as a dropdown with the options from the

[wtr-general] Re: Wătir

2009-12-10 Thread Tiffany Fodor
-research.ch wrote: On Thu, Dec 10, 2009 at 1:03 AM, Tiffany Fodor tcfo...@comcast.net wrote: http://dictionary.reference.com/browse/water (see the speaker icon next to the word 'water') Great idea. :) I will add it to the web site. Željko -- You received this message because you are subscribed

[wtr-general] Re: Support Sheriff

2009-12-10 Thread Tiffany Fodor
chat and we decided it would be a good idea to grow. I am glad I can announce that Tiffany Fodor and Wesley Chen have accepted to be added to Watir community team with title of Support Sheriff: http://watir.com/team/ Tiffany answers a lot of questions and Wesley is helping us moderate

[wtr-general] Re: different table of character between watir 1.6.2 and watir 1.6.5

2009-12-09 Thread Tiffany Fodor
Hi Fabien! There was a change in 1.6.5 to use UTF-8 encoding by default. This may be causing your problem. If you want it to work as it did in 1.6.2, ry changing line 14 in the watir-1.6.5\lib\watir\win32ole.rb file from this: WIN32OLE.codepage = WIN32OLE::CP_UTF8 to this: WIN32OLE.codepage

[wtr-general] Re: Wătir

2009-12-09 Thread Tiffany Fodor
Hi all! Would it be possible to add an audio pronunciation like they do at dictionary.com on watir.com? http://dictionary.reference.com/browse/water (see the speaker icon next to the word 'water') It might be another cute gizmo to add to Watir.com -Tiffany On Dec 9, 4:39 am, Željko

[wtr-general] Re: Get unexpected error message when use Excel as report.

2009-12-05 Thread Tiffany Fodor
Hey Wesley! Since you're not getting an error that says there is no method 'range' for a nil value, it doesn't seem your problem is data related. Have you tried re-installing the Win32ole gem? (just a guess) -Tiffany On Dec 5, 1:17 am, Wesley Chen cjq@gmail.com wrote: Thanks, Ethan,

[wtr-general] Re: Get unexpected error message when use Excel as report.

2009-12-05 Thread Tiffany Fodor
, 0.5.9, 0.5.8, 0.5.1) win32-sapi (0.1.3) win32-sound (0.4.0) windows-api (0.3.0, 0.2.3) windows-pr (1.0.2, 0.8.7, 0.8.5, 0.6.2) -Tiffany On Dec 5, 5:49 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hey Wesley! Since you're not getting an error that says there is no method 'range' for a nil

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread Tiffany Fodor
Hi! There are many different solutions because there are many different implementations of popups. Unfortunately, there is no sure-fire way to deal with them. I would suggest working with the developer to learn more about how the popup you're dealing with was implemented. This will help you

[wtr-general] Re: Absolute best way of handling popups?

2009-11-24 Thread Tiffany Fodor
the click_no_wait method is working now. What are some of the common variations on popup implementations though? On Nov 24, 12:19 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi! There are many different solutions because there are many different implementations of popups.  Unfortunately

[wtr-general] Re: Help with tables

2009-11-23 Thread Tiffany Fodor
Hi George! I couldn't get the .text method to work without looping through the rows in a table, here's how I did it: my_table = browser.table(:id, 'table_id') my_table.rows.each do |row| if row.text.include?('Something') my_text = row[3].text end end You'll need to figure out which

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread Tiffany Fodor
Hi Rodrigo! Clicking an image works for me in the apps I've tested. Have you tried this? ie.image(:src, /manage-account/).click Hope this helps! -Tiffany On Nov 20, 8:49 am, Rodrigo rodrigo.bert...@gmail.com wrote: Hi everybody, I'm having some issues working with img tags. I've tried

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread Tiffany Fodor
Hi! If it works, go with it. :) Sometimes it's difficult to discern exactly what to click on to perform the desired action. What looks like a button may actually use a link to perform the action (as in your case). I've also run into cases where what looks like a link is actually a span.

[wtr-general] Re: No return in irb from click method

2009-11-19 Thread Tiffany Fodor
Hi Steve! I've noticed that when I copy multiple lines of code into irb, all but the last are processed and then I have to hit enter to process the last line of code. Have you verified that you can issue just the click for 'DDD' on it's own in irb? Is it possible that some javascript has been

[wtr-general] Re: Issue trying to click on a span element using safariwatir

2009-11-19 Thread Tiffany Fodor
Hi! Since you're already using a regex, could you do this: browser.span(:text, /butterfly/).click or do you have multiple spans with 'butterfly' in the text? If so, could you specify the one you want using it's index? browser.span(:text = /butterfly/, :index = 3).click Also, it might help

[wtr-general] Re: Watir Examples...Need Help

2009-11-19 Thread Tiffany Fodor
Hi! I think you need to decide what type of framework you want and that will dictate how you perform validations. From some of your previous posts, it looks like you've started with Cucumber. Are you sticking with Cucumber, or looking for a different framework? You can find examples of

[wtr-general] Re: Hi, I have the following on my page... 8068 7E.01.73.6D.40.50.CE.D5 Recorded: 10/29/09 Delete 8067 7E.01.73.6D.40.4F.CE.CE Recorded: 10/29/09 Delete 8065 7E.01.73.6D.40.

2009-11-19 Thread Tiffany Fodor
Hi! If the text below is contained in a table, you can do this: my_table = browser.table(:id, 'table_id') my_table.rows.each do |row| if row.text.include?('7E.01.73.6D.40.50.CE.D5') On Nov 19, 2:53 pm, xguarder shams...@gmail.com wrote: Hi, I have the following on my page... 8068    

[wtr-general] Re: Hi, I have the following on my page... 8068 7E.01.73.6D.40.50.CE.D5 Recorded: 10/29/09 Delete 8067 7E.01.73.6D.40.4F.CE.CE Recorded: 10/29/09 Delete 8065 7E.01.73.6D.40.

2009-11-19 Thread Tiffany Fodor
Oops - sorry about that! I forgot that tab takes you out of the text edit box. Here's the code I was trying to give you: If the text below is contained in a table, you can do this: my_table = browser.table(:id, 'table_id') my_table.rows.each do |row| if

[wtr-general] Re: WatirRecorder

2009-11-19 Thread Tiffany Fodor
Haven't you asked about this before? This group doesn't support WatirRecorder. I'm not sure why it's not available to download on OpenQA, but if you really need it, I'd suggest asking the folks on the Watir Recorder community board: http://clearspace.openqa.org/community/watir_recorder

[wtr-general] Re: WatirRecorder

2009-11-19 Thread Tiffany Fodor
, 4:14 pm, George george.sand...@gmail.com wrote: Not to hijack the thread, but why use WatirRecorder?  Isn't it just as easy to write the code? On Nov 19, 3:05 pm, Tiffany Fodor tcfo...@comcast.net wrote: Haven't you asked about this before? This group doesn't support WatirRecorder.  I'm

[wtr-general] Re: Calling def cases into a Class

2009-11-13 Thread Tiffany Fodor
Also, you'll need to require the test file (with a relative path, if it's not in the same directory): require 'test' In case it helps, I've posted an example of a simple Test::Unit framework on the examples page. http://tinyurl.com/yjrrj5a -Tiffany On Nov 13, 4:03 pm, Ethan

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-12 Thread Tiffany Fodor
The error message is saying that it can't find the text field with the name 'q'. For some reason, it doesn't exist in the browser contained by your variable ie. Are you sure that your browser is on the page you think it is? One way to troubleshoot this is with an irb session. Run your test

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-12 Thread Tiffany Fodor
set up or is it because of vista OS? Thanks On Nov 12, 11:47 am, Tiffany Fodor tcfo...@comcast.net wrote: The error message is saying that it can't find the text field with the name 'q'.  For some reason, it doesn't exist in the browser contained by your variable ie.  Are you sure

[wtr-general] Re: Example of assertions

2009-11-12 Thread Tiffany Fodor
?' for #String:0x1032d3ad0 I'm working with Safariwatir. Thanks QAguy On Nov 12, 4:22 pm, Tiffany Fodor tcfo...@comcast.net wrote: Oops, sorry - to see if text is visible, use: ie.text('My Text').visible? On Nov 12, 2:09 pm, QAguy qablogm...@gmail.com wrote: Does anyone have examples

  1   2   >