Re: [Wtr-general] FireWatir performance and watir on linux

2006-08-22 Thread Angrez Singh
Hi Manish,The slowness of FireWatir is because of sending and recieving of messages using sockets because JSSH works by listening on port 9997.Regards,AngrezOn 8/10/06, Manish Sapariya <[EMAIL PROTECTED]> wrote: Hi,I have proof of concept for clicking on _javascript_ dialog boxes infirefox on linu

Re: [Wtr-general] Using file_field

2006-08-22 Thread Paul Rogers
the browser wont let you put the filename into the field directly - its a security thing. Ive always used winclicker or autoit to fill in the pop op Paul I’m trying to upload a file with Watir and I have an input file and can’t seem to get it to work.  I’ve searched the mailing lists and

[Wtr-general] PeopleSoft & Watir

2006-08-22 Thread Cory
Is anyone using Watir to test PeopleSoft applications? Please let me know, I have a few questions about your success with it. Thanks! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=3720&messageID=10290#1029

[Wtr-general] Using file_field

2006-08-22 Thread tom.dietz
I’m trying to upload a file with Watir and I have an input file and can’t seem to get it to work.  I’ve searched the mailing lists and it sounds like it might not work at all.   Here’s a sample:   HTML:     Watir:   $ie.file_field(:name, “myUpload”).set(‘c:\windows\win.ini’)  

Re: [Wtr-general] Setting Textbox throws unknown

2006-08-22 Thread James
Ahhh. Touche Charley, I should have deciphered that this was only occuring for input elements. Thanks for the info and workaround. -James - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=3607&messageID=102

Re: [Wtr-general] Setting Textbox throws unknown

2006-08-22 Thread Charley Baker
  Actually I can tell you why this is happening, it's related to the issue I was looking at yesterday, ie.element(:id, 'foo') actually searches by Name: http://jira.openqa.org/browse/WTR-77  Both are failing in the locate_input_element method. In the case of the Jira issue mentioned abovegetEleme

Re: [Wtr-general] Setting Textbox throws unknown

2006-08-22 Thread James
Bret, See if you have any trouble with the HTML pasted in the reply up above. with something like: ie.text_field(:id, /username/i).set('wtf') It's likely my env. has issues (installing/uninstalling 1.4 and 1.5 gems several times). This would be a sufficient, simple test to determine if that is

Re: [Wtr-general] login popup problem

2006-08-22 Thread radek
I tried another solution with AutoIt, but still doesn't work. $ie.goto($test_page) # now the login window appear $autoit=WIN32OLE.new("AutoItX3.Control") $autoit.WinWaitActive("title", "" , 3) $autoit.ControlSetText("title", "", "Edit2", "login") $autoit.ControlSetText("title", "", "Edit3", "pass

Re: [Wtr-general] Rows and Columns of a table

2006-08-22 Thread Ravishankar, MG
The error is because of: "table.index" Following should work:   $ie.frame("framename").show_tablesi=1$ie.frame("framename").tables.each do |t| puts t.id# puts t.index puts i puts a = t[1][1].text i +=1end   -Ravi   This e-mail message is being sent solely for use by the intended recipient(s

Re: [Wtr-general] Rows and Columns of a table

2006-08-22 Thread arvind
Hi, I have modified your code. I think it will work: $ie.frame(name:, "framename").show_tables $ie.frame(:name, "framename ").table.each do |t| Arvind - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=3707

Re: [Wtr-general] Submitting a form with multiple submit buttons

2006-08-22 Thread Zeljko Filipin
This worked for me:irb(main):003:0> ie.button(:value, "Save").click=> ""irb(main):004:0> ie.button(:value, "Cancel").click=> "" ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Divs

2006-08-22 Thread Zeljko Filipin
Done.http://jira.openqa.org/browse/WTR-93On 8/21/06, Bret Pettichord < [EMAIL PROTECTED]> wrote:Please log this as a bug in Jira. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Rows and Columns of a table

2006-08-22 Thread sikander
Hi!   I want to display all Rows and columns of the tables which is in a frame along with its id and index. So here is code, but unable to find it properly, as it is giving following “wrong number of arguments (0 for 2)” error. Please correct the following code for my requirement.   $ie

Re: [Wtr-general] Determining if control is hidden

2006-08-22 Thread Zeljko Filipin
What do you mean by hidden? It has "display: none"? Please post your "not hidden" and "hidden" checkbox html.Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general