[wtr-general] Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Matt Caldwell
Hello all, I have been struggling with this issue and was hoping to get some insight. I have a method in a helper class that I wrote that is using code that has worked in the past that is no longer working. def checkinAndApproveAsset(browser, comment) browser.frame(:src,

[wtr-general] Unable to login to a web site by using watir (asp,net + java script)

2014-01-15 Thread Fosiul Alam
Hi Experts. I am tying to use watir to setup a monitoring for a webpage. I am trying to login to the home page by using user name and password. I am using Firefox as browser, but i cant login, 1)How do i debug the issue to understand where its failing? 2) from my understanding, if firefox can

[wtr-general] Re: Using Watir with Chrome browser to find element on just opened web page

2014-01-15 Thread QOExcel
It works. вторник, 14 января 2014 г., 2:08:37 UTC+4 пользователь Super Kevy написал: Object.wait_until_present On Monday, January 13, 2014 5:33:14 AM UTC-6, QOExcel wrote: Hi, everyone!! I try to find button on just opened page without sleep command. def open_user_creation_dialog

[wtr-general] Re: Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Matt Caldwell
Update/clarification. I am using Firefox 17 as my base for this and Watir 1.9.3. On Tuesday, January 14, 2014 2:27:05 PM UTC-5, Matt Caldwell wrote: Hello all, I have been struggling with this issue and was hoping to get some insight. I have a method in a helper class that I wrote that is

[wtr-general] Re: Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Dan
What are you passing into the method? On Wednesday, January 15, 2014 7:57:35 AM UTC-5, Matt Caldwell wrote: Update/clarification. I am using Firefox 17 as my base for this and Watir 1.9.3. On Tuesday, January 14, 2014 2:27:05 PM UTC-5, Matt Caldwell wrote: Hello all, I have been

[wtr-general] Re: Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Matt Caldwell
I suppose that is ambiguous -- sorry about that. It is a Watir::Browser object, it has been instantiated and has been used in lines preceding that line that are also referencing frames. On Wednesday, January 15, 2014 9:25:03 AM UTC-5, Dan wrote: What are you passing into the method? On

[wtr-general] Re: Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Dan
Can you show some of that code? On Wednesday, January 15, 2014 9:33:10 AM UTC-5, Matt Caldwell wrote: I suppose that is ambiguous -- sorry about that. It is a Watir::Browser object, it has been instantiated and has been used in lines preceding that line that are also referencing frames.

Re: [wtr-general] Unable to login to a web site by using watir (asp,net + java script)

2014-01-15 Thread Oscar Rieken
in your code you are using :id = txtUserNameM for both the username and password... im going to guess thats just a copy paste problem. what is the error you get when you run your code? On Tue, Jan 14, 2014 at 3:51 PM, Fosiul Alam fos...@gmail.com wrote: Hi Experts. I am tying to use watir

[wtr-general] Re: Undefined Method 'frame' for []:Array (NoMethodError)

2014-01-15 Thread Matt Caldwell
Below are all the moving parts... implementation: require 'rubygems' require_relative 'WatirToolbox' # Create a new WatirToolbox object toolbox = WatirToolbox.new # Initialize the browser using the toolbox browser = toolbox.init # Tell the toolbox to navigate to prod browser =