[wtr-general] How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread meaculpa
I need to automate google chrome and safari in windows 7 64 32 bit and also for windows XP 32 bit. Please guide me wat all things to be done to run these ? I have installed WATIR- WEBDRIVER. but it doesnt solve the issue -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 8:51 AM, meaculpa harismah...@gmail.com wrote: I need to automate google chrome and safari in windows browser = Watir::Browser.new :chrome At the moment, safariwatir gem can drive Safari, but only on Mac. Željko -- Before posting, please read http://watir.com/support.

[wtr-general] how to make a click_no_wait in chrome with watir-webdriver

2011-07-15 Thread thunderzhu...@gmail.com
I have a button binding with onclick event. I want to click on this button, and click on OK button of the alert pop up. But using button.click will block following steps, and i can not find any clue that there is a button.click_no_wait to help me with this. Can you help me out of this? I'm with

[wtr-general] Re: How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread Chuck van der Linden
What have you tried so far? Have you for example gone through the tutorials and looked at example code for Watir and Watir-Webdriver? On Jul 14, 11:51 pm, meaculpa harismah...@gmail.com wrote: I need to automate google chrome and safari in windows 7 64 32 bit and also for windows XP 32 bit.

[wtr-general] Re: How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread meaculpa
Even I am not able to install chromewatir getting error : ERROR: Could not find a valid gem 'chromewatir' (= 0) in any repository ERROR: Possible alternatives: firewatir -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Unable to Identify the Divs

2011-07-15 Thread pun2et
I am trying to find a Div which is inside a div tree as shown below. Div with Class=”globalSearchItems” is not able find using watir code. Div class=contentFrame DIV id=content p/p p/p a name=top/a b

Re: [wtr-general] Unable to Identify the Divs

2011-07-15 Thread Amit Bobade
Hi, Try to access this div using Xpath. On Fri, Jul 15, 2011 at 4:10 PM, pun2et puneet.pat...@gmail.com wrote: I am trying to find a Div which is inside a div tree as shown below. Div with Class=”globalSearchItems” is not able find using watir code. Div class=contentFrame DIV

Re: [wtr-general] Unable to Identify the Divs

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 12:40 PM, pun2et puneet.pat...@gmail.com wrote: div class=globalSearchItems why divs are returning false? puts @browser.div(:class, globalSearchItems ).exist? = false Because you have added both leading and trailing space. Try this: @browser.div(:class,

Re: [wtr-general] Re: How can I open googgle chrome using watir in windows 7 64 bit ?

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 12:50 PM, meaculpa harismah...@gmail.com wrote: Even I am not able to install chromewatir Chromewatir gem is dead. Watir-webdriver gem can drive Chrome. Install it with: gem install watir-webdriver And then in IRB or in your script require rubygems require

[wtr-general] can we do automation testing of oracle application using WATIR, cucumber or selenium

2011-07-15 Thread sandeep
Can we do automation testing of oracle apps. using open source tools like watir, cucumber or selenium. If so then please share the high level architecture for the same or some ppt docs. also if there any other open source tool through which automation of oracle apps possible please let me know.

Re: [wtr-general] can we do automation testing of oracle application using WATIR, cucumber or selenium

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 2:42 PM, sandeep sandix1...@gmail.com wrote: Can we do automation testing of oracle apps. Any examples? Watir drives browsers. If they are web apps, then the answer is probably yes. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host

[wtr-general] Re: restricting verification to part of the page that is visible

2011-07-15 Thread Anne
thanks for the suggestion... but both of these give the same result as my initial attempt -- returns the first line of the content, not the first line displayed on the screen On Jul 14, 4:31 pm, orde ohil...@gmail.com wrote: Can you do something like this? topicContentFirstLine =

Re: [wtr-general] restricting verification to part of the page that is visible

2011-07-15 Thread Željko Filipin
On Thu, Jul 14, 2011 at 6:59 PM, Anne annemordk...@gmail.com wrote: But I can't figure out how to restrict my verification to just what is currently visible. Please provide relevant HTML. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before

[wtr-general] Re: restricting verification to part of the page that is visible

2011-07-15 Thread Anne
I've included a sample of both the left panel (outline) and the right panel (content) below. If I click on DEFINITIONS in the outline, I expect to see Definitions as the first line in right panel. The line of code I wrote for doing this verification... topicContentFirstLine =

Re: [wtr-general] Re: restricting verification to part of the page that is visible

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 4:06 PM, Anne annemordk...@gmail.com wrote: If I click on DEFINITIONS in the outline, I expect to see Definitions as the first line in right panel. I think this is browser feature (scrolling), not something that your web application provides. In this case you want to

[wtr-general] Re: restricting verification to part of the page that is visible

2011-07-15 Thread Anne
If I execute this test manually, it does display the outline item selected at the top of the page. So, I guess I'm a little confused by your question (sorry). On Jul 15, 10:43 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jul 15, 2011 at 4:06 PM, Anne annemordk...@gmail.com

[wtr-general] Watir-Webdriver and target=_blank

2011-07-15 Thread Abe Heward
While using watir-webdriver and driving Firefox 5, if I click a link... *browser.link(:how, what).click* ...and that link that has a *target=_blank* in it, then instead of opening the page in a new tab (which is what happens if I click it manually), I get a new browser window, which is no

Re: [wtr-general] Re: restricting verification to part of the page that is visible

2011-07-15 Thread Željko Filipin
On Fri, Jul 15, 2011 at 4:53 PM, Anne annemordk...@gmail.com wrote: If I execute this test manually, it does display the outline item selected at the top of the page. So, I guess I'm a little confused by your question (sorry). I wanted to say that if you click a link that leads to a specific

[wtr-general] Fix for ie.close throwing NoMethodError when using ruby 1.92 watir 1.9.2

2011-07-15 Thread David Brown
I've been using ruby 1.86 and Watir for years. I've been trying to upgrade to ruby 1.92 so that we don't have to maintain 2 versions of ruby. Using the latest version of Watir (1.9.2), one of the only issues I'm noticing is that any time I call ie.close win32ole in ruby 1.92 raises a

Re: [wtr-general] Fix for ie.close throwing NoMethodError when using ruby 1.92 watir 1.9.2

2011-07-15 Thread Ethan
there's an open ticket - http://jira.openqa.org/browse/WTR-481 so hopefully one of the devs will get this in soon. On Fri, Jul 15, 2011 at 13:40, David Brown suf...@gmail.com wrote: I've been using ruby 1.86 and Watir for years. I've been trying to upgrade to ruby 1.92 so that we don't have

[wtr-general] Looping through a table, click on a link, then set parameters

2011-07-15 Thread hillary
I have a test case where i need to do the following: For Every row in a table X Expand Details of that row (This is done by clicking a link, that displays a div) Then 1. Set Field One 2. Set Field Two 4. Set Field Three 5. Set Field Four 6. Set Field Five 7. Click

[wtr-general] Re: Closing second browser window closes both windows

2011-07-15 Thread BillyMobilly
I'm afraid to - lol. What do you think the chances are that existing scripts will run in to new issues? I maybe should set up on a new system and try - can you tell me what version of Ruby and Watir is recommended these days? Thanks for the response. Bill On Jul 13, 4:47 pm, Željko Filipin