[wtr-general] Can't seem to install watir on the MAC

2009-10-06 Thread QAguy
When I try to install the watir gem on the mac I am getting the following: host73:watir_site_regression employee$ sudo gem install watir -- include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Building

[wtr-general] Issue with .click when selecting via id

2009-10-06 Thread QAguy
I am using rspec with safariwatir. When I try to have watir click a link for which I have an id I see the link get highlighted in yellow but the click action doesn't occur. Here is an example: @browser.button(:id, ID_name).click I then tried this: Watir::Element::click { @browser.button(:id,

[wtr-general] Re: Can't seem to install watir on the MAC

2009-10-06 Thread QAguy
firewatir sudo gem install safariwatir On Oct 6, 1:28 pm, QAguy qablogm...@gmail.com wrote: When I try to install the watir gem on the mac I am getting the following: host73:watir_site_regression employee$ sudo gem install watir -- include-dependencies INFO:  `gem install -y` is now default

[wtr-general] Does anyone have examples of using rspec with safariwatir

2009-10-07 Thread QAguy
Or can point out a wiki that would have information on it. My searches via google have not bared much fruit. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Issue with safariwatir not following links or buttons that I have it click

2009-10-07 Thread QAguy
For example if I have a link and do a browser.link(:id, ID_NAME).click the the link is highlighted in yellow on the page but the link is not actually followed. I have included in my tests I have included all the correct gems: require 'rubygems' require 'safariwatir' require 'spec' require

[wtr-general] using li in safariwatir

2009-10-14 Thread QAguy
Trying to click an element in a list using li: @browser.li(:class,folder).link(:index,2).click However when I try to run this I get: undefined method `li' for #Watir::Safari:0x1031d8860 I found a thread saying this works for watir on ie. Is this just not implemented in safariwatir at this

[wtr-general] Safriwatir issue with clicking links

2009-10-29 Thread QAguy
Hi there. Hoping someone can help me. I am trying to click on a link by selecting an id. Here is the code html code on the page: a id=signout_link class=ga_trackable href=/user/logoutSign Out/ a I am using the following in my test code: @browser.link(:id, 'signout_link').click This highlights

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-02 Thread QAguy
Thank you. I will vote for that ticket. QAguy On Oct 30, 5:33 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 30, 2009 at 11:27 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: You can report the bug: No need for that, it is already reported: http

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-02 Thread QAguy
Out).click but this results in: SafariWatir does not currently support finding by text Cannot seen to get this darn link clicked. Any other ideas how to work around this issue? Thanks again. QAguy On Oct 30, 5:33 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 30, 2009

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-04 Thread QAguy
-research.ch wrote: On Mon, Nov 2, 2009 at 6:05 PM, QAguy qablogm...@gmail.com wrote: BTW I tried browser.link(:text, Sign Out).click but I get a response that safariwatir could not find a link element with text Sign Out. Which version of SafariWatir do you have? What do you get from

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-04 Thread QAguy
puts browser.link(:text, /Sign/).text gives me a result of Sign Out when i run my .rb file (see below) host73:watir_site_regression employee$ spec specs/connect_spec.rb ...Sign Out . QAguy On Nov 4, 5:45 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Nov 4, 2009 at 7:42 PM

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-04 Thread QAguy
That gives me the same result: host73:watir_site_regression employee$ spec specs/connect_spec.rb ...Sign Out . We can pick this up tomorrow and I am also pretty tired. Thanks for the help on this. QAguy On Nov 4, 5:57 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Nov 4

[wtr-general] How to install a forked gem of safariwatir from github

2009-11-09 Thread QAguy
. I tried sudo gem install aesterline-safariwatir --source=http:// gems.github.com but get ERROR: could not find gem aesterline-safariwatir locally or in a repository Thanks QAguy --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: Safriwatir issue with clicking links

2009-11-09 Thread QAguy
Anything else you can suggest? Thanks On Nov 4, 5:57 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Nov 4, 2009 at 11:53 PM, QAguy qablogm...@gmail.com wrote: puts browser.link(:text, /Sign/).text gives me a result of Sign Out It is late here, my brain is sleeping. What do

[wtr-general] Re: Example of assertions

2009-11-13 Thread QAguy
, Tiffany Fodor tcfo...@comcast.net wrote: Ah - I didn't realize this, but you need to require it: require 'watir/contrib/visible' -Tiffany On Nov 12, 3:08 pm, QAguy qablogm...@gmail.com wrote: I try something like this: @browser.text.visible?(Preparing to Optimize).should == false

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

2009-11-18 Thread QAguy
(:title, /butterfly.m4v/).click which gives me this: SafariWatir does not currently support finding by title So I'm kinda stumped at the moment as to what to do. Thanks QAguy On Nov 17, 9:16 pm, Adam Esterline a...@esterlines.com wrote: Hmm... I am not sure why it cannot find the span. Does

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

2009-11-19 Thread QAguy
Unfortunately that didn't work either. I did this: browser.span(:text, /butterfly\.m4v/).click and got this: Unable to locate Span element with text of (?-mix:butterfly\.m4v) I'm not sure what the ?-mix: part of that is. Anything else you can recommend? QAguy On Nov 19, 3:52 am, John

[wtr-general] How would one delete browser cookies using safariwatir

2009-11-20 Thread QAguy
. Thanks in advance. QAguy --~--~-~--~~~---~--~~ 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 guidelines

[wtr-general] How to wait until an element is visible on a page

2009-11-30 Thread QAguy
? == true} but it doesn't work as I think the use of visible here is invalid. Hoping someone help me. Thanks QAguy -- 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

[wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread QAguy
Yup, doing it using a text.include worked. Thanks for the help. QAguy On Dec 1, 9:42 am, KimBrown kimbro...@yahoo.com wrote: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir I've used this:   while (not $ie.html.include? my html)     code to refresh page.-- won't auto-update

[wtr-general] Browser Confirm Pop-up Click OK for Safari

2010-01-13 Thread QAguy
to do this. They must click OK to proceed. Any help appreciated. QAGuy -- 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 guidelines: http

[wtr-general] Re: Getting undefined method when trying to check a checkbox

2010-01-21 Thread QAguy
Thanks. Figured out what the issue was based on your advice. Appericate it. On Jan 21, 7:24 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Jan 20, 2010 at 9:50 PM, QAguy qablogm...@gmail.com wrote: browser.checkbox(:id, select_all_checkbox).set This should work

[wtr-general] Issue with clicking submit in a site modal window

2010-01-26 Thread QAguy
The site I am testing has a page where I if I click on a specific element I can modify its properties by opening a modal window. In the modal window I enter in the needed data then click submit using: browser.link(:class, create_and_move_button).click The link is highlighted in yellow in the

[wtr-general] Issue with running watir on cygwin`

