[wtr-general] Re: locating element within a frameset using PageObject

2012-03-27 Thread Rick
a frameset method in watir-webdriver 4) am I the only one here that wants to have a public flogging of developers who nest frames 4 or more levels deep? On Monday, March 26, 2012 2:39:55 PM UTC-7, Rick wrote: Am using page-object 0.6.3 and need to locate a div within an iframe which in turn

[wtr-general] locating element within a frameset using PageObject

2012-03-26 Thread Rick
Am using page-object 0.6.3 and need to locate a div within an iframe which in turn is inside a series of frame-frame-frameset. With watir-webdriver, div is located with @browser.frame(:id = FrameA).frameset(:id = treeMain).frame(:id =FrameA).iframe(:id = framepage).div(:class = TblMgmt)

[wtr-general] Re: WATIR object

2012-03-26 Thread Rick
. It will be set to true as soon as you try to do anything with that element (e.g. it is going to be searched for). Jarmo On Mar 26, 4:15 am, Željko Filipin zeljko.fili...@gmail.com wrote: On Fri, Mar 23, 2012 at 4:25 PM, Rick bellc...@yahoo.com wrote: In #Watir::Table

[wtr-general] WATIR object

2012-03-23 Thread Rick
In #Watir::Table:0x54ed4b284686a4b2 located=false selector={:id=TblGeneralInformation, :tag_name=table} Does the value of 'false' for located means that the table was not located? Thanks. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] dumping the visible page to watir-webdriver

2012-03-13 Thread Rick
Am quite frustrated running into the timeout when trying to locate an iframe within a frame browser.frame(:id = 'mainframe').iframe(:id = 'mainpage').wait_until_present When executing the code, i can see the browser already rendered the page with the frame/iframe for some time and yet still

[wtr-general] require 'watir-webdiver' failing with 'can't activate ffi'

2011-11-02 Thread Rick
Any idea what i am doing wrong? Overview.rb line 3 has - require watir-webdriver. Thanks in advance $ ./Overview.rb /usr/lib/ruby/1.9.1/rubygems.rb:238:in `activate': can't activate ffi (= 1.0.9, runtime) for [selenium-webdriver-2.10.0, watir- webdriver-0.3.5], already activated ffi-1.0.10 for

[wtr-general] switching between popup and main window

2011-10-06 Thread Rick
Trying to switch back to the main window from a popup with the following browser.window(:title = 'mytitle').use do . . . browser.frame(:id = 'bottomFrame').button(:id = 'btnClose').click end # I need to do something with the main window here At this point, i tried several

[wtr-general] Re: accessing a firefox popup woith watir-webdriver

2011-09-30 Thread Rick
once i click a close button on the popup, does the browser context goes back to the original window? Or do i need to do anything to switch it back? Thanks. On Sep 29, 3:34 pm, Alister Scott alister.sc...@gmail.com wrote:

[wtr-general] accessing a firefox popup woith watir-webdriver

2011-09-29 Thread Rick
Can someone show me a code snippet on how to access a firefox popup with watir-webdriver? The popupis displayed by a javascript. Thanks. -Rick -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http

Re: [wtr-general] Question About Watir

2010-02-17 Thread Rick Webster
You can build one from this design: http://safsdev.sourceforge.net/FRAMESDataDrivenTestAutomationFrameworks.htm http://safsdev.sourceforge.net/FRAMESDataDrivenTestAutomationFrameworks.htmI learned enough Ruby to code a prototype of this in about 2 or 3 weeks. On Wed, Feb 17, 2010 at 3:09 PM,

[wtr-general] Re: How to change a ruby file into an .exe file

2009-03-18 Thread Rick Carter
I have tried to use rubyscript2exe but it seems cannot run in my computer. Maybe it is a version problem. On Wed, Mar 18, 2009 at 8:57 AM, wesley chen cjq@gmail.com wrote: A problem exists: I create two .rb file in the same directory first is test1.rb, with code: require 'watir'