[wtr-general] Re: How to access a child object

2008-10-30 Thread bugs apple
How to make the element to be located, when object is defined? Somehow, i see no the new tag returned using the ie.show_all_object. 2008/10/30 LanOK [EMAIL PROTECTED] I think the watir api is correct. When it was incorrect the exception was like this: NoMethodError: undefined method

[wtr-general] Consult Urgent Soluation for the View Source is Disabled

2008-10-30 Thread bugs apple
Hi, developers, Today, we run into this issue, after click the button and a new pop up IE window appear, at this new window, we can't see the sources and the IE developer tool bar fail to dig out the element since the VIEW SOURCE is disabled. How to operate such these web elements? or we can

[wtr-general] Re: How to access a child object

2008-10-30 Thread LanOK
I think the watir api is correct. When it was incorrect the exception was like this: NoMethodError: undefined method `object' for #Watir::Frame:0x35021f4 If your exeption like this: Unable to locate element, using :id, flexApp The reason is that watir can't locate the element, and method object

[wtr-general] Re: How to access a child object

2008-10-30 Thread bugs apple
just an line code: Object id=flexapp, onClick = javascript:alert('This is an alert box'); click me 2008/10/30 LanOK [EMAIL PROTECTED] Show your HTML code. Can you make a screenshot of your HTML (like my screenshot in topicstart message) and attach to your next message? With out you HTML

[wtr-general] Re: Consult Urgent Soluation for the View Source is Disabled

2008-10-30 Thread Tony
ooops sorry got your name wrong ... should have been Wiston. :) --~--~-~--~~~---~--~~ 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: Consult Urgent Soluation for the View Source is Disabled

2008-10-30 Thread Tony
Hi Witson, You could attach to the IE pop using the watir attach command and check the source code or show all elements. Or you could disable the javascript and then check the view source of the ie popup window. (view source is disabled using javascript mostly) -Tony

[wtr-general] Re: Problems using visible

2008-10-30 Thread Paul Rogers
the html in the app is way to scary to simplify and post ( goto www.tynt.com and use the try it functionality if youd like to see ) I'll try and post a sample of this though Paul On Thu, Oct 30, 2008 at 1:52 AM, Tony [EMAIL PROTECTED] wrote: Hi Bret, Added the updated code to the ticket.

[wtr-general] Re: How to dynamically execute javascript in firewatir

2008-10-30 Thread sayantam
Hi, Try this: ff.js_eval(var win_all = getWindows(); var target_win = win_all[0]; target_win.content.my_js_func()) where -- ff is the FireWatir::Firefox instance -- There are no other FF instances open. If you have, use the appropriate window index at win_all[index], index starts at 0. --

[wtr-general] Re: Consult Urgent Soluation for the View Source is Disabled

2008-10-30 Thread al3kc
Could you use FF with FireBug to see the source for that window? On Oct 30, 1:35 pm, bugs apple [EMAIL PROTECTED] wrote: Hi, developers, Today, we run into this issue, after click the button and a new pop up IE window appear, at this new window, we can't see the sources and the IE developer

[wtr-general] Not able to extract data from column in table

2008-10-30 Thread Paddy
Hi all, I am trying to extract the data from a particular column in the table. But I am not able to find the table's index,id or name from the following piece of code. Can you please help? Thanks so much! td class=FORMdiv id=t43l1c0input type=checkbox name=checked[0]

[wtr-general] Re: Running in pure Linux shell mode (headless)

2008-10-30 Thread Sergio Oliveira
Thanks Bill ! If I will need a remove windows machine, I would probably be better to execute the whole script in the windows box remotely. But thanks for the direction. I am not a linux person beyond chown and chmod. :-) -Sergio On Thu, Oct 30, 2008 at 2:19 PM, Bill Agee [EMAIL PROTECTED]

[wtr-general] IE.new_process does not work correctly with $HIDE_IE

2008-10-30 Thread Sergio Oliveira
I need to run scripts concurrently, so each one has its own set of cookies, etc. In other words I need isolated sessions so that I can simultaneously log to different gmail accounts for example. As my understanding, the solution for that under Internet Explorer is to open a new process each

[wtr-general] Re: IE.new_process does not work correctly with $HIDE_IE

2008-10-30 Thread Bret Pettichord
I spent some time researching this but could not find a fix. Bret Sergio Oliveira wrote: I need to run scripts concurrently, so each one has its own set of cookies, etc. In other words I need isolated sessions so that I can simultaneously log to different gmail accounts for example.

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-30 Thread Tony
While trying to run a testcase i keep getting an error - This is the script - require 'watir' Watir::Browser.default = 'ie' brow = Watir::Browser.new() brow.goto(http://www.aol.com;) brow.close tried with both firefox and ie and i get the same error watir-common-1.6.0/lib/watir/browser.rb:20:in