2010-01-28 Thread QAguy
I saw this thread: http://groups.google.com/group/watir-general/browse_thread/thread/b09e0b87c50075bd/cca465c8188a9044?lnk=gstq=permission+denied+ I would have responded to that thread but no reply option was available so I'm starting a new one. Was Acro's issue ever addressed. I have the same

[wtr-general] Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-01-28 Thread QAguy
Can't seem to find it. Thanks in advance. -- 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 guidelines:

[wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-01-28 Thread QAguy
installed in /opt/local/lib/ruby/gems/1.8/gems/ ffi-0.5.4 for inspection. Anyone seen this before on install? Thanks again. On Jan 28, 4:28 pm, QAguy qablogm...@gmail.com wrote: Can't seem to find it. Thanks in advance. -- You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-01-28 Thread QAguy
might be causing the and how to fix? Thanks. On Jan 28, 4:48 pm, QAguy qablogm...@gmail.com wrote: As a work around for this I'm trying to install the webdriver watir gem. But I am having an issue installing it (See below): host73:~ employee$ sudo gem install selenium-webdriver --no-ri

[wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-01-29 Thread QAguy
version for 3.6. Thanks On Jan 29, 5:03 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jan 29, 2010 at 12:10 AM, QAguy qablogm...@gmail.com wrote: gem install watir-webdriver --pre /opt/local/lib/ruby/gems/1.8/gems/safariwatir-0.3.7/lib/watir/ If you provide your script I

[wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-01-29 Thread QAguy
Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jan 29, 2010 at 4:49 PM, QAguy qablogm...@gmail.com wrote: def start_browser  if WHICH_BROWSER == 'safari' then    Watir::Browser.default = WHICH_BROWSER   �...@browser = Watir::Browser.new  else   �...@browser = Watir::Browser.new

[wtr-general] Re: Issue with clicking submit in a site modal window

2010-01-29 Thread QAguy
Thanks. :) On Jan 29, 1:07 pm, orde ohil...@gmail.com wrote: Check outhttp://jira.openqa.org/browse/WTR.  Click Components SafariWatir. On Jan 29, 9:14 am, QAguy qablogm...@gmail.com wrote: Where can one find the list of open safariwatir bugs to see if this is listed? On Jan 29, 6:01

[wtr-general] Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
I am trying to enter data into a modal window from my site. Here is the site code: label class= text_field for=folder_nameOr, move to a new folder:/labelinput class=text_field id=folder_name name=folder [name] size=30 type=text To enter data into the text_field I do: browser.text_field(:id,

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Its not a frame. Its a div which contains a table. On Feb 2, 11:42 am, Angrez Singh ang...@gmail.com wrote: What do you mean by site modal? Is the text_field inside frame? On Tue, Feb 2, 2010 at 9:59 PM, QAguy qablogm...@gmail.com wrote: I am trying to enter data into a modal window from my

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that as and got the same error. On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote: Try broswer.text_field(:name, folder[name]).set(text) -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that *also* and got the same error On Feb 2, 2:14 pm, QAguy qablogm...@gmail.com wrote: Tried that as and got the same error. On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote: Try broswer.text_field(:name, folder[name]).set(text) -- You received this message because you

[wtr-general] Re: Issue with clicking submit in a site modal window

2010-02-02 Thread QAguy
On Jan 29, 1:16 pm, QAguy qablogm...@gmail.com wrote: Thanks. :) On Jan 29, 1:07 pm, orde ohil...@gmail.com wrote: Check outhttp://jira.openqa.org/browse/WTR.  Click Components SafariWatir. On Jan 29, 9:14 am,QAguyqablogm...@gmail.com wrote: Where can one find the list of open

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-04 Thread QAguy
The first on didn't work. I tried the second one you provided: browser.div(:for, folder_name).text_field(:id,folder_name).set(Watir test folder) and I got this error: JsshSocket::JSSyntaxError in 'Check folder page menu options and modals should allow the user move the video to a newly created

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-04 Thread QAguy
The first on didn't work. I tried the second one you provided: browser.div(:for, folder_name).text_field(:id,folder_name).set(Watir test folder) and I got this error: JsshSocket::JSSyntaxError in 'Check folder page menu options and modals should allow the user move the video to a newly created

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-05 Thread QAguy
Yes. www.motionbox.com Modals are on the folder pages. On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote: Is it something that we can see online? I mean is there a website on which you are testing? On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote: The first on didn't

[wtr-general] Safaiwatir clearing browser cookies and cache

2010-02-05 Thread QAguy
Is there a function/command in safariwatir I can use to clear out the browsers cookies/cache prior to a test running? Couldn't find anything when I searched the google group or the wiki. Thank you -- You received this message because you are subscribed to the Google Groups Watir General group.

[wtr-general] Re: Safaiwatir clearing browser cookies and cache

2010-02-05 Thread QAguy
: require 'fileutils' $cookieDir = C:\\Documents and Settings\\#{ENV['USERNAME']}\ \Cookies  #cookie location FileUtils.rm_rf $cookieDir  #delete cookies Thanks, Adam On Feb 5, 10:33 am, QAguy qablogm...@gmail.com wrote: Is there a function/command in safariwatir I can use to clear out

[wtr-general] How to handle js pop-up confirm windows on a MAC

2010-02-09 Thread QAguy
I am trying to delete a video in my account in the app I'm testing. When I click delete a JS pop-up opens asking if I'm sure I want to do this with a Ok/Cancel button. I am using safariwatir. I found ie/ windows examples for handling these kinds of pop-ups but can't find any examples for

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-09 Thread QAguy
? Right now,I don't know how to flow to that page. Thanks! -Zhong On Fri, Feb 5, 2010 at 11:35 PM, QAguy qablogm...@gmail.com wrote: Yes.www.motionbox.com Modals are on the folder pages. On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote: Is it something that we can see online? I

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-16 Thread QAguy
Any updates on this? Thanks. On Feb 11, 1:06 pm, QAguy qablogm...@gmail.com wrote: You need to register as a user and verify your account (its free). Then upload a video and go to the folder that video is in. Once in the folder select the checkbox for that video and click the move option